all repos — flounder @ 6408dd4400ca0299e96b7e5460584ea57b17a8a3

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