File: /home/frenchy/www/french-american.org/current/app/assets/scss/_common.scss
*,
*::before,
*::after {
box-sizing: inherit;
}
::selection {
color: #fff;
background: $color-primary;
}
::-moz-selection {
color: #fff;
background: $color-primary;
}
html {
box-sizing: border-box;
color: $color-font;
background-color: $color-background;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-rendering: auto;
}
html,
body {
min-height: 100%;
}
body {
overflow-x: hidden;
font-family: $font-primary !important;
}
.container {
width: 100%;
max-width: $container-width !important;
margin: auto;
&.container--small {
padding-right: rem(10px);
padding-left: rem(10px);
@include media(">=lg") {
padding-right: rem(165px);
padding-left: rem(165px);
}
}
}
.aligncenter {
text-align: center;
}
.alignright {
text-align: center;
@include media(">=md") {
text-align: right;
}
}
.alignleft {
text-align: center;
@include media(">=md") {
text-align: left;
}
}
.alignwide {
margin-right: rem(-50px) !important;
margin-left: rem(-50px) !important;
}
.alignfull {
position: relative !important;
right: 50% !important;
left: 50% !important;
width: 100vw !important;
margin-right: -50vw !important;
margin-left: -50vw !important;
}