Notes/wwwroot/css/site.css

111 lines
1.7 KiB
CSS
Raw Normal View History

2022-11-29 10:14:15 -05:00
html {
font-size: 14px;
height: 100%;
2022-12-02 21:38:05 -05:00
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
2022-11-29 10:14:15 -05:00
}
@media (min-width: 768px) {
html {
font-size: 16px;
}
}
html {
position: relative;
min-height: 100%;
}
body {
margin: 0;
min-height: 100%;
}
2023-05-12 12:38:13 -04:00
div.note-names {
position: fixed;
2023-05-12 12:47:50 -04:00
bottom: 5px;
2023-05-12 12:38:13 -04:00
left: 0;
2023-05-17 21:44:41 -04:00
font-size: 14px;
opacity: 0.5;
2023-05-12 12:38:13 -04:00
}
2024-12-16 15:22:03 -05:00
div.note-names a {
color: #666;
padding-left: 10px;
text-decoration: none;
}
2023-05-12 12:38:13 -04:00
2024-12-16 15:22:03 -05:00
div.note-names a.current {
font-weight: bold;
}
2023-05-17 21:44:41 -04:00
2024-12-16 15:22:03 -05:00
div .note-names a:not(:last-of-type) {
border-right: 1px solid #666;
}
2023-05-12 12:38:13 -04:00
2022-11-29 10:14:15 -05:00
textarea {
width: 100%;
height: 100%;
padding: 15px;
2022-11-30 21:33:41 -05:00
margin: 0;
resize: none;
2022-11-29 10:14:15 -05:00
color: #444;
2022-11-30 21:33:41 -05:00
font-size: 12px;
2023-01-26 20:07:18 -05:00
font-family: Consolas, 'Courier New', monospace;
2022-11-29 10:14:15 -05:00
outline: none;
position: absolute;
box-sizing: border-box;
2022-12-02 21:37:44 -05:00
border-width: 0;
2022-11-29 10:14:15 -05:00
}
2022-11-30 21:33:41 -05:00
2024-12-16 15:22:03 -05:00
body.dark,
body.dark input,
body.dark textarea {
2023-01-31 21:19:09 -05:00
background-color: #222;
color: #ddd;
}
2022-12-02 21:38:05 -05:00
2023-01-25 08:48:50 -05:00
.toast {
2022-11-30 21:33:41 -05:00
position: fixed;
2023-01-31 21:19:09 -05:00
bottom: -30px;
right: 25px;
font-size: 11px;
padding: 6px;
2022-11-30 21:33:41 -05:00
color: #fff;
2023-01-31 21:19:09 -05:00
transition: bottom 0.3s;
2023-01-31 21:21:40 -05:00
opacity: 0.8;
2023-01-31 21:19:09 -05:00
border-radius: 5px 5px 0 0;
2022-11-30 21:33:41 -05:00
}
2024-12-16 15:22:03 -05:00
.toast.show {
bottom: 0;
}
2023-01-25 08:48:50 -05:00
2024-12-16 15:22:03 -05:00
.toast#saved-indicator {
background-color: green;
}
2023-01-25 08:48:50 -05:00
2024-12-16 15:22:03 -05:00
.toast#update-indicator {
background-color: orangered;
}
2024-12-16 15:22:03 -05:00
form input[type=password],
button {
display: block;
2024-12-16 15:22:03 -05:00
width: 100%;
max-width: 300px;
margin: 20px auto;
font-size: 20px;
padding: 8px;
2024-12-16 15:22:03 -05:00
border: 1px solid #fff;
border-radius: 4px;
2024-12-16 15:22:03 -05:00
}
form input[type=password] {
color: #999;
}
2024-12-16 15:22:03 -05:00
form button {
cursor: pointer;
color: #fff;
background-color: #009E60;
}