Home banner button style

This commit is contained in:
datalets 2019-08-12 20:20:21 +02:00
parent ae7a478a2a
commit 594e6869ef
2 changed files with 33 additions and 29 deletions

View file

@ -52,35 +52,6 @@ $slider-nav: 200px;
}
}
// Home page intro link as button
#banner .rich-text h4 a:active {
border: none;
opacity: 1.0;
background: #eee;
border-bottom: 0px;
border-right: 0px;
border-top: 2px solid lightgrey;
border-left: 2px solid lightgrey;
}
#banner .rich-text h4 a:hover {
color: #2643C9;
opacity: 0.9;
background: white;
text-shadow: 2px 2px 4px lightgrey;
}
#banner .rich-text h4 a {
text-decoration: none;
font-weight: 600;
background: whitesmoke;
padding: 1em;
text-shadow: 2px 2px 4px white;
border-bottom: 1px solid darkblue;
border-right: 1px solid darkblue;
border-top: 1px solid lightgrey;
border-left: 1px solid lightgrey;
color: darkblue;
}
// Language menu hack, until this is configurable
.language-nav a[lang='en'] { display: none; }

View file

@ -217,3 +217,36 @@ $gallery-height: 550px;
.carousel-inner { margin-bottom: 0px; }
}
}
// Home page intro link as button
#banner .rich-text h4 {
text-align: center;
}
#banner .rich-text h4 a:active {
border: none;
opacity: 1.0;
background: #eee;
border-bottom: 0px;
border-right: 0px;
border-top: 2px solid lightgrey;
border-left: 2px solid lightgrey;
}
#banner .rich-text h4 a:hover {
color: #2643C9;
opacity: 0.9;
background: white;
text-shadow: 2px 2px 4px lightgrey;
}
#banner .rich-text h4 a {
text-decoration: none;
font-weight: 600;
background: whitesmoke;
padding: 1em;
text-shadow: 2px 2px 4px white;
border-bottom: 1px solid darkblue;
border-right: 1px solid darkblue;
border-top: 1px solid lightgrey;
border-left: 1px solid lightgrey;
color: darkblue;
}