-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
129 lines (119 loc) · 2.72 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css");
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@700&display=swap");
/*Body*/
body {
margin: 0;
background: linear-gradient(180deg, #004f74 0%, #000000 100%);
overflow: hidden;
min-height: 100vh;
}
a:link { text-decoration: none; }
a:visited { text-decoration: none; }
a:hover { text-decoration: none; }
a:active { text-decoration: underline; }
body h1 {
font-family: 'Montserrat', sans-serif;
font-size: 8vmax;
color: #29bbff;
text-align: center;
margin-top: 0px;
margin-bottom: 0px;
position: relative;
top: 30vh;
}
body h2 {
font-family: 'Montserrat', sans-serif;
font-size: 1.36vmax;
letter-spacing: 0.23vmax;
color: #008dce;
text-align: center;
margin-top: 0px;
margin-bottom: 0px;
position: relative;
top: 30vh;
}
#button-container {
position: absolute; /* Absolute positioning */
left: 50%; /* Center horizontally */
bottom: 35vh;
transform: translate(-75%, -75%); /* Adjust for exact centering */
width: 6vw; /* Auto width based on content */
}
#button1 {
width: 8vmax;
height: 5vmin;
background-color: black;
border: 1px solid #008dce;
border-radius: 5px;
padding: 7px;
color: #008dce;
font-family: 'Montserrat', sans-serif;
font-size: 0.9vmax;
text-align: center;
cursor: pointer;
}
#button1:hover {
background-color: #29bbff;
color: black;
}
#github {
position: absolute; /* Absolute positioning */
width: 2.4vw;
height: 2.4vw;
right: 2vh;
bottom: 2vh;
transform: translate(-50%, -50%); /* Adjust for exact centering */
opacity: 0.7;
}
#github:hover {
opacity: 1;
}
/*Info Icon*/
i[data-tooltip] {
position: relative;
cursor: pointer;
font-size: 1vw;
}
i[data-tooltip]::after {
content: attr(data-tooltip);
width: max-content;
position: absolute;
left: 0;
bottom: 0;
background-color: rgba(0, 0, 0, 0.8);
padding: 4px 8px;
border-radius: 4px;
color: white;
transform: scale(0);
transition: 0.2s ease-in-out;
}
i[data-tooltip]:hover::after {
transform: scale(1);
left: 0%;
}
#info-div {
position: absolute;
bottom: 3vh;
left: 3vh;
display: block;
color: white;
}
i {
color: white;
opacity: 0.55;
cursor: pointer;
}
#bestoverall {
font-family: 'Georgia', serif;
font-size: 0.95vmax;
letter-spacing: 0.05vmax;
color: #cacaca;
opacity: 0.7;
text-align: center;
margin-top: 0px;
margin-bottom: 0px;
position: absolute;
transform: translate(-50%, -50%); /* Adjust for exact centering */
left: 50%;
bottom: 4vh;
}