site

source files for beau's website
git clone https://git.beauhilton.com/site.git
Log | Files | Refs

style.css (2775B)


      1 
      2 @import "fonts.css";
      3 
      4 body {
      5 	font-family: "IBM Plex Sans", sans-serif;
      6 	color: #474747;
      7 	background-color: #ffffff;
      8   line-height: 1.45;
      9   font-size: 106.3%;
     10 	margin: 0 auto;
     11 	padding: 0.5em;
     12 	max-width: 40em
     13 }
     14 
     15 a{
     16 	color:#0064e4;
     17 	font-weight: 400;
     18 }
     19 
     20 a:hover{
     21 	color:#1d9700;
     22 	font-weight: 600;
     23 }
     24 
     25 a:visited{
     26 	color:#7f51d6
     27 }
     28 
     29 section{
     30 	margin-bottom:1em
     31 }
     32 
     33 table td {
     34 	padding: 0 0.4em;
     35 }
     36 
     37 td.num {
     38 	text-align: right;
     39 }
     40 
     41 section#masthead{
     42 	margin-bottom:2em;
     43 }
     44 
     45 section#masthead h1{
     46 	margin:1em;
     47   margin-top:1em;
     48   font-size:3em;
     49   line-height:1.5em;
     50   max-width:50em;
     51 	font-weight: 400;
     52 }
     53 section#masthead h1 a{
     54 	color:#000;
     55         text-decoration:none;
     56 }
     57 
     58 section#masthead h1 a:hover{
     59 	color:#70b433;
     60 }
     61 
     62 section#masthead h1 a:visited{
     63 	color:#000;
     64         text-decoration:none;
     65 }
     66 
     67 h1, h2,h3,h4{
     68 	margin-top:2em;
     69   font-size:1.5em;
     70   line-height:1.5em;
     71 	font-weight: 400;
     72 }
     73 
     74 h5{ /* used only for the index page */
     75 	margin:2em;
     76   font-size:2em;
     77   line-height:0.1em;
     78   font-weight: 400;
     79 }
     80 
     81 @media screen and (max-width: 800px){
     82 	section#masthead 
     83 	div.presentation_summary img{
     84 		display:block
     85 	}
     86 }
     87 @media screen and (min-width: 800px){
     88 	section#masthead 
     89 	div.presentation_summary img{
     90 		float:right
     91 	}
     92 }
     93 @media (min-width: 400px) {
     94     body {
     95         font-size: 118.8%;
     96     }
     97 }
     98 @media (min-width: 500px) {
     99     body {
    100         font-size: 118.8%;
    101         line-height: 1.55;
    102     }
    103 }
    104 @media (min-width: 600px) {
    105     body {
    106         font-size: 118.8%;
    107         line-height: 1.66;
    108     }
    109 }
    110 @media (min-width: 800px) {
    111     body {
    112         font-size: 131.3%;
    113     }
    114 }
    115 @media (min-width: 1030px) {
    116     body {
    117         font-size: 137.5%;
    118     }
    119 }
    120 @media (min-width: 1250px) {
    121     body {
    122         font-size: 143.8%;
    123     }
    124 }
    125 @media (min-width: 1920px) {
    126     body {
    127         font-size: 1.563em;
    128     }
    129 }
    130 .container,
    131 .postheader {
    132     width: 90%;
    133     margin: 0 auto;
    134     max-width: 1360px;
    135 }
    136 .container--wide {
    137     max-width: 1600px;
    138 }
    139 .container:after,
    140 .centered:after {
    141     content: "";
    142     display: table;
    143     clear: both;
    144 }
    145 .centered {
    146     max-width: 34em;
    147     margin: 0 auto;
    148     clear: both;
    149     width: 90%;
    150 }
    151 @media (min-width: 600px) {
    152     .centered {
    153         width: 84%;
    154     }
    155 }
    156 .centered.wider {
    157     max-width: calc(34em + 2em);
    158 }
    159 .centered-block {
    160     display: block;
    161     overflow: hidden;
    162 }
    163 @media(prefers-color-scheme:dark){
    164 	body{
    165 		background-color:#181818;
    166 		color:#b9b9b9
    167 	}
    168 
    169   code{
    170     font-size:.9em;
    171     background: #414449;
    172     padding: 0 2px;
    173     border-radius: 4px
    174   }
    175 
    176   a{
    177 		color:#368aeb
    178   }
    179 
    180 	a:hover{
    181 		color:#70b433
    182 	}
    183 
    184 	a:visited{
    185 		color:#a580e2
    186 	}
    187 	.response{
    188 		background-color:#444
    189 	}
    190 
    191 	h1,h2,h3,h5{
    192 		color:#368aeb
    193 	}
    194 
    195   section#masthead h1 a{
    196 		color:#dedede
    197 	}
    198 
    199   section#masthead h1 a:visited{
    200     color:#dedede;
    201     text-decoration:none;
    202         }
    203 }
    204