-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
103 lines (84 loc) · 1.47 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
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
html {
box-sizing: border-box;
}
*,
*:before,
*:after {
box-sizing: inherit;
}
html, body {
margin: 0;
padding: 0;
height: 100%;
font-family: 'Roboto', sans-serif;
font-size: xx-large;
transition: all 0.3s ease;
}
.light {
background-color: #f9f9f9;
color: #272727;
}
.dark {
background-color: #222831;
color: #eeeeee;
}
#main {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100vh;
}
.light-mode-selector {
width: 1.5em;
height: 1.5em;
position: absolute;
top: 1em;
right: 1em;
transition: all 0.3s ease;
background-color: transparent;
}
.light-mode-selector.light {
fill: #272727;
}
#light-mode.dark {
display: none;
}
#dark-mode.light {
display: none;
}
.light-mode-selector.dark {
fill: #eeeeee;
}
.light-mode-selector:hover {
transform: scale(1.2);
cursor: pointer;
}
#name {
font-size: 3em;
}
.icon {
width: 3em;
height: 3em;
margin-right: 0.5em;
margin-left: 0.5em;
transition: all 0.3s ease;
}
.icon.light {
fill: #272727;
}
.icon.dark {
fill: #eeeeee;
}
.icon:hover {
transform: scale(1.2);
}
.icon-link {
text-decoration: none;
}
@media screen and (max-width: 600px) {
body {
font-size: large;
}
}