blog

Log | Files | Refs

reset.css (1342B)


      1 *,
      2 ::after,
      3 ::before {
      4     box-sizing: border-box;
      5 }
      6 
      7 html {
      8     -webkit-tap-highlight-color: transparent;
      9     overflow-y: scroll;
     10     -webkit-text-size-adjust: 100%;
     11     text-size-adjust: 100%;
     12 }
     13 
     14 a,
     15 button,
     16 body,
     17 h1,
     18 h2,
     19 h3,
     20 h4,
     21 h5,
     22 h6 {
     23     color: var(--primary);
     24 }
     25 
     26 body {
     27     font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
     28     font-size: 18px;
     29     line-height: 1.6;
     30     word-break: break-word;
     31     background: var(--theme);
     32 }
     33 
     34 article,
     35 aside,
     36 figcaption,
     37 figure,
     38 footer,
     39 header,
     40 hgroup,
     41 main,
     42 nav,
     43 section,
     44 table {
     45     display: block;
     46 }
     47 
     48 h1,
     49 h2,
     50 h3,
     51 h4,
     52 h5,
     53 h6 {
     54     line-height: 1.2;
     55 }
     56 
     57 h1,
     58 h2,
     59 h3,
     60 h4,
     61 h5,
     62 h6,
     63 p {
     64     margin-top: 0;
     65     margin-bottom: 0;
     66 }
     67 
     68 ul {
     69     padding: 0;
     70 }
     71 
     72 a {
     73     text-decoration: none;
     74 }
     75 
     76 body,
     77 figure,
     78 ul {
     79     margin: 0;
     80 }
     81 
     82 table {
     83     width: 100%;
     84     border-collapse: collapse;
     85     border-spacing: 0;
     86     overflow-x: auto;
     87     word-break: keep-all;
     88 }
     89 
     90 button,
     91 input,
     92 textarea {
     93     padding: 0;
     94     font: inherit;
     95     background: 0 0;
     96     border: 0;
     97 }
     98 
     99 input,
    100 textarea {
    101     outline: 0;
    102 }
    103 
    104 button,
    105 input[type=button],
    106 input[type=submit] {
    107     cursor: pointer;
    108 }
    109 
    110 input:-webkit-autofill,
    111 textarea:-webkit-autofill {
    112     box-shadow: 0 0 0 50px var(--theme) inset;
    113 }
    114 
    115 img {
    116     display: block;
    117     max-width: 100%;
    118 }