docs-v2/assets/styles/layouts/_global.scss

76 lines
1.4 KiB
SCSS

$rubik: 'Rubik', sans-serif;
$roboto: 'Roboto', sans-serif;
$roboto-mono: 'Roboto Mono', monospace;
// Font weights
$medium: 500;
$bold: 700;
html {
height: 100%;
background: $body-bg;
}
body {
min-height: 100%;
font-family: 'Rubik', sans-serif;
background: radial-gradient(circle at 100% 0%, $body-gradient-top 0%, $body-gradient-bottom) 30%;
background-repeat: no-repeat;
background-attachment: fixed;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
* {
box-sizing: border-box;
}
a {
transition: all .2s;
}
.page-wrapper {
display: flex;
flex-grow: 1;
}
/// Styles for the placeholder homepage only viewalbe with running locally ///
.home-placeholder {
max-width: 480px;
padding: 0 1.5rem;
margin: 20vh auto 0;
color: $article-text;
text-align:center;
font-style:italic;
.welcome {
text-align:center;
font-weight: bold;
color: $article-heading;
font-size: 1.1rem;
}
p {
margin-top: 1rem;
line-height: 1.25rem;
}
a {
color: $article-link;
font-weight: bold;
text-decoration: none;
&:hover {
color: $article-link-hover;
}
}
}
////////////////////////////////////////////////////////////////////////////////
///////////////////////////////// MEDIA QUERIES ////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
@include media(medium) {
.page-wrapper {
flex-direction: column;
}
}