-
Notifications
You must be signed in to change notification settings - Fork 0
/
fancy.css
121 lines (106 loc) · 1.62 KB
/
fancy.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
115
116
117
118
119
120
121
html
{
text-align: center;
font-family: 'Noto Sans', sans-serif;
line-height: 1.5;
overflow-x: hidden;
}
h1, h2
{
text-decoration: none;
position: relative;
}
h1:after, h2:after
{
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 0%;
border-bottom: 2px solid #BBCCEE;
animation-name: underline-effect;
animation-duration: 3s;
animation-iteration-count: infinite;
animation-timing-function: ease;
}
a {
padding-top: 15px;
color: inherit;
}
a:visited {
color: inherit;
}
a:hover {
opacity: .5;
}
img {
width: 200px;
margin: 20px;
border-radius: 200px;
margin-top: -10px;
margin-right: -10px;
}
@keyframes underline-effect
{
0% {left: 0%; width: 0%;}
20% {left: 0%; width: 40%; border-bottom: 2px solid #660000; }
40% {left: 30%; width: 40%; border-bottom: 2px solid #006600; }
60% {left: 60%; width: 40%; border-bottom: 2px solid #000066; }
80% {left: 110%; width: 0%;}
100% {left: 110%; width: 0%;}
}
.container
{
display: flex;
justify-content: center;
margin-top: -30px;
}
.container-item
{
padding-bottom: 10px;
padding-left: 10px;
padding-right: 10px;
}
.left-align
{
text-align: left;
justify-content: left;
padding-left: 5vw;
}
.padding
{
min-width: 20vw;
max-width: 20vw;
}
.lightmode
{
background: #ded4c0;
color: black;
}
.darkmode
{
background: #22262b;
color: white;
}
.modeToggle
{
position: absolute;
right: 10px;
top: 10px;
border: none;
background: none;
width: 30px;
height: 25px;
padding: 0px;
margin: 0px;
}
.modeToggle:hover
{
opacity: .5;
cursor: pointer;
}
#lightdark
{
width: 20px;
height: 20px;
}