all repos — honk @ 0b4f359cf26a5db3e2f052576668eade156dd74d

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}
 68.info label, 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}
 79.info form {
 80	margin-top: 1em;
 81}
 82.info textarea {
 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}
 93.info input[type="checkbox"] {
 94	position: fixed;
 95	top: -9999px;
 96}
 97.info input[type="checkbox"] + span:after {
 98	content: "no";
 99}
100.info input[type="checkbox"]:checked + span:after {
101	content: "yes";
102}
103.info input[type="checkbox"]:focus + span:after {
104	outline: 1px solid #dde;
105}
106.info input[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 a {
122	color: #dde;
123}
124.honk header .clip a {
125	color: #88a;
126}
127.honk header {
128	white-space: nowrap;
129	overflow: hidden;
130	text-overflow: ellipsis;
131	font-size: 0.8em;
132	margin-top: 1em;
133	height: 64px;
134}
135.honk header img {
136	float: left;
137	margin-right: 1em;
138	width: 64px;
139	height: 64px;
140}
141.honk header p {
142	margin-top: 0px;
143}
144.honk button {
145	margin-left: 4em;
146}
147.tonked {
148}
149.tonked .noise {
150	color: #aab;
151	font-size: 0.8em;
152}
153.tonked .noise a {
154	color: #aab;
155}
156.limited {
157	border: 1px solid #a79;
158	color: #a79;
159}
160.limited .noise {
161	color: #a79;
162}
163.limited .noise a {
164	color: #a79;
165}
166.inlineform {
167	display: inline;
168}
169.inlineform select {
170}
171.honk details summary {
172	color: #aab;
173}
174.limited details summary {
175	color: #a79;
176}
177h1, h2 {
178	font-size: 1.2em;
179}
180h3, h4 {
181	font-size: 1.1em;
182}
183
184img, video {
185	max-width: 100%
186}
187img.emu {
188	width: 2em;
189	height: 2em;
190	vertical-align: middle;
191	margin: -2px;
192	object-fit: contain;
193}
194@media screen and (max-width: 740px) {
195	body {
196		font-size: 12px;
197	}
198	.honk header {
199		height: 52px;
200	}
201	.honk header img {
202		width: 48px;
203		height: 48px;
204	}
205}