-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
76 lines (61 loc) · 1.34 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
@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');
:root {
--background-color: oklch(93% 0.075 70);
--accent-color: oklch(25% 0.2 305);
font-size: 18px;
@media (min-width: 1250px) {
font-size: 26px;
}
}
html {
width: 100%;
height: 100%;
scroll-behavior: smooth;
background-color: var(--background-color);
body {
margin: 0;
width: 100%;
height: 100%;
color: black;
font-family: 'Rubik', sans-serif;
a {
--link-color: oklch(from var(--accent-color) 0.5 c 260);
color: var(--link-color);
&:visited {
color: oklch(from var(--link-color) l c calc(h + 50))
}
text-underline-offset: 0.15lh;
text-decoration-thickness: 0.1lh;
&:hover,
&:focus {
text-decoration-thickness: 0.15lh;
&:active {
text-decoration-thickness: 0.2lh;
}
}
}
main.page,
article.post {
margin: 0 auto;
max-width: 1320px;
padding: 0rem 1rem;
overflow: hidden;
display: flex;
flex-direction: column;
text-align: justify;
h1,
h2,
h3,
h4,
h5,
h6 {
text-align: center;
color: var(--accent-color);
}
p {
line-height: 1.5rem;
margin: 1.5rem 0;
}
}
}
}