cas-eleves/cas_eleves/scss/style.scss

154 lines
2.7 KiB
SCSS
Raw Normal View History

2020-03-24 12:12:58 +01:00
@charset "utf-8";
@import "fonts.css";
@import "_mixins";
@import "_params";
@import "_forms";
html {
box-sizing: border-box;
}
*, *:before, *:after {
box-sizing: inherit;
}
body {
background-color: $page_bg_color;
font-size: $font_size;
font-family: $font_family;
color: $page_text_color;
margin: 0;
display: flex;
flex-direction: column;
align-items: center;
min-height: 100vh;
2020-03-24 15:38:37 +01:00
@media (max-width: $responsive_mid_threshold) {
font-size: $mid_font_size;
}
@media (max-width: $responsive_small_threshold) {
font-size: $small_font_size;
display: flex;
align-items: center;
justify-content: space-evenly;
}
2020-03-24 12:12:58 +01:00
}
header {
display: flex;
justify-content: space-between;
align-items: stretch;
margin: 0;
margin-bottom: 50px;
padding: 20px 30px;
padding-bottom: 0;
width: $page_width;
2020-03-24 15:38:37 +01:00
@media (max-width: $responsive_mid_threshold) {
width: $page_mid_width;
}
@media (max-width: $responsive_small_threshold) {
display: none;
}
2020-03-24 12:12:58 +01:00
#headtext {
display: flex;
flex-direction: column;
align-items: end;
justify-content: space-evenly;
font-size: 1.2em;
color: $secondary_color;
font-weight: bold;
}
2020-03-24 15:38:37 +01:00
}
2020-03-24 12:12:58 +01:00
2020-03-24 15:38:37 +01:00
.logo {
height: $logo_height;
max-width: $logo_maxwidth;
}
#ens_logo_foot {
display: none;
@media (max-width: $responsive_small_threshold) {
display: block;
margin: 30px;
2020-03-24 12:12:58 +01:00
}
}
main {
background-color: $page_main_color;
border: 3px solid $main_border_color;
border-radius: $main_border_radius;
padding: 15px;
2020-03-24 15:38:37 +01:00
width: $page_width;
@media (max-width: $responsive_mid_threshold) {
width: $page_mid_width;
}
@media (max-width: $responsive_small_threshold) {
width: 90%;
}
2020-03-24 12:12:58 +01:00
h2 {
2020-03-24 15:38:37 +01:00
font-size: 1.2em;
@media (max-width: $responsive_small_threshold) {
font-size: 1.1em;
}
2020-03-24 12:12:58 +01:00
text-align: center;
color: $secondary_color;
}
}
a {
text-decoration: underline;
color: $page_link_color;
border-radius: 3px;
&:hover {
color: darken($page_link_color, 20%);
}
}
:focus {
outline: none;
box-shadow: 0 0 1.5px 1px $page_link_color;
}
::-moz-focus-inner {
border: none;
}
button, .btn_row a {
@include button;
margin: 10px 5px;
p {
margin: 0;
}
}
.messages {
list-style-type: none;
margin: 10px 0;
padding: 0;
font-size: 0.8em;
li {
margin: 8px 0;
}
}
.error { @include error_box; }
.info { @include info_box; }
.warning { @include warning_box; }
.success { @include success_box; }
.antispam {
unicode-bidi: bidi-override;
direction: rtl;
}