Improve and repair css

This commit is contained in:
L3D 2019-05-25 21:17:01 +02:00
parent 5c5d7c0496
commit 0b65bf5470
Signed by: l3d
GPG key ID: CD08445BFF4313D1
5 changed files with 22 additions and 4 deletions

View file

@ -46,7 +46,8 @@ $palette: (
accent2: #272833, accent2: #272833,
accent2-transparent:rgba(39, 40, 51, 0.965), accent2-transparent:rgba(39, 40, 51, 0.965),
accent1: #E64F2D, accent1: #E64F2D,
accent4: #D74126 accent4: #D74126,
nav-accent: rgb(230, 79, 45),
); );
//pictures startpage //pictures startpage

View file

@ -95,7 +95,7 @@
} }
.image { .image {
border-radius: 0%; border-radius: 0;
display: inline-block; display: inline-block;
height: 18em; height: 18em;
margin-left: 3em; margin-left: 3em;
@ -112,7 +112,7 @@
} }
img { img {
border-radius: 0%; border-radius: 0;
display: block; display: block;
width: 100%; width: 100%;
} }

View file

@ -67,6 +67,20 @@ input[type="button"],
} }
} }
&.nav {
background-color: _palette(nav-accent);
box-shadow: none;
color: _palette(fg-bold) !important;
&:hover {
background-color: lighten(_palette(nav-accent), 5);
}
&:active {
background-color: darken(_palette(nav-accent), 5);
}
}
&.disabled, &.disabled,
&:disabled { &:disabled {
background-color: _palette(border) !important; background-color: _palette(border) !important;

View file

@ -15,7 +15,7 @@
&.major { &.major {
background: _palette(accent2); background: _palette(accent2);
border-radius: 0%; border-radius: 100%;
cursor: default; cursor: default;
display: inline-block; display: inline-block;
height: 6em; height: 6em;

View file

@ -58,6 +58,9 @@
} }
&.lightgallery { &.lightgallery {
width: 33%; width: 33%;
height: 200pt;
object-fit: cover;
@include breakpoint(tablet) { @include breakpoint(tablet) {
width: 49%; width: 49%;
} }