Skip to content

Commit 1db55dd

Browse files
committed
docs: improve responsive design for the cover
1 parent b731a96 commit 1db55dd

File tree

1 file changed

+26
-15
lines changed

1 file changed

+26
-15
lines changed

docs/assets/styles.css

Lines changed: 26 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -75,11 +75,16 @@
7575
.cover .feature-text {
7676
font-size: 16px;
7777
line-height: 1.4;
78+
text-align: left;
7879
margin: 0;
7980
}
8081

8182
/* Media queries for responsive design */
8283
@media screen and (max-width: 768px) {
84+
.cover img {
85+
width: 250px;
86+
}
87+
8388
.cover .buttons {
8489
gap: 15px;
8590
}
@@ -109,21 +114,7 @@
109114
}
110115
}
111116

112-
@media screen and (max-width: 480px) {
113-
.cover .buttons {
114-
flex-direction: column;
115-
align-items: center;
116-
gap: 12px;
117-
}
118-
119-
.cover .buttons a {
120-
padding: 8px 16px;
121-
font-size: 0.9rem;
122-
width: 80%;
123-
max-width: 200px;
124-
text-align: center;
125-
}
126-
117+
@media screen and (max-width: 576px) {
127118
.cover .features-list {
128119
max-width: 95%;
129120
grid-gap: 4px;
@@ -144,6 +135,26 @@
144135
}
145136
}
146137

138+
@media screen and (max-width: 480px) {
139+
.cover img {
140+
width: 200px;
141+
}
142+
143+
.cover .buttons {
144+
flex-direction: column;
145+
align-items: center;
146+
gap: 12px;
147+
}
148+
149+
.cover .buttons a {
150+
padding: 8px 16px;
151+
font-size: 0.9rem;
152+
width: 80%;
153+
max-width: 200px;
154+
text-align: center;
155+
}
156+
}
157+
147158
/* Additional styles for the sidebar */
148159
.sidebar .app-name-link img {
149160
max-width: 50%;

0 commit comments

Comments
 (0)