matrix-moderation-widget

A widget for moderating with mjolnir. Highly WIP. Use at your own risk!
git clone git://archive.git.mtrnord.blog/MTRNord/matrix-moderation-widget.git
Log | Files | Refs | README | LICENSE

index.css (2449B)


      1 @import-normalize;
      2 @tailwind base;
      3 @tailwind components;
      4 @tailwind utilities;
      5 
      6 @supports not (font-variation-settings: normal) {
      7   @font-face {
      8     font-family: "Inter";
      9     font-style: normal;
     10     font-weight: 100;
     11     font-display: optional;
     12     src: url(./assets/fonts/Inter-Thin.woff2) format("woff2")
     13   }
     14   
     15   @font-face {
     16     font-family: "Inter";
     17     font-style: normal;
     18     font-weight: 200;
     19     font-display: optional;
     20     src: url(./assets/fonts/Inter-ExtraLight.woff2) format("woff2")
     21   }
     22   
     23   @font-face {
     24     font-family: "Inter";
     25     font-style: normal;
     26     font-weight: 300;
     27     font-display: optional;
     28     src: url(./assets/fonts/Inter-Light.woff2) format("woff2")
     29   }
     30   
     31   @font-face {
     32     font-family: "Inter";
     33     font-style: normal;
     34     font-weight: 400;
     35     font-display: optional;
     36     src: url(./assets/fonts/Inter-Regular.woff2) format("woff2")
     37   }
     38   
     39   @font-face {
     40     font-family: "Inter";
     41     font-style: normal;
     42     font-weight: 500;
     43     font-display: optional;
     44     src: url(./assets/fonts/Inter-Medium.woff2) format("woff2")
     45   }
     46   
     47   @font-face {
     48     font-family: "Inter";
     49     font-style: normal;
     50     font-weight: 600;
     51     font-display: optional;
     52     src: url(./assets/fonts/Inter-SemiBold.woff2) format("woff2")
     53   }
     54   
     55   @font-face {
     56     font-family: "Inter";
     57     font-style: normal;
     58     font-weight: 700;
     59     font-display: optional;
     60     src: url(./assets/fonts/Inter-Bold.woff2) format("woff2")
     61   }
     62   
     63   @font-face {
     64     font-family: "Inter";
     65     font-style: normal;
     66     font-weight: 800;
     67     font-display: optional;
     68     src: url(./assets/fonts/Inter-ExtraBold.woff2) format("woff2")
     69   }
     70   
     71   @font-face {
     72     font-family: "Inter";
     73     font-style: normal;
     74     font-weight: 900;
     75     font-display: optional;
     76     src: url(./assets/fonts/Inter-Black.woff2) format("woff2")
     77   }
     78 }
     79 
     80 @supports (font-variation-settings: normal) {
     81   @font-face {
     82     font-family: "Inter";
     83     font-style: normal;
     84     font-weight: 100 900;
     85     font-display: optional;
     86     src: url(./assets/fonts/Inter-VariableFont_slnt,wght.woff2) format("woff2 supports variations"),
     87         url(./assets/fonts/Inter-VariableFont_slnt,wght.woff2) format("woff2-variations");
     88   }
     89 }
     90 
     91 
     92 html, body, #__next {
     93     margin: 0;
     94     @apply h-full bg-[#f8f8f8] dark:bg-[#06070D];
     95 }
     96 
     97 .visually-hidden:not(:focus):not(:active) {
     98   clip: rect(0 0 0 0);
     99   clip-path: inset(50%);
    100   height: 1px;
    101   overflow: hidden;
    102   position: absolute;
    103   white-space: nowrap;
    104   width: 1px;
    105 }