News responsive

This commit is contained in:
Chocobozzz 2019-09-23 15:38:03 +02:00
parent 7e4a007057
commit 27db753a82
No known key found for this signature in database
GPG key ID: 583A612D890159BE
2 changed files with 17 additions and 6 deletions

View file

@ -55,14 +55,17 @@
margin-bottom: 30px; margin-bottom: 30px;
} }
.navbar-collapse.collapse.show { .navbar-collapse {
background-color: #fff; &.collapsing,
&.show {
padding-top: 20px;
.nav-item { .nav-item {
margin-right: 0; margin-right: 0;
margin-top: 5px; margin-top: 5px;
} }
} }
}
.navbar-brand { .navbar-brand {
@include disable-default-a-behaviour; @include disable-default-a-behaviour;
@ -78,7 +81,7 @@
} }
nav { nav {
height: 60px; min-height: 60px;
background-color: #fff; background-color: #fff;
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2); box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2);
} }

View file

@ -371,6 +371,14 @@
.body { .body {
margin-top: 40px; margin-top: 40px;
} }
a {
word-break: break-word;
}
@media screen and (max-width: $small-screen) {
padding: 10px;
}
} }
</style> </style>