Notes/wwwroot/css/site.css

58 lines
910 B
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;
2022-11-29 15:14:15 +00:00
font-family: Consolas;
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
2022-12-03 02:38:05 +00:00
textarea.dark {
background-color: #222;
color: #ddd;
}
2022-12-01 02:33:41 +00:00
#saved-indicator {
position: fixed;
bottom: -40px;
2022-12-01 17:02:58 +00:00
right: 20px;
2022-12-01 02:33:41 +00:00
font-size: 12px;
background-color: green;
padding: 10px;
border-radius: 10px 10px 0 0;
color: #fff;
transition: bottom 0.2s;
}
2022-12-03 02:38:05 +00:00
#saved-indicator.show {
bottom: 0;
}