poa-dapps-voting/src/assets/stylesheets/application/_base.scss

106 lines
1.5 KiB
SCSS

html,
body,
p, h1, h2, h3 {
margin: 0;
padding: 0;
font-weight: normal;
}
html {
display: flex;
min-height: 100%;
}
body {
-webkit-font-smoothing: antialiased;
background-color: #ffffff;
box-sizing: border-box;
color: #333;
font-family: 'Nunito', sans-serif;
font-size: 14px;
padding-bottom: $footer-height_desktop;
position: relative;
width: 100%;
@media screen and (max-width: $tablet-width) {
padding-bottom: $footer-height_mobile;
}
@media screen and (max-width: $mobile-width) {
padding-bottom: $footer-height_mobile;
}
}
a {
color: $primary-color;
text-decoration: none;
&:hover {
text-decoration: underline;
}
}
hr {
display: block;
width: 100%;
height: 1px;
margin: 10px 0 30px;
border: 0;
background-color: #e5eef9;
}
.center {
text-align: center;
}
.left {
float: left;
width: 48%;
}
.right {
float: right;
width: 48%;
}
.left,
.right {
@media screen and (max-width: $mobile-width) {
float: none;
width: 100%;
}
}
.hidden {
overflow: hidden;
}
.display-none {
display: none;
}
.container {
width: $container-width;
margin: 0 auto;
box-sizing: border-box;
@media screen and (max-width: $container-width) {
width: 100%;
padding: 0 10px;
}
}
.title {
margin-top: 30px;
margin-bottom: 30px;
color: #38454f;
font-size: 30px;
font-weight: normal;
@media screen and (max-width: $tablet-width) {
font-size: 28px;
}
@media screen and (max-width: $mobile-width) {
font-size: 26px;
}
}