You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
111 lines
1.3 KiB
SCSS
111 lines
1.3 KiB
SCSS
$primary: #17a;
|
|
|
|
body {
|
|
margin: 0 auto;
|
|
padding: 0;
|
|
font-family: Arial, Helvetica, sans-serif;
|
|
font-size: 1.2em;
|
|
max-width: 800px;
|
|
}
|
|
|
|
#header a, #menu a, #nav a {
|
|
text-decoration: none;
|
|
}
|
|
|
|
#header {
|
|
padding: 1em;
|
|
font-size: 1.5em;
|
|
|
|
a {
|
|
color: $primary;
|
|
}
|
|
|
|
.subtitle {
|
|
font-size: .7em;
|
|
color: #444;
|
|
}
|
|
}
|
|
|
|
#menu ul, #nav ul {
|
|
margin: 0;
|
|
padding: 0;
|
|
list-style-type: none;
|
|
overflow: hidden;
|
|
}
|
|
|
|
#menu {
|
|
background-color: $primary;
|
|
|
|
ul li {
|
|
float: left;
|
|
|
|
&.active a { font-weight: bold; }
|
|
|
|
a {
|
|
display: block;
|
|
padding: .8em;
|
|
color: #fff;
|
|
|
|
&:hover {
|
|
background-color: darken($primary,6);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
#nav {
|
|
display: flex;
|
|
border-bottom: 1px dotted #ccc;
|
|
padding: 1em 0;
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
|
|
|
|
ul {
|
|
min-width: 33.33%;
|
|
|
|
a {
|
|
display: block;
|
|
padding: .5em 1em;
|
|
color: $primary;
|
|
|
|
&.ancestor {
|
|
background-color: #eee;
|
|
}
|
|
|
|
&:hover {
|
|
background-color: #ccc;
|
|
}
|
|
|
|
&.active {
|
|
background-color: $primary;
|
|
color: #fff;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
#main {
|
|
padding: 1.5em;
|
|
line-height: 1.5em;
|
|
text-align: justify;
|
|
|
|
h2, h3, h4, h5, h6, .title {
|
|
margin: 2em 0 1em 0;
|
|
}
|
|
|
|
.title {
|
|
font-size: 1.3em;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.metadata {
|
|
text-align: right;
|
|
}
|
|
|
|
video {
|
|
width: 100%;
|
|
}
|
|
}
|
|
|