Notes/wwwroot/css/site.css

73 lines
1.0 KiB
CSS
Raw Normal View History

2022-11-29 15:14:15 +00:00
html {
font-size: 14px;
height: 100%;
2022-12-03 02:38:05 +00:00
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
2022-11-29 15:14:15 +00:00
}
@media (min-width: 768px) {
html {
font-size: 16px;
}
}
html {
position: relative;
min-height: 100%;
}
body {
margin: 0;
min-height: 100%;
}
textarea {
width: 100%;
height: 100%;
padding: 15px;
2022-12-01 02:33:41 +00:00
margin: 0;
resize: none;
2022-11-29 15:14:15 +00:00
color: #444;
2022-12-01 02:33:41 +00:00
font-size: 12px;
2023-01-27 01:07:18 +00:00
font-family: Consolas, 'Courier New', monospace;
2022-11-29 15:14:15 +00:00
outline: none;
position: absolute;
box-sizing: border-box;
2022-12-03 02:37:44 +00:00
border-width: 0;
2022-11-29 15:14:15 +00:00
}
2022-12-01 02:33:41 +00:00
2023-01-31 14:35:24 +00:00
.dark textarea {
2022-12-03 02:38:05 +00:00
background-color: #222;
color: #ddd;
}
2023-01-25 13:48:50 +00:00
.toast {
2022-12-01 02:33:41 +00:00
position: fixed;
2023-01-31 14:35:24 +00:00
bottom: 0;
2022-12-01 17:02:58 +00:00
right: 20px;
2022-12-01 02:33:41 +00:00
font-size: 12px;
padding: 10px;
color: #fff;
2023-01-31 14:35:24 +00:00
transition: opacity 0.4s;
opacity: 0;
2022-12-01 02:33:41 +00:00
}
2023-01-25 13:48:50 +00:00
.toast.show {
2023-01-31 14:35:24 +00:00
opacity: 0.8;
2022-12-03 02:38:05 +00:00
}
2023-01-25 13:48:50 +00:00
2023-01-31 14:35:24 +00:00
.dark #saved-indicator {
color: lawngreen;
}
2023-01-25 13:48:50 +00:00
#saved-indicator {
2023-01-31 14:35:24 +00:00
color: green;
}
.dark #update-indicator {
color: orange;
2023-01-25 13:48:50 +00:00
}
#update-indicator {
2023-01-31 14:35:24 +00:00
color: orangered;
2023-01-25 13:48:50 +00:00
}