web2019/sass/css/_base.scss

118 lines
1.8 KiB
SCSS

/**
* Basic styling
*/
body {
font: $base-font-weight #{$base-font-size}/#{$base-line-height} $base-font-family;
color: $text-color;
background-color: $background-color;
-webkit-text-size-adjust: 100%;
-webkit-font-feature-settings: "kern" 1;
-moz-font-feature-settings: "kern" 1;
-o-font-feature-settings: "kern" 1;
font-feature-settings: "kern" 1;
font-kerning: normal;
display: flex;
min-height: 100vh;
flex-direction: column;
}
figcaption {
font-size: $small-font-size;
}
/**
* Lists
*/
ul, ol {
margin-left: $spacing-unit;
}
li {
> ul,
> ol {
margin-bottom: 0;
}
}
/**
* Headings
*/
h1, h2, h3, h4, h5, h6 {
font-weight: $big-font-weight;
line-height: 1.1;
}
/**
* Links
*/
a {
color: $btn-primary-2;
text-decoration: underline;
&:hover {
color: $btn-secondary-2;
text-decoration: none;
}
}
.navbar-light .navbar-nav .nav-link,
.dropdown-item {
outline: none;
color: $color-primary;
text-decoration: none;
&:visited {
color: $color-primary;
}
&:hover {
color: $color-secondary;
}
}
/**
* Custom
*/
.shadow.th {
-webkit-box-shadow: 0px 2px 8px 0px rgba(218,218,218,1) !important;
-moz-box-shadow: 0px 2px 8px 0px rgba(218,218,218,1) !important;
box-shadow: 0px 2px 8px 0px rgba(218,218,218,1) !important;
}
.card {
border: 1px solid transparent;
}
.dropdown-menu {
border: none;
margin-top: 12px;
}
.dropdown-item {
&:hover {
background-color: transparent;
}
}
.btn-primary {
background-color: $btn-primary-2;
color: #fff !important;
border: 1px solid $btn-primary-2 !important;
text-decoration: none;
&:hover {
background-color: $btn-secondary-2;
border: 1px solid $btn-secondary-2 !important;
}
}
.btn-lg {
font-size: 1rem;
padding: 1rem 1.25rem;
}