sgregoratto.me

source files for www.sgregoratto.me
git clone git://git.sgregoratto.me/sgregoratto.me
Log | Files | Refs

style.css (1557B)


      1 body {
      2 	margin: auto;
      3 	max-width: 40em;
      4 	padding: 2em;
      5 	hyphens: auto;
      6 }
      7 h1 code, h2 code, h3 code, h4 code, h5 code, h6 code {
      8 	font-size: inherit;
      9 }
     10 blockquote + p, h2 + p, h3 + p, h4 + p, h5 + p, h6 + p, header + p, hr + p,
     11 ol + p, ul + p, table + p, code + p, pre + p, p:first-child {
     12 	text-indent: 0;
     13 }
     14 table {
     15 	width: 100%;
     16 	border-collapse: collapse;
     17 }
     18 tr:nth-child(even) {
     19 	background-color: #f2f2f2;
     20 }
     21 p {
     22 	margin: 0;
     23 	text-indent: 1em;
     24 }
     25 sup, sub {
     26 	height: 0;
     27 	line-height: 1;
     28 	vertical-align: baseline;
     29 	position: relative;
     30 }
     31 sup {
     32 	bottom: 1ex;
     33 }
     34 pre {
     35        background-color: #f2f2f2;
     36        border: 0.1rem solid #ccc;
     37        border-radius: 0.5em;
     38        overflow: auto;
     39        word-wrap: normal;
     40        font-family: monospace;
     41        white-space: pre;
     42        font-size: 9pt;
     43        padding: 1em;
     44 }
     45 hr {
     46 	border: none;
     47 	border-top: 1px solid;
     48 	height: 0;
     49 	margin: 1.5em auto;
     50 	width: 25%;
     51 }
     52 q::before, q::after {
     53 	content: '';
     54 }
     55 h1, h2, h3, h4, h5, h6 {
     56 	font-variant: small-caps;
     57 	hyphens: none;
     58 	page-break-after: avoid;
     59 	page-break-inside: avoid;
     60 	text-align: center;
     61 }
     62 cite {
     63 	font-style: normal;
     64 }
     65 abbr {
     66 	border: none;
     67 	white-space: nowrap;
     68 }
     69 blockquote cite {
     70 	display: block;
     71 	font-style: italic;
     72 	text-align: right;
     73 }
     74 blockquote cite i {
     75 	font-style: normal;
     76 }
     77 b, strong {
     78 	font-variant: small-caps;
     79 	font-weight: normal;
     80 }
     81 header {
     82 	page-break-inside: avoid;
     83 	text-align: center;
     84 }
     85 article > header + *, section > header + * {
     86 	margin-top: 1em;
     87 }
     88 section.footnotes {
     89 	padding-top: 1em;
     90 }
     91 @media print{
     92 	body{
     93 		max-width: none
     94 	}
     95 }