-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
130 lines (115 loc) · 2.55 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
130
body {
margin: 0;
padding: 0;
font-family: 'Quattrocento', serif;
overflow-x: hidden;
}
#splash-screen {
height: 100vh;
background-color: #203320;
display: grid;
gap: 1vw;
grid-template-columns: 1fr 1fr 1fr;
grid-template-rows: 12vh 40vh 25vh 20vh;
padding: 1vw;
}
#topbar {
grid-column: 1 / -1;
font-family: 'DM Serif Display', serif;
font-size: 3.5vh;
color: #FFE3E0;
text-align: center;
margin-top: -6vh; /* Adjusted to move title closer to top */
}
#splash-desc {
grid-column: 1 / 3;
font-size: 6vh;
color: #FFE3E0;
word-break: break-word;
}
#actions {
grid-column: 3 / -1;
display: flex;
align-items: center;
justify-content: flex-start;
}
/* From Uiverse.io by Creatlydev */
.button {
line-height: 1;
text-decoration: none;
display: inline-flex;
border: none;
cursor: pointer;
align-items: center;
gap: 0.75rem;
background-color: var(--clr);
color: #203320;
border-radius: 10rem;
font-weight: 600;
padding: 0.75rem 1.5rem;
padding-left: 20px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
transition: background-color 0.3s;
}
.button__icon-wrapper {
flex-shrink: 0;
width: 25px;
height: 25px;
position: relative;
color: var(--clr);
background-color: #fff;
border-radius: 50%;
display: grid;
place-items: center;
overflow: hidden;
}
.button:hover {
background-color: #2c2c2c;
color: #fff
}
.button:hover .button__icon-wrapper {
color: #000;
}
.button__icon-svg--copy {
position: absolute;
transform: translate(-150%, 150%);
}
.button:hover .button__icon-svg:first-child {
transition: transform 0.3s ease-in-out;
transform: translate(150%, -150%);
}
.button:hover .button__icon-svg--copy {
transition: transform 0.3s ease-in-out 0.1s;
transform: translate(0);
}
/* News section styling */
#news-section {
grid-column: 1 / -1;
display: flex;
justify-content: space-around;
align-items: center;
padding-top: 2vh;
}
.news-card {
width: 18vw;
height: 20vh;
background-color: #FFE3E0;
color: #203320;
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
font-size: 2vh;
font-family: 'Quattrocento', serif;
text-align: center;
margin: 0 0.5vw; /* Reduced margin between cards */
}
#content {
width: 100%;
height: auto;
padding: 2vh 4vw;
background-color: #f4f4f4;
display: block;
}