1
0
mirror of https://github.com/DanilaFe/abacus synced 2024-11-10 12:49:52 -08:00
Abacus/docs/assets/css/main.scss

120 lines
1.8 KiB
SCSS
Raw Normal View History

---
---
2017-08-14 23:42:17 -07:00
@import url('https://fonts.googleapis.com/css?family=Source+Code+Pro|Open+Sans|Raleway');
2017-08-14 22:36:26 -07:00
2017-08-15 00:31:47 -07:00
$background-color: #19d69e;
2017-08-14 22:58:32 -07:00
$code-color: #efefef;
2017-08-14 22:36:26 -07:00
$accent-color: #00AFE8;
$clear-color: white;
$title-font: "Open Sans";
2017-08-15 00:31:47 -07:00
$text-font: Helvetica;
2017-08-14 23:42:17 -07:00
$code-font: "Source Code Pro";
2017-08-14 22:36:26 -07:00
$max-width: 850px;
2017-08-15 00:31:47 -07:00
a {
text-decoration: none;
color: $background-color;
&.button {
display: inline-block;
2017-08-15 00:31:47 -07:00
background-color: $background-color;
color: $clear-color;
padding: 10px;
text-decoration: none;
border-radius: 2px;
margin: 10px;
transition: background-color .25s;
&:hover {
background-color: $clear-color;
color: $background-color;
}
&.inverted {
background-color: $clear-color;
color: $background-color;
&:hover {
background-color: $background-color;
color: $clear-color;
}
}
}
}
2017-08-14 22:36:26 -07:00
h1, h2, h3, h4, h5, h6 {
font: {
family: $title-font;
}
}
h1 {
font-size: 50px;
}
nav {
box-sizing: border-box;
background-color: $clear-color;
width: 100%;
padding: 20px;
a {
text-decoration: none;
color: $background-color;
2017-08-14 22:46:39 -07:00
font-size: 20px;
margin-right: 10px;
&.primary-link {
font-size: 30px;
margin-right: 20px;
2017-08-14 22:36:26 -07:00
}
&:hover {
color: $accent-color;
}
transition: color .25s;
}
}
body {
background-color: $background-color;
font: {
family: $text-font;
}
margin: 0px;
}
.center {
box-sizing: border-box;
width: 100%;
max-width: $max-width;
@media (min-width: $max-width) {
margin: {
left: auto;
right: auto;
}
}
}
.content {
margin-top: 20px;
padding: 30px;
background-color: $clear-color;
}
2017-08-14 22:58:32 -07:00
code {
background-color: $code-color;
display: inline-block;
padding: 5px;
2017-08-14 23:42:17 -07:00
font-family: $code-font;
2017-08-14 22:58:32 -07:00
pre & {
padding: 10px;
display: block;
width: 100%;
}
}