all repos — flounder @ f39fba2d03282d8217ee76b53fe46c100acec304

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