on ee86fa2 help sign in
webring/links/main.css
75 lines 5.5 kB history raw
1* { margin:0;padding:0;border:0;outline:0;text-decoration:none;font-weight:inherit;font-style:inherit;color:inherit;font-size:100%;font-family:inherit;vertical-align:baseline;list-style:none;border-collapse:collapse;border-spacing:0; -webkit-font-smoothing: antialiased;-moz-osx-font-smoothing: grayscale;}
3body { background:#f4f4f4; padding:0px; margin:0px; }
4body > div { display:block; background: #111;min-height: calc(100vh - 60px);width: calc(100vw - 60px);margin: 15px;color: #333;padding: 15px;font-family:'input_mono_regular', 'Monospaced','Courier New',courier;font-size:11px; position: relative; border-radius: 2px; color:white;}
5body div ul { max-width: 800px; border-bottom: 2px solid white;padding-bottom: 15px;margin-bottom:15px; overflow: hidden;}
6body div p { display:block; padding:0px 5px; line-height: 20px; max-width: 600px}
7body div p a { text-decoration: underline;}
8body div p a:hover { text-decoration: underline; }
9body div p b { font-weight: normal; font-family: 'input_mono_medium' }
10body div p.readme { max-width:500px; }
12/* Hallway */
14body #hallway #entries { width: calc(100vw - 300px) !important; }
15body #hallway #sidebar { position: absolute;top: 0px;right: 0px;padding: 15px;width: 200px; }
17body #hallway #pagination { margin: 10px; text-align: center; }
18body #hallway #pagination span { padding: 3px; margin: 2px; cursor: pointer; }
19body #hallway #pagination span.selected { background: white; color:black; }
21body #hallway #sidebar > * { border-bottom: 0px; line-height: 16px; padding-bottom: 0px }
22body #hallway #sidebar > * li { text-transform: lowercase; }
23body #hallway #sidebar > * li.selected { background: white; color:black; }
24body #hallway #sidebar > * li:hover { cursor: pointer; }
25body #hallway #sidebar > * li span.right { color:#555; float:right; }
26body #hallway #sidebar > * li span.right:after { content: " msgs"; }
27body #hallway #sidebar #channels li:before { content:'/'; }
28body #hallway #sidebar #users li:before { content:'@'; }
30body #hallway .entry { line-height: 16px; display: block; position: relative; padding-left:100px; }
31body #hallway .entry .date { color: #555;display: block;float:right; margin-left:20px; padding-bottom: 16px;}
32body #hallway .entry .author { font-family: 'input_mono_medium'; position: absolute;left: 0px; }
33body #hallway .entry .body { display: block;border-bottom: 1px solid #333;padding-bottom: 10px;margin-bottom: 10px; }
34body #hallway .entry .body a { text-decoration: underline; }
35body #hallway .entry .body .channel { display: inline-block;border-radius: 1px;font-family: 'input_mono_medium';color: #777; }
36body #hallway .entry .body .user { display: inline-block;border-radius: 1px;font-family: 'input_mono_medium';color: #777; }
37body #hallway .entry .body .tag { display: inline-block;border-radius: 1px;font-family: 'input_mono_medium';color: #777; }
38body #hallway .entry.highlight .author { color:#555; }
39body #hallway .entry:hover .author { color:#ccc; }
40body #hallway .entry:hover .date { color:#ccc; }
41body #hallway .entry:hover .body { color:#ccc; border-bottom-color: #555 }
42body #hallway p { padding-left: 60px;background-image: url(../icon.white.svg);background-size: 40px;background-repeat: no-repeat;background-position: 0px 0px; }
43body #hallway ul { max-width: 100%; }
44body #hallway ul li:last-child { border-bottom:0px; }
46@media only screen and (min-width:200px) and (max-width: 800px) {
47 body #hallway #entries { width: 100% !important;margin-top: 30px; }
48 body #hallway #sidebar { position: absolute;top: 0px;right: 0px;padding: 15px;width: 200px;display: none;background-color: #000; }
49 body #hallway #showbar { position: absolute;top: 0px;width: 92%;height: 50px; background-image: url("data:image/svg+xml; utf8,<svg xmlns='http://www.w3.org/2000/svg' width='22' height='22'><path d='M11,4 L11,18 M4,4 L 4,18 M18,4 L18,18' stroke='%23555' fill='none' stroke-width='2' stroke-linecap='round'/></svg>");background-repeat: no-repeat;background-position: right;background-size: 25px; }
50 body #hallway #hidebar { position: absolute;top: 0px;width: 100%;height: 50px;background-image: url("data:image/svg+xml; utf8,<svg xmlns='http://www.w3.org/2000/svg' width='22' height='22'><path d='M5,5 L17,17 M17,5 L5,17' stroke='%23555' fill='none' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");background-repeat: no-repeat;background-position: left;background-size: 25px; }
51 body #hallway #sidebar #channels { margin-top: 30px; }
54/* Portal */
56body #portal #icon { display: block;width: 30px;height: 30px;background-image: url(../icon.white.svg);background-size: cover;background-repeat: no-repeat;position: absolute;bottom: 15px;right:15px;background-position: center;padding:0px }
57body #portal ul { columns:3; }
58body #portal ul li { display:block; padding-left:5px; text-overflow: ellipsis; text-transform: lowercase;}
59body #portal ul li.wiki::after { content:"<wiki>"; color:#555; }
60body #portal ul li.blog::after { content:"<blog>"; color:#555; }
61body #portal ul li a { line-height: 20px; padding:0px 5px; text-decoration: none;}
62body #portal ul li a:visited { color:#ccc; text-decoration: none;}
63body #portal ul li a:hover { text-decoration: underline; }
65@media (max-width: 730px) {
66 body #portal ul li span.counter { display: none }
68@media (max-width: 630px) {
69 body #portal ul { columns: 2 !important; }
70 body #portal ul li span.counter { display: none }
72@media (max-width: 530px) {
73 body #portal ul { columns: 1 !important; }
74 body #portal ul li span.counter { display: inline }