-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
96 lines (84 loc) · 1.31 KB
/
Copy pathstyle.css
File metadata and controls
96 lines (84 loc) · 1.31 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
/*reset*/
* {
margin: 0;
padding: 0;
font-size: 100%;
box-sizing: border-box;
}
/*reset*/
img {
width: 120px;
height: 120px;
border-radius: 50%;
padding: 1px;
background-color: #666;
margin-top: -75px;
filter: grayscale(50%);
transition: all 0.5s ease-in-out;
}
body {
background: url("https://i.imgur.com/8d6OdC5.jpg") no-repeat center center fixed;
background-size: cover;
display: flex;
align-items: center;
justify-content: center;
height: 100%;
}
ul {
list-style-type: none;
}
li {
display: inline;
margin: 10px;
}
section {
text-align: center;
}
.content {
background-color: hsla(0, 0%, 100%, .5);
border-radius: 4px;
box-shadow: hsla(0, 0%, 0%, .8) 10px 10px 80px;
width: 35%;
max-width: calc(100vw - 10px);
margin-top: 10%;
}
@media (max-width: 1280px) {
.content {
width: 50%;
margin-bottom: 5rem;
}
}
@media (max-width: 900px) {
.content {
width: 60%;
padding-top: 2rem;
margin-bottom: 5rem;
}
}
.header,
.main {
width: 90%;
margin: 0 auto;
padding: 10px;
}
h1 {
font-size: 150%;
}
h2 {
font-size: 125%;
text-align: center;
}
.header {
text-align: center;
}
img:hover {
transform: scale(1.15);
filter: grayscale(10%);
}
.story {
padding: 15px;
}
.main {
padding: 5% 10%;
border-top: 1px solid hsla(0, 0%, 30%, .8);
}