css: Merge responsive.css into main style file

- Eliminate issue with collapsed navbar's drop-down menu text color when the
width is exactly 768px or less than 320px.

- Remove redundant footer's position: relative rule.

Tests performed:

- Change the browser width to 768px, the navbar is not collapsed and drop down
menu text color is black on white background.

- Change the browser width to 767px, the navbar is collapsed and drop down menu
text color is white on blue background.

- Change the browser width to less than 320px, the navbar is collapsed and drop
down menu text color is white on blue background.

- Footer on the main page and remaining pages is unchanged at <320px, =767px and
>= 768px.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
This commit is contained in:
Sunil Mohan Adapa authored and Veiko Aasa committed 2020-03-06 13:08:53 +02:00
1 parent 4e24eca25d
commit b51ccff743
3 files changed
+7 -18

No files matched your search

+7
View File
@@ -293,6 +293,13 @@ footer {
background: transparent;
}
@media screen and (max-width: 767px) {
.main-header.navbar-default .navbar-nav>.open .dropdown-menu > li > a,
.main-header.navbar-default .navbar-nav>.open .dropdown-menu > li > a:hover {
color: #FFF;
}
}
.navbar-default .navbar-toggle .icon-bar {
background-color: #FFF;
}
-17
View File
@@ -1,17 +0,0 @@
/*
# SPDX-License-Identifier: AGPL-3.0-or-later
*/
/* Responsive queries */
/* Smartphone */
@media only screen and (min-width: 320px) and (max-width: 768px) {
footer{
position: relative;
}
.navbar-default .navbar-nav .open .dropdown-menu > li > a,
.navbar-default .navbar-nav .open .dropdown-menu > li > a:hover {
color: #FFF;
}
}