-
Notifications
You must be signed in to change notification settings - Fork 0
/
i_chemistry.css
77 lines (59 loc) · 1.02 KB
/
i_chemistry.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
body{
background-color: black;
margin: 0;
padding: 0;
}
h1{
color: white;
text-align: center;
font-size: 400%;
}
a{
color: white;
font-size: 26px;
text-align: center;
text-decoration: none;
display: block;
margin-bottom: 2%;
}
div{
display: block;
width: 80%;
margin-left: auto;
margin-right: auto;
margin-top: 5%;
margin-bottom: 10px;
text-align: center;
}
footer {
color: white;
text-align: center;
padding: 20px;
position: fixed;
bottom: 0;
width: 100%;
background-color: black;
}
@media (max-width: 768px) {
h1{
font-size: 30px;
padding: 4%;
}
a{
display: block;
margin-bottom: 20px;
font-size: 18px;
}
}
@keyframes colorTransition {
0% {
color: rgb(76, 224, 76);
}
100% {
color: rgb(243, 13, 13);
}
}
a {
display: inline-block;
animation: colorTransition 2s infinite alternate; /* Adjust duration and animation behavior */
}