Skip to content

Commit 791b805

Browse files
authored
Merge pull request #48 from scylladb/fix-responsive
fix: homepage responsive view
2 parents 51fdf37 + afa42ad commit 791b805

File tree

1 file changed

+30
-4
lines changed

1 file changed

+30
-4
lines changed

docs/_static/css/custom.css

+30-4
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,40 @@
44
margin-bottom: 0;
55
}
66

7+
.landing__content .alert a {
8+
color: #fff;
9+
}
10+
11+
12+
.side-nav__title,
13+
.landing__content .alert{
14+
display: none;
15+
}
16+
17+
.hero__img {
18+
top: -20px;
19+
}
20+
21+
22+
@media screen and (min-width: 460px) {
23+
.hero__img {
24+
top: 20px;
25+
}
26+
}
27+
728
@media screen and (min-width: 640px) {
829
.hero__title {
930
max-width: 550px;
1031
}
32+
33+
1134
}
1235

13-
@media screen and (max-width: 1020px) {
14-
.side-nav__title{
15-
display: none;
16-
}
36+
@media screen and (min-width: 1020px) {
37+
38+
.side-nav__title,
39+
.landing__content .alert {
40+
display: flex;
41+
}
42+
1743
}

0 commit comments

Comments
 (0)