website/sass/main.scss

69 lines
1.5 KiB
SCSS
Raw Normal View History

@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@300&display=swap');
$sidebar_width: 15%;
2022-03-25 02:13:37 +00:00
$sidebar_background: rgba(45, 45, 45, 1);
$body_background: rgba(30, 30, 30, 1);
$content_background: rgb(35, 35, 35);
2022-03-20 18:24:55 +00:00
body {
margin: 0;
font-family: 'Fira Code', monospace;
// Sidebar
2022-03-20 18:24:55 +00:00
nav {
height: 100%;
position: fixed;
width: $sidebar_width;
2022-03-24 19:27:03 +00:00
background: $sidebar_background;
2022-03-20 18:24:55 +00:00
padding-top: 32px;
2022-03-24 19:27:03 +00:00
padding-bottom: 16px;
border-right-style: solid;
border-width: 2px;
border-color: black;
color: white;
2022-03-20 18:24:55 +00:00
div {
padding: 0 16px 0 16px;
}
img {
width: auto;
}
// Refrence to the tab interface
.tabs {
a {
text-decoration: none;
2022-03-25 03:39:47 +00:00
color: rgb(190, 190, 190);
&:hover {
color: white;
background-color: rgba(40, 40, 40, 0.5);
}
}
}
2022-03-20 18:24:55 +00:00
}
2022-03-25 02:13:37 +00:00
2022-03-20 18:24:55 +00:00
main {
height: 100%;
2022-03-24 19:27:03 +00:00
box-sizing: border-box;
2022-03-20 18:24:55 +00:00
margin-left: $sidebar_width;
2022-03-24 19:27:03 +00:00
background: $body_background;
2022-03-25 02:13:37 +00:00
padding-top: 32px;
color: white;
2022-03-20 18:24:55 +00:00
article {
margin: auto;
2022-03-25 02:13:37 +00:00
border: 1px solid white;
2022-03-25 03:39:47 +00:00
border-radius: 3px;
2022-03-25 02:13:37 +00:00
padding: 13px;
2022-03-25 03:20:33 +00:00
max-width: 1500px;
background: $content_background;
2022-03-20 18:24:55 +00:00
}
}
}
2022-03-24 19:27:03 +00:00
@media screen and (max-width: 1000px) {
@import "mobile.scss";
}