235 lines
3.6 KiB
SCSS
235 lines
3.6 KiB
SCSS
body {
|
|
background-color: #f9fafc;
|
|
margin: 0;
|
|
font-family: Verdana, Geneva, Tahoma, sans-serif;
|
|
}
|
|
|
|
.header {
|
|
width: 100%;
|
|
height: 50px;
|
|
color: black;
|
|
|
|
.page-center {
|
|
display: flex;
|
|
flex-direction: row;
|
|
height: 100%;
|
|
}
|
|
|
|
.logo {
|
|
display: flex;
|
|
height: 100%;
|
|
width: fit-content;
|
|
color: black;
|
|
text-decoration: none;
|
|
|
|
.logo-icon {
|
|
height: 100%;
|
|
aspect-ratio: 1/1;
|
|
}
|
|
|
|
.logo-icon::before {
|
|
background-image: url("../img/news.svg");
|
|
width: 30px;
|
|
height: 30px;
|
|
}
|
|
|
|
.logo-title {
|
|
font-size: 2rem;
|
|
text-align: center;
|
|
margin: auto;
|
|
}
|
|
}
|
|
|
|
.navigation {
|
|
margin: 0 0 0 auto;
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: row;
|
|
|
|
a {
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: row;
|
|
padding: 1rem;
|
|
box-sizing: border-box;
|
|
color: black;
|
|
text-decoration: none;
|
|
|
|
span {
|
|
margin: auto;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.page-center {
|
|
width: 1080px;
|
|
max-width: 1080px;
|
|
margin: 0 auto;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.page {
|
|
min-height: 700px;
|
|
}
|
|
|
|
.button {
|
|
background-color: #0072ff;
|
|
border-radius: 5px;
|
|
color: white;
|
|
min-width: 130px;
|
|
border: transparent;
|
|
transition: filter ease-in-out 0.1s;
|
|
padding: 0.3rem;
|
|
box-sizing: border-box;
|
|
text-decoration: none;
|
|
}
|
|
.button:hover {
|
|
cursor: pointer;
|
|
filter: brightness(80%);
|
|
}
|
|
.button.bad {
|
|
background-color: #e70404;
|
|
}
|
|
.button.caution {
|
|
background-color: #6d6d6c;
|
|
}
|
|
.button.disabled {
|
|
filter: contrast(50%);
|
|
filter: brightness(50%);
|
|
cursor: default;
|
|
}
|
|
|
|
.atom-feed::before {
|
|
background-image: url("/img/rss.svg");
|
|
}
|
|
.json::before {
|
|
background-image: url("/img/json.svg");
|
|
}
|
|
|
|
.footer {
|
|
.page-center {
|
|
display: flex;
|
|
flex-direction: row;
|
|
text-align: center;
|
|
margin-top: 2rem;
|
|
|
|
* {
|
|
width: fit-content;
|
|
margin: auto;
|
|
a {
|
|
margin-bottom: 0.5rem;
|
|
color: black;
|
|
text-decoration: none;
|
|
}
|
|
}
|
|
|
|
.resources {
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: calc(100% * (1 / 3));
|
|
}
|
|
|
|
.info {
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: calc(100% * (1 / 3));
|
|
}
|
|
}
|
|
}
|
|
|
|
.icon {
|
|
display: flex;
|
|
}
|
|
.icon::before {
|
|
content: "";
|
|
display: inline-block;
|
|
width: 20px;
|
|
height: 20px;
|
|
background-size: contain;
|
|
margin: auto 5px auto auto;
|
|
}
|
|
|
|
.separator {
|
|
border-bottom: 2px solid #b3b3b3;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.rich-text-editor {
|
|
.controls {
|
|
width: 100%;
|
|
min-height: 10px;
|
|
background-color: #dbd8d8;
|
|
display: flex;
|
|
flex-direction: row;
|
|
|
|
a {
|
|
box-sizing: border-box;
|
|
margin: 0.1rem;
|
|
cursor: pointer;
|
|
background-color: #dbd8d8;
|
|
display: flex;
|
|
flex-direction: row;
|
|
width: 2rem;
|
|
height: 2rem;
|
|
|
|
span {
|
|
margin: auto;
|
|
}
|
|
}
|
|
|
|
a:hover,
|
|
a:focus {
|
|
filter: brightness(80%);
|
|
}
|
|
|
|
.left {
|
|
margin: 0 auto 0 0;
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: row;
|
|
}
|
|
|
|
.right {
|
|
margin: 0 0 0 auto;
|
|
display: flex;
|
|
flex-direction: row;
|
|
|
|
a {
|
|
padding: 2px;
|
|
box-sizing: border-box;
|
|
display: flex;
|
|
flex-direction: row;
|
|
|
|
img {
|
|
height: 20px;
|
|
margin: auto;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
textarea {
|
|
border-radius: 0 0 5px 5px;
|
|
min-width: 100%;
|
|
max-width: 100%;
|
|
box-sizing: border-box;
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 1280px) {
|
|
.page-center {
|
|
width: 95%;
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 760px) {
|
|
.post-list-container .post-list {
|
|
width: 100%;
|
|
}
|
|
.tag-list {
|
|
display: none;
|
|
}
|
|
}
|