demarches-normaliennes/app/assets/stylesheets/accessibilite.scss

33 lines
577 B
SCSS
Raw Normal View History

2018-02-26 14:42:56 +01:00
$default-space: 15px;
2018-02-27 16:25:32 +01:00
$new-p-margin-bottom: 3 * $default-space;
2018-02-26 14:42:56 +01:00
.accessibilite {
width: 1040px;
margin: 0 auto;
padding-top: $default-space * 2;
2018-02-27 16:25:32 +01:00
padding-bottom: $default-space * 2;
2018-02-26 14:42:56 +01:00
ul {
list-style-type: disc;
2018-02-27 16:25:32 +01:00
margin-top: -($default-space * 2);
2018-02-26 14:42:56 +01:00
}
}
2018-02-27 16:25:32 +01:00
.new-p {
margin-bottom: $new-p-margin-bottom;
}
// A class to make elements only accessible to screen-readers
.sr-only {
position: absolute;
width: 1px;
height: 1px;
opacity: 0;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: none;
}