-
Notifications
You must be signed in to change notification settings - Fork 49
Customize nginx directory listings (e.g., use WHATWG green) #91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
Comments
From @annevk on September 12, 2017 8:55 This should probably be in whatwg/whatwg.org as well as this repository is obsolete. |
@sideshowbarker @foolip how about the following: html {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
--whatwggreen: #3A7908;
}
body {
padding:0;
margin:1em;
}
a {
color: #00F;
}
a:visited {
color: #0E388C;
}
a:hover, a:focus {
color:var(--whatwggreen);
text-decoration:none;
}
h1 {
color:var(--whatwggreen);
}
table {
border:1px solid #aaa;
width:100%;
}
tr:nth-child(even) {
background:#f4f4f4;
}
th,td {
padding:0.5em;
}
th {
text-align:left;
font-weight:bold;
background:#eee;
border-bottom:1px solid #aaa;
}
th > a {
text-decoration:none;
} I basically created this in the browser. It reuses fonts and styles from #153 for future consistency. |
sideshowbarker
added a commit
to whatwg/misc-server
that referenced
this issue
Jan 11, 2018
sideshowbarker
added a commit
to whatwg/misc-server
that referenced
this issue
Jan 11, 2018
sideshowbarker
added a commit
that referenced
this issue
Jan 11, 2018
annevk
pushed a commit
that referenced
this issue
Jan 11, 2018
sideshowbarker
added a commit
to whatwg/misc-server
that referenced
this issue
Jan 11, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
From @sideshowbarker on September 12, 2017 8:50
See #84 (comment). With some minimal CSS, we can customize the styling of nginx directory listings for, e.g., https://resources.whatwg.org/ and https://images.whatwg.org/ and https://n.whatwg.org/
Copied from original issue: whatwg/resources.whatwg.org#64
The text was updated successfully, but these errors were encountered: