-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
77 lines (63 loc) · 1.15 KB
/
styles.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
/* COLORS */
:root{
--black: #243046;
/* --white: #EEE7EA; */
--white: #F0F0F0;
}
/* TYPOGRAPHY */
html {font-size: 100%;}
body {
font-family: 'Roboto', sans-serif;
font-weight: 400;
line-height: 1.5;
}
h1, h2 {
margin: 1rem 0px 1.2rem 0px;
font-weight: 700;
line-height: 1.2;
}
h1 {font-size: 3rem;}
h2 {font-size: 1.4rem;}
a{
color:var(--white);
text-decoration-thickness: 1px;
text-underline-offset: 2px;
}
a:hover {opacity: 0.8;}
p {
margin-top:0px;
margin-bottom: 1rem;
}
ul{
padding-left:2rem;
}
/* STRUCTURE */
body{
background-color: var(--black);
color: var(--white);
margin: 6% 8%;
}
main{
width:100%;
}
/* MOBILE STRUCTURE */
@media only screen and (max-width: 800px) {
body{margin:12% 4%;}
li{
margin-bottom: 1.2rem;
line-height:1.2;
}
}
/* PRINT FORMAT */
@media print{
@page :footer {display: none;}
@page :header {display: none;}
@page {
size:auto;
margin: 2%;
}
:root{
--black: #FFFFFF;
--white: #243046;
}
}