site/src/styles/header.css

67 lines
2.2 KiB
CSS
Raw Normal View History

2020-01-22 18:49:42 +03:00
/* ------ navbar ------------------------------ */
.navbar { height: 80px; }
2020-02-14 17:14:23 +03:00
a.nav-link { margin-top: 25px; max-height: 62px; color: white; }
2020-01-22 18:49:42 +03:00
a.nav-link:hover { background-color: rgb(20, 142, 161); }
a.nav-link a:hover { color: white; text-decoration: none; }
2020-02-08 16:47:15 +03:00
a[aria-current="page"] {
2020-01-22 18:49:42 +03:00
color: white;
background-color: rgb(20, 142, 161);
2020-02-14 17:14:23 +03:00
padding-top: 12px; }
a.nav-link a#active { color: white; background-color: rgb(20, 142, 161); }
2020-01-22 18:49:42 +03:00
a.nav-link a {
padding: 12px;
color: rgb(212, 212, 212);
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
transition: 0s; }
/* ------------------------------------------- */
2020-01-15 17:45:50 +03:00
2020-01-22 18:49:42 +03:00
/* -------------- logo ----------------------- */
img#logo { opacity: 0.7; margin-top: 20px;}
2020-01-20 15:48:48 +03:00
img#logo:hover { opacity: 1;}
2020-02-08 16:47:15 +03:00
a[aria-current="page"] img#logo { opacity: 1; margin-top: 20px; background-color: rgb(52,58,64); }
2020-01-22 18:49:42 +03:00
/* ------------------------------------------- */
2020-01-15 17:45:50 +03:00
2020-01-20 15:48:48 +03:00
/* ----- collapse show ---------------------- */
2020-01-22 18:49:42 +03:00
@media(max-width: 769px) {
2020-01-23 22:21:19 +03:00
img#logo { margin: 0 0px 0 20px; }
2020-01-22 18:49:42 +03:00
a.nav-link a#active {
color: white;
background-color: rgb(20, 142, 161);
padding-top: 11px;
2020-02-08 16:47:15 +03:00
padding-bottom: 12px; }
2020-01-22 18:49:42 +03:00
}
button.navbar-toggler.collapsed { margin-top: 0px; margin-left: 15px; }
2020-02-14 17:14:23 +03:00
button.navbar-toggler { margin-top: 0px; margin-left: 15px; }
2020-01-22 18:49:42 +03:00
div#basic-navbar-nav.navbar-collapse.collapse.show {
2020-01-20 15:48:48 +03:00
width: 100px;
2020-01-19 01:52:07 +03:00
text-align: center;
2020-02-14 17:14:23 +03:00
background-color: rgb(52,58,64);
margin-top: -0px; }
2020-01-22 18:49:42 +03:00
button.navbar-toggler { background-color: rgb(20, 142, 161); }
2020-01-20 15:48:48 +03:00
div#navbarSupportedContent.navbar-collapse.collapse.show img#logo{ margin: auto; }
/* ------------------------------------------- */
2020-01-19 01:52:07 +03:00
2020-01-15 17:45:50 +03:00
#navbarSupportedContent {
width: 100%;
max-width: 1880px;
padding: 0;
line-height: 30px;
max-height: 56px;
text-align: left; }
.container {
max-width: 1160px;
width: 100%;
margin: 0;
padding: 0; }
2020-02-08 16:47:15 +03:00
@media (max-width: 769px) {
a[aria-current="page"] img#logo { margin-top: 0; margin-left: 0; padding-left: 15px }
a[aria-current="page"] { padding-top: 0 }
2020-02-14 17:14:23 +03:00
button.navbar-toggler { margin-top: 15px; }
2020-02-08 16:47:15 +03:00
}