Notes/wwwroot/css/site.css
2023-07-10 13:24:31 -04:00

98 lines
1.6 KiB
CSS

html {
font-size: 14px;
height: 100%;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
@media (min-width: 768px) {
html {
font-size: 16px;
}
}
html {
position: relative;
min-height: 100%;
}
body {
margin: 0;
min-height: 100%;
}
div.note-names {
position: fixed;
bottom: 5px;
left: 0;
font-size: 14px;
opacity: 0.5;
}
div.note-names a {
color: #666;
padding-left: 10px;
text-decoration: none;
}
div.note-names a.current {
font-weight: bold;
}
div .note-names a:not(:last-of-type) {
border-right: 1px solid #666;
}
textarea {
width: 100%;
height: 100%;
padding: 15px;
margin: 0;
resize: none;
color: #444;
font-size: 12px;
font-family: Consolas, 'Courier New', monospace;
outline: none;
position: absolute;
box-sizing: border-box;
border-width: 0;
}
body.dark, body.dark input, body.dark textarea {
background-color: #222;
color: #ddd;
}
.toast {
position: fixed;
bottom: -30px;
right: 25px;
font-size: 11px;
padding: 6px;
color: #fff;
transition: bottom 0.3s;
opacity: 0.8;
border-radius: 5px 5px 0 0;
}
.toast.show {
bottom: 0;
}
.toast#saved-indicator {
background-color: green;
}
.toast#update-indicator {
background-color: orangered;
}
form input[type=password] {
display: block;
margin: 20px auto;
font-size: 20px;
padding: 8px;
border: 1px solid #999;
border-radius: 4px;
color: #999;
}