-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.scss
126 lines (105 loc) · 1.65 KB
/
style.scss
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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
@import "vendor/normalize.css";
@import "fonts/jost.css";
$black: #191919;
$navy: #2D4263;
$red: #C84B31;
$beige: #ECDBBA;
* {
font-family: "Jost", sans-serif;
color: $black;
}
body {
background-color: $beige;
font-size: 1.125rem;
}
a {
text-decoration: none;
cursor: pointer;
color: $navy;
&:hover {
text-decoration: underline;
}
}
.header-inner {
width: 960px;
max-width: calc(100vw - 2rem);
margin: 0 auto;
display: flex;
justify-content: space-between;
padding-top: 1rem;
padding-bottom: 1rem;
nav {
.link:not(:last-child) {
margin-right: 0.75rem;
}
}
}
.link {
font-weight: bold;
font-size: 1.5rem;
color: $black;
}
.main {
width: 960px;
max-width: calc(100vw - 2rem);
margin: 0 auto;
padding-top: 1rem;
}
.footer-link {
display: inline-flex;
font-size: 1rem;
color: $black;
&:not(:last-child) {
margin-right: 0.5rem;
}
svg {
font-size: 1rem;
margin-right: 3px;
}
}
.footer {
border-top: 1px solid $black;
padding-top: 0.5rem;
margin-top: 1rem;
padding-bottom: 1rem;
}
h1 {
margin: 0;
font-size: 1.875rem;
line-height: 2.25rem;
}
h2 {
letter-spacing: 0.05em;
text-transform: uppercase;
font-weight: 700;
line-height: 1.75rem;
margin-top: 2.5rem;
margin-bottom: 1rem;
}
ul {
list-style: none;
padding-left: 1rem;
}
.article-item {
a {
font-size: 1.125rem;
display: block;
margin-bottom: 0.4rem;
}
time {
font-size: 0.8rem;
}
p {
font-size: 1rem;
margin-top: 0.2rem;
margin-bottom: 2rem;
}
}
.post-title {
margin-bottom: 0;
color: $navy;
}
.post-info {
margin-top: 0;
font-size: 0.75rem;
}