aotds-docks/public/global.css

108 lines
1.7 KiB
CSS
Raw Normal View History

2020-07-28 15:48:15 +00:00
:root {
--font-scale-9: 0.75rem;
--font-scale-10: 1em;
--font-scale-11: 1.333rem;
--font-scale-12: 1.777rem;
--font-scale-13: 2.369rem;
--font-scale-14: 3.157rem;
--font-scale-15: 4.209rem;
2020-07-28 16:13:04 +00:00
--oxford-blue: hsla(226, 60%, 10%, 1);
--royal-blue-dark: hsla(218, 100%, 16%, 1);
--indigo-dye: hsla(209, 95%, 24%, 1);
--cg-blue: hsla(193, 80%, 35%, 1);
--white: hsla(20, 60%, 99%, 1);
--main-width: 60em;
2020-07-19 20:21:28 +00:00
}
2020-07-28 15:48:15 +00:00
small {font-size: var(--font-scale-9); }
h1 {
2020-07-28 16:13:04 +00:00
margin: 0px;
padding: 0px;
2020-07-28 15:48:15 +00:00
font-size: var(--font-scale-14);
}
2020-07-19 20:21:28 +00:00
html, body {
position: relative;
width: 100%;
height: 100%;
}
body {
2020-07-28 16:13:04 +00:00
background-color: var(--white);
2020-07-19 20:21:28 +00:00
color: #333;
margin: 0;
padding: 8px;
box-sizing: border-box;
2020-07-28 17:26:08 +00:00
font-family: "Dosis", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
2020-07-19 20:21:28 +00:00
}
a {
color: rgb(0,100,200);
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
a:visited {
color: rgb(0,80,160);
}
label {
display: block;
}
input, button, select, textarea {
font-family: inherit;
font-size: inherit;
padding: 0.4em;
margin: 0 0 0.5em 0;
box-sizing: border-box;
border: 1px solid #ccc;
border-radius: 2px;
}
input:disabled {
color: #ccc;
}
input[type="range"] {
height: 0;
}
button {
color: #333;
background-color: #f4f4f4;
outline: none;
}
button:disabled {
color: #999;
}
button:not(:disabled):active {
background-color: #ddd;
}
button:focus {
border-color: #666;
}
2020-07-28 17:26:08 +00:00
/* ---- inputs --- */
input, select {
border: 0px;
border-bottom: 1px solid var(--indigo-dye);
}
input:focus, select:focus {
border: 1px solid var(--indigo-dye);;
}