-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
106 lines (94 loc) · 1.51 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
:root{
--color-primary:#2584ff;
--color-secondary:#00d9ff;
--color-accent:#ff3400;
--color-heading:#1b0760;
--color-body:#918ca4;
--color-body-darker: #5c5577;
--border-color:#ccc;
--border-radius: 30px;
}
*,*::after,*::before{
box-sizing: border-box;
}
/* typography */
html{
font-size: 62.5%;
}
body{
font-family: inter,arial,Arial, Helvetica, sans-serif;
line-height: 1.1;
}
h2{
font-size:4rem;
}
h3{
font-size: 3rem;
}
h4{
font-size: 2rem;
}
@media screen and(min-width:1024px){
h2{
font-size:4rem;
}
h3{
font-size: 3rem;
}
h4{
font-size: 2rem;
}
}
h2,h3,h4{
margin-bottom: 1rem;
}
p{
margin-top: 0;
}
/*links */
a{
text-decoration: none;
}
.link-arrow{
color: var(--color-accent);
text-transform: uppercase;
font-size: 2rem;
font-weight: bold;
transition: margin:0.15s;
}
.link-arrow::after{
content: "→";
margin: 5px;
}
.link-arrow:hover::after{
margin: 10px; ;
}
@media screen and(min-width: 1024px){
.link-arrow{
font-size: 1.5rem;
}
}
/* badges */
.badge{
border-radius: 20px;
padding: 0.5rem, 2rem;
font-weight: 600;
white-space: nowrap;
font-size: 2rem;
}
.badge--primary{
background-color: var(--color-primary);
columns: #fff;
}
.badge--secondary{
background-color: var(--color-secondary);
columns: #fff;
}
.badge-small{
font-size:1.6rem;
}
@media screen and(min-width :1024px){
.badge{
font-size: 1.5rem;
}
}