-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.css
More file actions
65 lines (65 loc) · 1.19 KB
/
main.css
File metadata and controls
65 lines (65 loc) · 1.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
@import url('https://fonts.googleapis.com/css?family=Work+Sans');
body {
font-family: 'Open Sans', sans-serif;
background-color: #fafbfc;
background-image: url("./DSC_0239.jpg");
text-align: center;
z-index: 10;
margin: 0;
width: 100%;
height: 100vh;
overflow: hidden;
display: flex;
align-items: center;
flex-direction: column;
background-size: cover;
}
html{
width:100%;
}
hr {
padding:0px;
size:0px;
}
#header-picture{
position: absolute;
z-index: -3;
max-width: 100%;
left: 0;
top: 0;
}
#my-name{
color: white;
font-family: 'Work Sans', sans-serif;
font-size: 5em;
padding: 5px;
transition: background-color .5s;
border-radius: 3px;
user-select: none;
}
.content{
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;
font-size: 1.25em;
width: 25em;
padding: 1em 5em;
min-height: 3em;
border:1px solid #cccccc;
border-radius: 10px;
position:relative;
background-color: rgba(255,255,255,.8);
z-index:11;
box-shadow: 2px 2px 2px rgba(255,255,255,.25);
transition: background-color .6s;
}
#content:hover{
background-color: rgba(255,255,255);
transition: background-color 1s;
}
#content p{
padding-left:2em;
text-align: left;
font-size:14px;
}