pub / zeitung

News-Aggregator in newspaper style as HTML/PDF/EPUB
git clone src.jayvii.de/pub/zeitung.git
Home | Log | Files | Exports | Refs | README | RSS

style.css (648B)


      1 :root {
      2   --bg: #f4ecd8;
      3   --fg: #000000;
      4 }
      5 @media (prefers-color-scheme: dark) {
      6   :root{
      7     --bg: #1c1b22;
      8     --fg: #fbfbfe;
      9   }
     10 }
     11 :root {
     12   background-color: var(--bg);
     13   color: var(--fg);
     14   font-family: "Times New Roman", Times, serif;
     15 }
     16 body {
     17   width: 95%;
     18   max-width: 980px;
     19   margin-left: auto;
     20   margin-right: auto;
     21 }
     22 a {
     23   color: var(--fg) !important;
     24   font-weight: bolder;
     25   text-decoration: underline;
     26 }
     27 p {
     28   text-align: justify;
     29 }
     30 nav {
     31   position: sticky;
     32   top: 0px;
     33   background: var(--bg);
     34   padding: 1px;
     35   border-radius: 5px;
     36   
     37 }
     38 nav > ul {
     39   text-align: center;
     40 }
     41 nav > ul > li {
     42   display: inline-block;
     43   margin: 5px;
     44 }