karamata/css/style.css

104 lines
2.1 KiB
CSS
Raw Normal View History

/* Style sheet */
2023-07-27 14:49:55 +12:00
@font-face {
font-family: "Lobster";
src: url('fonts/Lobster/Lobster-Regular.ttf') format('truetype');
}
@font-face {
font-family: "Roboto";
src:
url('fonts/Roboto/Roboto-Regular.ttf') format('truetype'),
url('fonts/Roboto/Roboto-BlackItalic.ttf') format('truetype'),
url('fonts/Roboto/Roboto-Black.ttf') format('truetype'),
url('fonts/Roboto/Roboto-BoldItalic.ttf') format('truetype'),
url('fonts/Roboto/Roboto-Bold.ttf') format('truetype'),
url('fonts/Roboto/Roboto-LightItalic.ttf') format('truetype'),
url('fonts/Roboto/Roboto-Light.ttf') format('truetype'),
url('fonts/Roboto/Roboto-MediumItalic.ttf') format('truetype'),
url('fonts/Roboto/Roboto-Medium.ttf') format('truetype'),
url('fonts/Roboto/Roboto-ThinItalic.ttf') format('truetype'),
url('fonts/Roboto/Roboto-Thin.ttf') format('truetype');
}
2023-07-27 19:57:59 +12:00
body {
2023-07-27 14:49:55 +12:00
font-family: "Roboto";
width: 80%;
margin: auto;
}
h1 { font-family: "Lobster"; }
p { color: #444; }
a { text-decoration: none; }
button {
2023-07-27 19:57:59 +12:00
margin: 4px 4px;
padding: 10px;
2023-07-27 14:49:55 +12:00
background-color: #3BAD5F;
color: #fff;
border-radius: 10px;
border: 0;
font-family: "Roboto";
font-size: 120%;
2023-07-27 19:57:59 +12:00
/* box-shadow: offset x, offset y, blur radius, color */
box-shadow: 4px 4px 5px #888;
2023-07-27 14:49:55 +12:00
}
2023-07-27 19:57:59 +12:00
button:hover { color: #000; }
button:active { box-shadow: none; }
2023-07-27 14:49:55 +12:00
2023-07-27 19:57:59 +12:00
/*.text { position: relative; }*/
#sample {
2023-07-27 14:49:55 +12:00
font-size: 200%;
padding: 12px;
2023-07-27 19:57:59 +12:00
/*background-color: #eee;*/
2023-07-27 14:49:55 +12:00
border: thin #ededed;
display: block;
clear: both;
2023-07-27 19:57:59 +12:00
margin-bottom: 0px;
2023-07-27 14:49:55 +12:00
font-family: "Lobster";
2023-07-27 19:57:59 +12:00
line-height: 1em;
2023-07-27 14:49:55 +12:00
}
.blue { color: blue; }
.red { color: red; }
.green { color: green; }
.black { color: black; }
2023-07-27 19:57:59 +12:00
.shadow {
color: white;
text-shadow: 1px 1px 20px #000;
}
2023-07-27 14:49:55 +12:00
.bold { font-weight: bold; }
.italic { font-style: italic; }
.small-caps { font-variant: small-caps; }
2023-07-27 19:57:59 +12:00
.app {
background-color: #eee;
padding: 1em;
border-radius: 20px;
margin-bottom: 10px;
}
.text, .controls {
float: left;
}
.text {
vertical-align: top;
width: 25%;
min-width: 14em;
padding-right: 4px;
}
.contols {
width: auto;
padding-left: 4px;
}
.switches {
clear: both;
}