grav-theme-future2021/assets/css/custom.css
pmoreno.rodriguez b5621e7728 Version 1.0.2
2022-11-08 21:42:43 +01:00

84 lines
No EOL
1.7 KiB
CSS

/* Styles for Back to Top button */
#back-to-top {
display: inline-block;
font-family: 'Font Awesome 5 Free';
font-weight: 400;
font-style: normal;
font-size: 1.5em;
line-height: 1.5em;
background-color: #ab1d35;
color: #fff;
width: 1.5em;
height: 1.5em;
text-align: center;
border-radius: 4px;
position: fixed;
bottom: 30px;
right: 30px;
transition: background-color .3s,
opacity .5s, visibility .5s;
opacity: 0;
visibility: hidden;
z-index: 1000;
}
#back-to-top:hover {
cursor: pointer;
background-color: #333;
color:#fff !important;
}
#back-to-top:active,
#back-to-top:visited {
background-color: #ab1d35 !important;
color: #fff;
}
#back-to-top.show {
opacity: 1;
visibility: visible;
}
/* Styles for Langswitcher plugin */
#header .main ul li.langswitcher > a {
text-decoration: none;
border-bottom: 0;
color: #838383;
text-indent: 0em;
text-align: center;}
@media screen and (max-width: 736px) {
#header .main ul li.langswitcher {
display: none; } }
/* Styles to show Font Awesome 5 Free in shortcode core notices */
.sc-notice > div:before {
position: absolute;
top: 2px;
color: #fff;
font-family: 'Font Awesome 5 Free';
content: '\f05a';
left: 10px;
}
/* Styles to support svg images in search results */
.search-row {
display: flex;
align-items: top;
}
.search-image img {
overflow:hidden;
width: 100px;
height: 100px;
object-fit: cover;
object-position: 0 100%;
}
@media only all and (max-width: 47.938em) {
.search-image img {display:none;}
}
.search-item {
margin-left: 30px;
margin-bottom: 50px;
}