slweb

Једноставни генератор статичких веб страна
git clone https://git.sr.ht/~strahinja/slweb
Дневник | Датотеке | Референце | ПРОЧИТАЈМЕ | ЛИЦЕНЦА

style.css (709B)


      1 html, body
      2 {
      3     line-height: 2em;
      4     font-size: 12pt;
      5 }
      6 
      7 a
      8 {
      9     line-height: 24px;
     10     height: 24px;
     11     padding: .5em 1em;
     12     border-radius: 10pt;
     13     background: #00f;
     14     color: #fff;
     15     text-decoration: none;
     16 }
     17 
     18 a:hover
     19 {
     20     background: rgba(0,0,255,.75);
     21 }
     22 
     23 a>svg
     24 {
     25     vertical-align: text-bottom;
     26     margin-bottom: -3px;
     27     margin-right: .5ex;
     28 }
     29 
     30 a>span
     31 {
     32     display: inline-block;
     33     font-family: serif;
     34     transform: skewX(15deg);
     35     font-style: oblique;
     36 }
     37 
     38 a>span::after
     39 {
     40     content: ' ';
     41     display: block;
     42     width: 0;
     43     height: 2px;
     44     background-color: #fff;
     45     margin: 0 auto;
     46     margin-top: -4px;
     47     transition: all .25s ease;
     48 }
     49 
     50 a:hover>span::after
     51 {
     52     width: 100%;
     53 }