github.io/assets/main.scss

104 lines
1.4 KiB
SCSS
Raw Normal View History

body {
background-color: rgb(18, 20, 21);
color: lime;
}
footer {
padding: 1rem 3rem;
}
figure {
max-width: 42%;
min-width: 13%;
float: right;
margin: 0 16px;
text-align: center;
figcaption {
font-style: italic;
}
img {
max-width: 100%;
}
}
#content {
main {
background-color: rgb(24, 26, 27);
margin: 3% 10%;
padding: 3%;
article {
max-width: 90%;
}
}
2022-08-18 13:41:11 +00:00
a:hover .heading {
text-decoration: underline;
color: cyan;
}
a {
2022-08-18 13:41:11 +00:00
min-height: 48px;
min-width: 48px;
text-decoration: none;
color: cyan;
}
2022-08-18 13:41:11 +00:00
a article {
color: lime;
}
}
2022-08-18 13:41:11 +00:00
ul.contents {
.heading {
font-size: 2rem;
margin: 0;
}
list-style-image: url(data:0);
list-style-type: none;
padding: 0;
}
#navbar {
background-color: #222;
ul {
2022-08-18 13:41:11 +00:00
li#right {
float: right;
}
li {
a:hover {
background-color: #333;
}
display: inline;
float: left;
}
list-style-type: none;
overflow: hidden;
padding: 0;
margin: 0;
}
a {
text-decoration: none;
text-align: center;
padding: 14px 16px;
display: block;
color: lime;
}
}
#lang-menu {
ul {
background-color: #222;
position: absolute;
display: none;
z-index: 1;
}
a {
display: block;
}
}
#lang-menu:hover ul {
display: block;
}
.block p {
margin: 0;
}