/
font.css
114 lines (96 loc) · 1.63 KB
/
font.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
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
/* Set the font-family to chomsky like this. font-family: Chomsky, cursive; */
@font-face {
font-family: chomsky;
src: url(Chomsky.otf);
}
html {
font-size: 140%;
}
body {
font-family: sans-serif;
background-color: #FFFFFD;
margin: 32px;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: 'Bebas Neue', cursive;
font-weight: normal;
margin: 0;
}
p {
font-family: serif;
font-size: 16px;
text-align: justify;
margin: 0;
padding: 4px 8px;
box-sizing: border-box;
}
header {
margin: 22px 0;
display: flex;
justify-content: space-between;
align-items: center;
}
header h1 {
font-family: Chomsky, cursive !important;
font-size: 92px;
}
header div:first-child {
margin-left: 8vw;
}
header div:last-child {
margin-right: 8vw;
}
header div {
padding: 12px;
border: 2px solid;
}
nav {
padding: 8px 0;
border-top: 1px solid;
border-bottom: 1px solid;
display: flex;
justify-content: space-between;
}
section {
display: flex;
align-content: space-between;
text-align: justify;
}
article {
margin-top: 18px;
}
#side-article {
display: flex;
flex-direction: column;
flex-wrap: wrap;
flex-basis: 800px;
max-height: 1000px;
flex-shrink: .3;
overflow: hidden;
padding-right: 4px;
border-right: 1px solid;
margin-right: 10px;
}
#side-article *{
width: 50%;
}
#side-article h3{
text-align: center;
}
#main-article{
margin-top: 12px;
}
#main-article h2{
text-align: center;
margin-bottom: 10px;
font-size: 82px;
line-height: 80%;
}
#main-article img{
width: 100%;
}