publik-base-theme/static/cnil/_custom.scss

181 lines
2.8 KiB
SCSS

body {
background: $nav-background;
@media screen and (max-width: $mobile-limit) {
background: white;
}
h1, h2, h3 {
font-family: $title-font-family;
}
}
header {
background: white;
border-top: 40px solid #444444;
@media screen and (max-width: $mobile-limit) {
border-top: 0;
}
h1#logo {
padding: 40px 0;
@media screen and (max-width: $mobile-limit) {
padding: 50px 0;
}
a {
display: block;
margin: 0 auto;
width: 275px;
height: 52.25px;
background: url(img/logo_CNIL.png) no-repeat;
background-size: cover;
text-indent: -10000px;
}
}
#toplinks {
border: none;
}
}
nav {
text-align: center;
@media screen and (max-width: $mobile-limit) {
text-align: left;
}
div.gru-nav > ul > li a {
font-weight: normal;
&:hover {
text-decoration: underline;
}
}
@media screen and (max-width: $mobile-limit) {
div.gru-nav-wrapper {
background: transparent;
}
}
}
#main-content {
background: white;
box-sizing: border-box;
padding: 10px;
font-size: 18px;
a:hover {
text-decoration: underline
}
}
footer {
margin-top: 30px;
@media screen and (max-width: $mobile-limit) {
margin-top: 0;
}
a {
color: white;
&:hover {
color: #4796ec;
text-decoration: underline;
}
}
}
div#title-section {
text-align: center;
h1 {
font-family: $title-font-family;
font-size: 40px;
color: #333;
text-align: center;
font-weight: bold;
&::after {
content: '';
height: 3px;
width: 170px;
display: block;
margin: 30px auto 10px auto;
background: $gray;
}
}
}
div#steps {
ol {
display: flex;
justify-content: center;
li {
position: relative;
text-align: center;
display: flex;
flex-direction: column;
margin-bottom: 0;
span.marker {
position: relative;
z-index: 100;
order: 1;
margin: 0 auto;
font-size: 120%;
font-weight: bold;
background: #c6bfa5;
color: white;
width: 50px;
height: 50px;
line-height: 50px;
border-radius: 50px;
}
span.label {
order: 0;
padding-bottom: 10px;
font-size: 80%;
text-transform: uppercase;
height: 2rem;
}
&.current {
span.marker {
background: $lightblue;
}
span.label {
font-weight: normal;
}
}
&::after {
content: '';
display: block;
height: 3px;
background: #c6bfa5;
width: 100%;
position: absolute;
z-index: 10;
bottom: 35px;
left: 50%;
}
&.last::after {
content: none;
}
}
}
}
div.tracking-code-part {
text-align: center;
h3, a {
font-size: 100%;
display: inline-block;
}
}
form.quixote {
h3, h4 {
clear: both;
margin: 25px 0;
text-align: left;
font-size: 32px;
font-weight: normal;
line-height: 40px;
color: #333333;
}
h4 {
font-size: 28px;
}
div.buttons {
text-align: center;
}
}