﻿@charset "UTF-8";
@font-face {
  font-family: 'Roboto Mono';
  src: url("/Roboto.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

body {
  background: transparent;
  color: inherit;
}

body.light-mode {
  background: #fff;
  color: #000;
}

body.dark-mode {
  background: #121212;
  color: #fff;
}

body.dark-mode h1,
body.dark-mode h2,
body.dark-mode p,
body.dark-mode li,
body.dark-mode a,
body.dark-mode .modified,
body.dark-mode .breadcrumb-current,
body.dark-mode .breadcrumb a {
  color: #fff;
}

body.light-mode .breadcrumb-current,
body.light-mode .breadcrumb a {
  color: #000;
}

* {
  font-family: 'Roboto Mono';
  color: rgba(0,0,0,0.9);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "liga" 1, "kern" 1;
  font-kerning: normal;
  font-variant-ligatures: common-ligatures;
}

ul {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
  text-align: left;
}

li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding: 6px 12px;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

body.dark-mode li {
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

a {
  text-decoration: none;
  display: inline-block;
  margin-bottom: 12px;
  color: inherit;
  font-weight: 500;
}

a:hover {
  text-decoration: underline;
}

.modified {
  font-size: 0.9em;
  opacity: 0.7;
  margin-left: auto;
  padding-left: 50px;
}

.mode-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
  user-select: none;
  z-index: 1000;
}

.breadcrumb-current {
    font-weight: bold;
}
