all repos — flounder @ 239150b9876056a44d5c442b28059adb169bf4b7

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: Helvetica, Arial, monospace;
  6  word-wrap: break-word;
  7  background-color: white;
  8  line-height: 1.5;
  9}
 10
 11h1, h2, h3, h4, h5, h6{
 12    margin-top:0;
 13    margin-bottom:.2em;
 14}
 15
 16.gemini {
 17white-space: pre-wrap;
 18}
 19body {
 20}
 21
 22table {
 23  margin-left: 7px
 24}
 25p {
 26    margin-bottom: .2em; 
 27    line-height: 1.5;
 28    margin-top: 0px; 
 29}
 30
 31.inline {
 32  display: inline;
 33}
 34
 35img {
 36  max-width: 100%;
 37}
 38
 39#editor {
 40  width: 100%;
 41  border: 1px solid #999999;
 42  margin: 5px 0;
 43  padding: 3px;
 44  resize: vertical;
 45}
 46
 47.textform {
 48width: 100%;
 49resize: vertical;
 50}
 51
 52.button {
 53  background-color: white; /* Green */
 54  border: 1px solid black;
 55  text-decoration: none;
 56  padding: 2px 5px;
 57  display: inline-block;
 58  margin: 0px;
 59  transition-duration: 0.2s;
 60}
 61
 62.button:hover {
 63  background-color: black;
 64  color: white;
 65}
 66
 67.delete:hover {
 68  background-color: red;
 69  color: white;
 70}
 71
 72.error {
 73  color: red;
 74}
 75
 76.nav {
 77  color: blue;
 78}
 79
 80.user-admin-details {
 81  margin-left: 1em;
 82  margin-bottom: 1em;
 83}
 84a:visited {
 85  color:blue
 86}
 87
 88a {
 89text-decoration: none;
 90}
 91
 92pre {
 93    white-space: pre-wrap;
 94    line-height: 1.2;
 95}
 96
 97a:hover {
 98  background-color: yellow;
 99  text-decoration: underline;
100}