all repos — flounder @ 61b974fda140a6c55799885d1c573d17afcb4e00

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