/
styles.css
85 lines (72 loc) · 1.5 KB
/
styles.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
/* Global styles */
html {
font-size: 16px;
}
body {
margin: 0;
background-image: linear-gradient(180deg, rgb(255, 11, 202), rgba(0, 204, 255, 0.411));
background-repeat: no-repeat;
background-attachment: fixed;
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
@media only screen and (max-width: 768px) {
body {
padding: 1rem;
}
}
/* Social icons */
.icons a {
text-decoration: none;
}
.icons img {
padding: 2rem 1rem;
width: 4rem;
height: 4rem;
transition: transform 0.2s;
}
@media only screen and (max-width: 768px) {
.icons img {
padding: 2rem 0.5rem;
height: 3.3rem;
width: 3.3rem;
}
}
.icons img:hover {
transform: scale(1.5);
}
/* Titles and subtitles */
.titles a {
color: rgb(243, 243, 243);
text-align: center;
font-size: 6rem;
}
.titles .subtitle {
text-align: center;
font-size: 2rem;
}
@media only screen and (max-width: 768px) {
.titles a {
font-size: 4rem; /* Adjust font size for smaller screens */
}
.titles .subtitle {
font-size: 1rem; /* Adjust font size for smaller screens */
}
}
/* Disclaimer */
.disclaimer a {
color: white;
}
/* Animation */
@keyframes fadeDown {
0% {
opacity: 0;
transform: translateY(-100px);
}
100% {
opacity: 1;
transform: translateY(0);
}
}
center {
animation: fadeDown 1s;
}