all repos — flounder @ b4c7e88d90f608c2127995eeffdc3d3820b2b276

A small site builder for the Gemini protocol

templates/static/style.css (view raw)

  1main {
  2  max-width: 70ch;
  3  padding: 2ch;
  4  margin: auto;
  5  font-family: "Roboto", Helvetica, Arial, Sans-serif;
  6  word-wrap: break-word;
  7  background-color: white;
  8  line-height: 1.5;
  9}
 10
 11@media (prefers-color-scheme: dark) {
 12  body, main { background: #1b262c; color: white; }
 13  a, a:visited { color: #21e6c1 }
 14}
 15
 16h1, h2, h3, h4, h5, h6{
 17    margin-top:0;
 18    margin-bottom:.2em;
 19}
 20
 21.footer {
 22  font-style: italic;
 23  color: grey;
 24  font-size: .9em;
 25}
 26
 27body {
 28}
 29
 30table {
 31  margin-left: 7px
 32}
 33p {
 34    margin-bottom: .2em; 
 35    line-height: 1.5;
 36    margin-top: 0px; 
 37}
 38
 39.inline {
 40  display: inline;
 41}
 42
 43img {
 44  max-width: 100%;
 45}
 46
 47#editor {
 48  width: 100%;
 49  border: 1px solid #999999;
 50  margin: 5px 0;
 51  padding: 3px;
 52  resize: vertical;
 53}
 54
 55.textform {
 56width: 100%;
 57resize: vertical;
 58}
 59
 60.impersonate {
 61  font-style: italic;
 62  font-weight: bold;
 63  background-color: 
 64}
 65
 66.button {
 67  background-color: white; /* Green */
 68  border: 1px solid black;
 69  text-decoration: none;
 70  padding: 2px 5px;
 71  display: inline-block;
 72  margin: 0px;
 73}
 74
 75.button:hover {
 76  background-color: black;
 77  color: white;
 78}
 79
 80.delete:hover {
 81  background-color: red;
 82  color: white;
 83}
 84
 85.error {
 86  color: red;
 87}
 88
 89.nav {
 90  color: blue;
 91}
 92
 93.user-admin-details {
 94  margin-left: 1em;
 95  margin-bottom: 1em;
 96}
 97a:visited {
 98  color:blue
 99}
100
101a {
102text-decoration: none;
103}
104
105pre {
106    white-space: pre-wrap;
107    line-height: 1.2;
108}
109
110a:hover {
111  text-decoration: underline;
112}