experiments

All kinds of coding experiments
Log | Files | Refs | Submodules

global.css (890B)


      1 html, body {
      2 	position: relative;
      3 	width: 100%;
      4 	height: 100%;
      5 }
      6 
      7 body {
      8 	color: #333;
      9 	margin: 0;
     10 	padding: 8px;
     11 	box-sizing: border-box;
     12 	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
     13 }
     14 
     15 a {
     16 	color: rgb(0,100,200);
     17 	text-decoration: none;
     18 }
     19 
     20 a:hover {
     21 	text-decoration: underline;
     22 }
     23 
     24 a:visited {
     25 	color: rgb(0,80,160);
     26 }
     27 
     28 label {
     29 	display: block;
     30 }
     31 
     32 input, button, select, textarea {
     33 	font-family: inherit;
     34 	font-size: inherit;
     35 	-webkit-padding: 0.4em 0;
     36 	padding: 0.4em;
     37 	margin: 0 0 0.5em 0;
     38 	box-sizing: border-box;
     39 	border: 1px solid #ccc;
     40 	border-radius: 2px;
     41 }
     42 
     43 input:disabled {
     44 	color: #ccc;
     45 }
     46 
     47 button {
     48 	color: #333;
     49 	background-color: #f4f4f4;
     50 	outline: none;
     51 }
     52 
     53 button:disabled {
     54 	color: #999;
     55 }
     56 
     57 button:not(:disabled):active {
     58 	background-color: #ddd;
     59 }
     60 
     61 button:focus {
     62 	border-color: #666;
     63 }