90 lines
1.3 KiB
CSS
90 lines
1.3 KiB
CSS
:root {
|
|
|
|
--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;
|
|
}
|
|
|
|
small {font-size: var(--font-scale-9); }
|
|
|
|
h1 {
|
|
margin: 0px;
|
|
padding: 0px;
|
|
font-size: var(--font-scale-14);
|
|
}
|
|
|
|
h2 {
|
|
font-size: var(--font-scale-12);
|
|
}
|
|
|
|
|
|
html, body {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
body {
|
|
background-color: var(--white);
|
|
color: #333;
|
|
margin: 0;
|
|
padding: 8px;
|
|
box-sizing: border-box;
|
|
font-family: "Dosis", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
|
}
|
|
|
|
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;
|
|
}
|
|
|
|
/* ---- inputs --- */
|
|
|
|
input, select {
|
|
border: 0px;
|
|
border-bottom: 1px solid var(--indigo-dye);
|
|
}
|
|
|
|
input:focus, select:focus {
|
|
border: 1px solid var(--indigo-dye);;
|
|
}
|
|
|
|
input.short {
|
|
width:5em;
|
|
}
|
|
|