sgregoratto.me

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

style.css (1542B)


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