wasm-tools-mj

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

globals.css (811B)


      1 :root {
      2   --background: #ffffff;
      3   --foreground: #171717;
      4 }
      5 
      6 @media (prefers-color-scheme: dark) {
      7   :root {
      8     --background: #0a0a0a;
      9     --foreground: #ededed;
     10   }
     11 }
     12 
     13 html,
     14 body {
     15   max-width: 100vw;
     16   overflow-x: hidden;
     17 }
     18 
     19 body {
     20   color: var(--foreground);
     21   background: var(--background);
     22   font-family: Arial, Helvetica, sans-serif;
     23   -webkit-font-smoothing: antialiased;
     24   -moz-osx-font-smoothing: grayscale;
     25   padding-top: 50px;
     26   padding-left: 10vw;
     27 }
     28 
     29 * {
     30   box-sizing: border-box;
     31   padding: 0;
     32   margin: 0;
     33 }
     34 
     35 a {
     36   color: inherit;
     37   text-decoration: none;
     38 }
     39 
     40 @media (prefers-color-scheme: dark) {
     41   html {
     42     color-scheme: dark;
     43   }
     44 }
     45 
     46 main {
     47 	padding-top: 40px;
     48 	padding-bottom: 40px;
     49 }
     50 
     51 footer {
     52 	position: absolute;/*←絶対位置*/
     53 	padding-bottom: 10px;
     54     bottom: 0; /*下に固定*/
     55 }