all repos — honk @ 70668331f1b95a22027230a81ed971866afa1b39

my fork of honk

views/style.css (view raw)

  1body {
  2	background: #305;
  3	color: #dde;
  4	font-size: 1em;
  5	word-wrap: break-word;
  6	font-family: sans-serif, "Noto Color Emoji";
  7}
  8pre, code {
  9	white-space: pre-wrap;
 10}
 11blockquote {
 12	margin-left: 0em;
 13	padding-left: 0.5em;
 14	border-left: 1px solid #aab;
 15}
 16table {
 17	display: block;
 18	max-width: 100%;
 19	overflow-x: auto;
 20}
 21a {
 22	color: #dde;
 23}
 24form, input, textarea {
 25	font-family: monospace, "Noto Color Emoji";
 26}
 27p {
 28	margin-top 1em;
 29	margin-bottom: 1em;
 30}
 31input {
 32	background: #305;
 33	color: #dde;
 34	font-size: 1.0em;
 35	line-height: 1.2em;
 36	padding: 0.5em;
 37}
 38body > header {
 39	max-width: 1200px;
 40	margin: 1em auto;
 41	font-size: 1.5em;
 42	text-align: right;
 43}
 44body > header span {
 45	margin-right: 2em;
 46}
 47header details {
 48	display: inline;
 49}
 50header details[open] summary {
 51	display: none;
 52}
 53main {
 54	max-width: 1200px;
 55	margin: auto;
 56	font-size: 1.5em;
 57}
 58.info {
 59	background: #002;
 60	border: 1px solid #dde;
 61	margin-bottom: 1em;
 62	padding: 0em 1em 0em 1em;
 63}
 64.info div {
 65	margin-top 1em;
 66	margin-bottom: 1em;
 67}
 68label, button, form input[type=submit], select {
 69	font-size: 16px;
 70	font-family: monospace;
 71	color: #dde;
 72	background: #305;
 73	border: 1px solid #dde;
 74	padding: 0.5em;
 75}
 76button a {
 77	text-decoration: none;
 78}
 79form {
 80	margin-top: 1em;
 81}
 82textarea {
 83	padding: 0.5em;
 84	font-size: 1em;
 85	background: #305;
 86	color: #dde;
 87	width: 600px;
 88	height: 8em;
 89	margin-bottom: 0.5em;
 90	box-sizing: border-box;
 91	max-width: 100%;
 92}
 93input[type="checkbox"] {
 94	position: fixed;
 95	top: -9999px;
 96}
 97input[type="checkbox"] + span:after {
 98	content: "no";
 99}
100input[type="checkbox"]:checked + span:after {
101	content: "yes";
102}
103input[type="checkbox"]:focus + span:after {
104	outline: 1px solid #dde;
105}
106input[type=file] {
107	display: none;
108}
109
110.honk {
111	width: 90%;
112	margin: auto;
113	background: #002;
114	border: 1px solid #dde;
115	border-radius: 1em;
116	margin-bottom: 1em;
117	padding-left: 1em;
118	padding-right: 1em;
119	padding-top: 0;
120}
121.honk form {
122	padding: 1em;
123	border: 1px solid #dde;
124}
125
126.honk a {
127	color: #dde;
128}
129.honk header .clip a {
130	color: #88a;
131}
132.honk header {
133	white-space: nowrap;
134	overflow: hidden;
135	text-overflow: ellipsis;
136	font-size: 0.8em;
137	margin-top: 1em;
138	height: 64px;
139}
140.honk header img {
141	float: left;
142	margin-right: 1em;
143	width: 64px;
144	height: 64px;
145}
146.honk header p {
147	margin-top: 0px;
148}
149.honk button {
150	margin-left: 4em;
151}
152.tonked {
153}
154.tonked .noise {
155	color: #aab;
156	font-size: 0.8em;
157}
158.tonked .noise a {
159	color: #aab;
160}
161.limited {
162	border: 1px solid #a79;
163	color: #a79;
164}
165.limited .noise {
166	color: #a79;
167}
168.limited .noise a {
169	color: #a79;
170}
171.inlineform {
172	display: inline;
173}
174.inlineform select {
175}
176.honk details summary {
177	color: #aab;
178}
179.limited details summary {
180	color: #a79;
181}
182h1, h2 {
183	font-size: 1.2em;
184}
185h3, h4 {
186	font-size: 1.1em;
187}
188
189img, video {
190	max-width: 100%
191}
192img.emu {
193	width: 2em;
194	height: 2em;
195	vertical-align: middle;
196	margin: -2px;
197	object-fit: contain;
198}
199@media screen and (max-width: 740px) {
200	body {
201		font-size: 12px;
202	}
203	.honk header {
204		height: 52px;
205	}
206	.honk header img {
207		width: 48px;
208		height: 48px;
209	}
210}