publik-base-theme/static/univ-avignon/_custom.scss

127 lines
2.0 KiB
SCSS

@import '../includes/fonts/source-sans-pro';
div.cell, .block {
h1 {
@extend %title;
font-size: 36px;
border-bottom: 1px solid rgb(221, 221, 221);
margin-left: 1rem;
margin-right: 1rem;
padding-left: 0;
padding-right: 0;
}
h2 {
@extend %title;
}
&:not(.foldable) {
h2::after {
width: 2.65em;
height: 0.2em;
content: "";
display: block;
margin-top: 0.7em;
background: $primary-color;
}
}
h3 {
@extend %title;
}
}
// header and navigation
#logo {
@media screen and ($max-mobile-viewport) {
padding-left: 0;
}
}
#logo.has-logo a {
display: block;
width: 100%;
background-position: center;
background-size: 80px 80px;
padding-top: 60px;
padding-bottom: 60px;
@media screen and ($min-desktop-viewport) {
background-size: 120px 120px;
padding-top: 80px;
padding-bottom: 80px;
}
}
//
#header-wrapper {
background-color: $transparent-red;
background-image: url(img/frise.png);
width: 100%;
@media screen and ($max-mobile-viewport) {
margin-bottom: 2em;
}
}
#nav-wrapper {
background-color: $nav-background;
#nav > ul {
text-align: center;
margin-top: 0;
li {
font-weight: 400;
font-size: 0.778em;
line-height: 3.071em;
}
}
}
// search {
.gru-content .search-cell {
background-color: transparent;
border: none;
}
.combo-search--button {
margin-left: -1em;
.combo-search--button-label {
display: none;
}
&::before {
content: '\f002';
font-family: FontAwesome;
font-size: 1em;
display: inline-block;
vertical-align: middle;
}
}
// general layout
div#main-content-wrapper {
max-width: 65em;
}
.form-content--body, .form-content--sidebox {
border: $cell-border;
padding: 1em;
background: $cell-background;
}
#footer-wrapper {
a {
color: white;
}
}
.gru-content .wcsformsofcategorycell.has-asset-picture.cell {
$picture-height: 100px;
position: relative;
margin-top: $picture-height + 20px;
picture {
position: absolute;
top: -$picture-height;
width: 100%;
img {
height: $picture-height;
margin: 0 auto;
}
}
}