Skip to content

Commit c9b73c7

Browse files
committed
Update styles
1 parent ffa9cbe commit c9b73c7

File tree

1 file changed

+26
-7
lines changed

1 file changed

+26
-7
lines changed

docs/css/styles.css

Lines changed: 26 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ p {
5353
transition: transform 0.3s ease, box-shadow 0.3s ease;
5454
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
5555
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
56+
white-space: nowrap;
57+
text-align: center;
5658
}
5759

5860
.btn:hover {
@@ -70,13 +72,18 @@ p {
7072
padding: 20px;
7173
border-radius: 15px;
7274
margin-bottom: 40px;
73-
-webkit-backdrop-filter: blur(12px); /* Safari support */
75+
-webkit-backdrop-filter: blur(12px);
7476
backdrop-filter: blur(12px);
7577
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
78+
display: flex;
79+
flex-wrap: wrap;
80+
justify-content: space-between;
81+
align-items: center;
82+
gap: 15px;
7683
}
7784

7885
.about .btn.back-to-hub {
79-
float: right;
86+
float: none;
8087
}
8188

8289
.features {
@@ -92,7 +99,7 @@ p {
9299
border-radius: 15px;
93100
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
94101
transition: transform 0.3s ease;
95-
-webkit-backdrop-filter: blur(12px); /* Safari support */
102+
-webkit-backdrop-filter: blur(12px);
96103
backdrop-filter: blur(12px);
97104
}
98105

@@ -110,7 +117,9 @@ footer {
110117
padding: 15px;
111118
font-size: 0.9em;
112119
background: rgba(47, 0, 87, 0.5);
113-
width: 100%;
120+
width: 100vw;
121+
margin-left: calc(-50vw + 50%);
122+
position: relative;
114123
box-sizing: border-box;
115124
color: #fff;
116125
margin-top: auto;
@@ -143,9 +152,15 @@ footer a:hover {
143152
p {
144153
font-size: 1em;
145154
}
155+
.about {
156+
flex-direction: column;
157+
gap: 10px;
158+
align-items: stretch;
159+
}
146160
.btn {
147-
padding: 12px 25px;
148-
font-size: 1em;
161+
width: 100%;
162+
box-sizing: border-box;
163+
text-align: center;
149164
}
150165
.container {
151166
padding: 20px 10px;
@@ -166,8 +181,12 @@ footer a:hover {
166181
p {
167182
font-size: 0.9em;
168183
}
184+
.about {
185+
padding: 15px;
186+
}
169187
.btn {
170-
padding: 10px 20px;
188+
width: 100%;
189+
text-align: center;
171190
}
172191
.container {
173192
padding: 15px 5px;

0 commit comments

Comments
 (0)