pub / tn

Tech News Aggregator
git clone src.jayvii.de/pub/tn.git
Home | Log | Files | Exports | Refs | RSS

custom.css (663B)


      1 /* Always scroll smoothly */
      2 * {
      3   scroll-behavior: smooth;
      4 }
      5 /* Compress sections */
      6 section {
      7   padding-top: 0px !important;
      8   padding-bottom: 0px !important;
      9   margin-top: 0.5em !important;
     10   margin-bottom: 1em !important;
     11 }
     12 /* ensure the post info has sufficient margins */
     13 .info {
     14   margin-left:0.25em;
     15 }
     16 /* Show only a single line of the domain */
     17 .url {
     18   display: block;
     19   overflow: hidden;
     20   text-overflow: ellipsis;
     21   max-width: 100%;
     22   text-wrap: nowrap;
     23 }
     24 /* Add a counter in front of each post */
     25 section {
     26   counter-increment: count 1;
     27 }
     28 section > strong::before {
     29   content: counter(count);
     30 }
     31 /* footer */
     32 footer {
     33   text-align: left !important;
     34 }