gaisen/static/style/main.css

130 lines
1.9 KiB
CSS
Raw Normal View History

2024-02-24 05:46:16 +00:00
body {
2024-02-24 12:38:56 +00:00
/*padding: 20px;*/
2024-02-24 05:46:16 +00:00
background-color: #191919;
color: white;
font-family: monospace;
2024-02-24 12:38:56 +00:00
/*margin-bottom: 100px;*/
min-height: 100vh;
margin: 0px;
2024-02-24 05:46:16 +00:00
}
2024-02-24 12:38:56 +00:00
h1, h2 {
2024-02-24 05:46:16 +00:00
color: orange;
}
2024-02-24 12:38:56 +00:00
h3, h4 {
color: gray;
}
2024-02-24 05:46:16 +00:00
a {
text-decoration: none;
color: orange;
}
a:hover {
color: #191919;
background-color: orange;
}
2024-02-24 12:38:56 +00:00
hr {
border: none;
border-bottom: 1px solid #444;
margin: 0px;
}
2024-02-24 05:46:16 +00:00
input {
border: 1px solid black;
background-color: white;
}
2024-02-24 12:38:56 +00:00
body > footer {
2024-02-24 05:46:16 +00:00
background-color: black;
position: fixed;
left: 0;
bottom: 0;
width: calc(100vw - 20px);
padding: 10px;
text-align: center;
overflow: hidden;
}
ul {
2024-02-24 12:38:56 +00:00
margin: 0px;
padding-left: 10px;
2024-02-24 05:46:16 +00:00
padding-bottom: 0px;
list-style-type: none;
}
2024-02-24 12:38:56 +00:00
li {
margin-top: -2px;
margin-bottom: -1px;
2024-02-24 05:46:16 +00:00
}
2024-02-24 12:38:56 +00:00
body > main {
display: flex;
min-height: 100vh;
}
body > main > * > *:not(hr) {
padding: 20px;
}
body > main hr {
width: 100%;
}
body > main > nav {
background-color: black;
}
2024-02-24 05:46:16 +00:00
nav {
display: flex;
flex-direction: column;
2024-02-24 12:38:56 +00:00
border-right: 1px solid #444;
2024-02-24 05:46:16 +00:00
width: 200px;
}
article {
flex-grow: 1;
2024-02-24 12:38:56 +00:00
display: flex;
flex-direction: column;
2024-02-24 05:46:16 +00:00
}
2024-02-24 12:38:56 +00:00
article > main {
flex-grow: 1;
}
2024-02-24 05:46:16 +00:00
pre {
background-color: #000;
color: #DDD;
padding: 10px;
padding-left: 20px;
}
.grayed {
color: gray;
}
2024-02-24 05:46:16 +00:00
.editor-toolbar {
border-top: 0px solid #444;
border-left: 0px solid #444;
border-right: 0px solid #444;
border-radius: 0px;
}
.EasyMDEContainer .CodeMirror {
border: 1px solid #444;
}
.editor-toolbar .fa {
color: white;
}
.editor-toolbar button.active,
.editor-toolbar button:hover {
background-color: black;
}
.CodeMirror {
color: white;
background-color: black;
}
.CodeMirror-cursor {
border-left: 2px solid gray;
}