all repos — honk @ a1f5e5b57cae0f06fad03d6a18ebf94a24912897

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 #honkform {
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.subtle {
153}
154.subtle .noise {
155	color: #aab;
156	font-size: 0.8em;
157}
158.subtle .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}
171details.noise[open] summary {
172	display: none;
173}
174.inlineform {
175	display: inline;
176}
177.inlineform select {
178}
179.honk details.actions summary {
180	color: #aab;
181}
182.limited details.actions summary {
183	color: #a79;
184}
185h1, h2 {
186	font-size: 1.2em;
187}
188h3, h4 {
189	font-size: 1.1em;
190}
191
192img:not(.emu) {
193	background: #305;
194}
195img, video {
196	max-width: 100%
197}
198img.emu {
199	width: 2em;
200	height: 2em;
201	vertical-align: middle;
202	margin: -2px;
203	object-fit: contain;
204}
205@media screen and (max-width: 740px) {
206	body {
207		font-size: 12px;
208	}
209	.honk header {
210		height: 52px;
211	}
212	.honk header img {
213		width: 48px;
214		height: 48px;
215	}
216}