-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
87 lines (87 loc) · 1.46 KB
/
style.css
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
* {
font-family: 'Open Sans', sans-serif;
color: #525252;
}
body {
margin: 0;
padding: 0;
}
header {
position: fixed;
top: 0px;
left: 0px;
right: 0px;
background-color: rgba(55,65,65,0.8);
box-shadow: 0 0 8px rgba(0,0,0,0.4);
}
header h1 {
display: block;
margin: 8px 32px;
padding: 0 16px;
border-left: solid 3px #a00;
font-size: 24px;
font-weight: 100;
color: #fff;
}
main {
display: grid;
margin: 72px;
grid-template-areas: 'h2 h2 h2 aside_1'
'article_0 article_0 article_0 aside_1'
'footer_2 footer_2 footer_2 footer_2';
grid-column-gap: 10px;
text-align: top;
}
main h2 {
grid-area: h2;
}
article {
grid-area: article_0;
}
article p {
margin: 8px;
padding: 8px;
}
aside {
grid-area: aside_1;
padding: 0 32px;
}
aside h3 {
display: block;
margin: 8px;
padding: 4px 8px;
border-bottom: solid 1px #727272;
}
section {
background-color: #f2f2f2;
margin: 8px;
padding: 16px;
border-radius: 16px;
box-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}
footer {
grid-area: footer_2;
background-color: #000;
margin: 0;
padding: 32px;
font-size: 16px;
text-align: center;
}
footer p {
color: #fff !important;
}
footer p a {
display: inline-block;
margin: 8px;
padding: 8px;
background-color: #525252;
text-decoration: none;
color: #fff !important;
}
footer p a:hover {
text-decoration: underline;
}
footer p a img {
vertical-align: middle;
margin-left: 16px;
}