Merge pull request #38 from jgkamat/jay/blacklist

Add ability to blacklist sites from all-sites
pull/35/head
Jay Kamat 6 years ago committed by GitHub
commit f864ca2cd2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -97,7 +97,7 @@ This is how the sheets ~require~ in this project:
- Contents of ={dark,light}.styl=
- =styl= (which loads =styl/index.styl=)
- =mixins=
- =sites/*.styl=: The site-specific sheets, as well as =generic.styl=, which applies to all of them, and also builds as a separate sheet for non-specific sites. =all-sites.styl= puts all of the site-specific sheets into one big CSS file, which some people may prefer over setting up custom CSS for each site in their browser.
- =sites/*.styl=: The site-specific sheets, as well as =generic.styl=, which applies to all of them, and also builds as a separate sheet for non-specific sites. =all-sites.styl= puts all of the site-specific sheets into one big CSS file, which some people may prefer over setting up custom CSS for each site in their browser. Styles starting with =_= will not be included in =all-sites.styl=
This way, the color value-name mappings are loaded first, after which those friendly names can be used in the files that actually style elements and pages.

@ -24,242 +24,6 @@ pre {
background-color: #272727 !important;
color: #bcbcbc !important;
}
code {
font-size: 1.2em;
}
pre {
box-shadow: none;
background-color: #444 !important;
font-size: 1.2em;
}
img {
margin: 0.25em;
}
.buttons {
background-color: #272727 !important;
box-shadow: 0 0 10px #ff8700;
color: #ff8700 !important;
font-family: sans-serif;
font-size: 1.5rem;
position: fixed;
left: -4.5em;
top: 50%;
transform: rotate(90deg);
filter: opacity(50%);
}
.hsReviewPanel {
display: none;
}
.title {
border: 0;
}
#postamble {
display: none;
}
#banner {
text-align: center;
}
#tabs {
background-color: #272727 !important;
float: left;
margin: 0px 0px 20px 0px;
padding: 0;
width: 100%;
font-family: sans-serif;
}
#tabs ul {
margin: 0;
padding: 0;
}
#tabs li {
float: left;
list-style-type: none;
margin: 0px 2px 0px 0px;
padding: 0px 0px 0px 0px;
white-space: nowrap;
}
#tabs li a {
display: block;
font-size: 120%;
font-weight: bold;
margin: 0;
padding: 4px 10px 4px 10px;
text-decoration: none;
}
#tabs li a:hover {
color: #8080ff !important;
}
#tabs li.ui-tabs-active a {
background-color: #444 !important;
color: #4040ff !important;
}
#content {
clear: both;
}
#postamble {
text-align: right;
}
blockquote {
background-color: #272727 !important;
padding-left: 0.75em;
padding-right: 0.75em;
padding-top: 0.01em;
padding-bottom: 0.01em;
overflow: hidden;
margin-left: 0;
}
.outline-text-2,
.outline-text-3,
.outline-text-4,
.outline-text-5,
.outline-text-6 {
padding-left: 4%;
}
.outline-3 {
padding-left: 4%;
}
.outline-4 {
padding-left: 4%;
}
.outline-5 {
padding-left: 4%;
}
.outline-6 {
padding-left: 4%;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: sans-serif;
border-bottom: 2px solid;
border-color: #444 !important;
}
a:hover {
text-decoration: underline;
}
#search {
display: block;
float: right;
}
.tag {
background-color: #262626 !important;
color: #ff8700 !important;
border: 0px;
}
.tag span {
background-color: #444 !important;
margin: 0.25em;
padding: 0.25em;
}
#table-of-contents {
display: table;
float: right;
}
#table-of-contents h2 {
display: none;
}
#table-of-contents li {
list-style-type: none;
}
#table-of-contents a:hover {
text-decoration: underline;
}
#minitoc {
background-color: #272727 !important;
position: fixed;
bottom: 5em;
left: -5.5em;
transform: rotate(90deg);
box-shadow: 0px 0px 10px #ff8700;
padding-top: 0.1em;
padding-bottom: 0.1em;
padding-left: 0.5em;
padding-right: 0.5em;
filter: opacity(50%);
z-index: 200;
}
#minitoc:hover {
padding: 1em;
filter: opacity(100%);
transform: rotate(0deg);
left: 0;
}
#minitoc h2 {
margin-top: 0;
margin-bottom: 0;
}
#minitoc a {
display: block;
font-family: sans-serif;
text-decoration: none;
}
#minitoc a:hover {
text-decoration: underline;
}
#minitoc a {
display: none;
}
#minitoc:hover a {
display: block;
}
#toTop {
top: -100px /* together with this to put the div at the top */;
position: fixed /* this is the magic */;
text-align: center;
z-index: 999;
display: none;
}
#toTop:hover {
text-decoration: underline;
}
#left-panel-wrapper {
display: none;
position: fixed;
z-index: 200;
}
#left-panel-contents {
display: none;
position: fixed;
text-align: left;
top: 0;
z-index: 200;
}
#left-panel-button {
transform: rotate(90deg);
left: -23px;
position: fixed;
top: 50%;
z-index: 200;
}
#right-panel-wrapper {
position: fixed;
z-index: 200;
}
#right-panel-contents {
display: none;
z-index: 200;
position: fixed;
text-align: left;
top: 0;
}
.snippet-copy-to-clipboard {
display: none;
position: absolute;
left: 50px;
top: 50px;
}
.org-ul {
margin-top: 1em;
}
.org-ul li {
margin-top: 0.5em;
}
.org-ul > li > a {
font-family: sans-serif;
}
.post-actions {
background-color: #272727 !important;
}

@ -24,242 +24,6 @@ pre {
background-color: #2e2e2e !important;
color: #909396 !important;
}
code {
font-size: 1.2em;
}
pre {
box-shadow: none;
background-color: #363636 !important;
font-size: 1.2em;
}
img {
margin: 0.25em;
}
.buttons {
background-color: #2e2e2e !important;
box-shadow: 0 0 10px #a6aaab;
color: #a6aaab !important;
font-family: sans-serif;
font-size: 1.5rem;
position: fixed;
left: -4.5em;
top: 50%;
transform: rotate(90deg);
filter: opacity(50%);
}
.hsReviewPanel {
display: none;
}
.title {
border: 0;
}
#postamble {
display: none;
}
#banner {
text-align: center;
}
#tabs {
background-color: #2e2e2e !important;
float: left;
margin: 0px 0px 20px 0px;
padding: 0;
width: 100%;
font-family: sans-serif;
}
#tabs ul {
margin: 0;
padding: 0;
}
#tabs li {
float: left;
list-style-type: none;
margin: 0px 2px 0px 0px;
padding: 0px 0px 0px 0px;
white-space: nowrap;
}
#tabs li a {
display: block;
font-size: 120%;
font-weight: bold;
margin: 0;
padding: 4px 10px 4px 10px;
text-decoration: none;
}
#tabs li a:hover {
color: #97bdef !important;
}
#tabs li.ui-tabs-active a {
background-color: #363636 !important;
color: #639ce6 !important;
}
#content {
clear: both;
}
#postamble {
text-align: right;
}
blockquote {
background-color: #2e2e2e !important;
padding-left: 0.75em;
padding-right: 0.75em;
padding-top: 0.01em;
padding-bottom: 0.01em;
overflow: hidden;
margin-left: 0;
}
.outline-text-2,
.outline-text-3,
.outline-text-4,
.outline-text-5,
.outline-text-6 {
padding-left: 4%;
}
.outline-3 {
padding-left: 4%;
}
.outline-4 {
padding-left: 4%;
}
.outline-5 {
padding-left: 4%;
}
.outline-6 {
padding-left: 4%;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: sans-serif;
border-bottom: 2px solid;
border-color: #363636 !important;
}
a:hover {
text-decoration: underline;
}
#search {
display: block;
float: right;
}
.tag {
background-color: #262626 !important;
color: #a6aaab !important;
border: 0px;
}
.tag span {
background-color: #363636 !important;
margin: 0.25em;
padding: 0.25em;
}
#table-of-contents {
display: table;
float: right;
}
#table-of-contents h2 {
display: none;
}
#table-of-contents li {
list-style-type: none;
}
#table-of-contents a:hover {
text-decoration: underline;
}
#minitoc {
background-color: #2e2e2e !important;
position: fixed;
bottom: 5em;
left: -5.5em;
transform: rotate(90deg);
box-shadow: 0px 0px 10px #a6aaab;
padding-top: 0.1em;
padding-bottom: 0.1em;
padding-left: 0.5em;
padding-right: 0.5em;
filter: opacity(50%);
z-index: 200;
}
#minitoc:hover {
padding: 1em;
filter: opacity(100%);
transform: rotate(0deg);
left: 0;
}
#minitoc h2 {
margin-top: 0;
margin-bottom: 0;
}
#minitoc a {
display: block;
font-family: sans-serif;
text-decoration: none;
}
#minitoc a:hover {
text-decoration: underline;
}
#minitoc a {
display: none;
}
#minitoc:hover a {
display: block;
}
#toTop {
top: -100px /* together with this to put the div at the top */;
position: fixed /* this is the magic */;
text-align: center;
z-index: 999;
display: none;
}
#toTop:hover {
text-decoration: underline;
}
#left-panel-wrapper {
display: none;
position: fixed;
z-index: 200;
}
#left-panel-contents {
display: none;
position: fixed;
text-align: left;
top: 0;
z-index: 200;
}
#left-panel-button {
transform: rotate(90deg);
left: -23px;
position: fixed;
top: 50%;
z-index: 200;
}
#right-panel-wrapper {
position: fixed;
z-index: 200;
}
#right-panel-contents {
display: none;
z-index: 200;
position: fixed;
text-align: left;
top: 0;
}
.snippet-copy-to-clipboard {
display: none;
position: absolute;
left: 50px;
top: 50px;
}
.org-ul {
margin-top: 1em;
}
.org-ul li {
margin-top: 0.5em;
}
.org-ul > li > a {
font-family: sans-serif;
}
.post-actions {
background-color: #2e2e2e !important;
}

@ -24,242 +24,6 @@ pre {
background-color: #3c3836 !important;
color: #83a598 !important;
}
code {
font-size: 1.2em;
}
pre {
box-shadow: none;
background-color: #44403e !important;
font-size: 1.2em;
}
img {
margin: 0.25em;
}
.buttons {
background-color: #3c3836 !important;
box-shadow: 0 0 10px #8ec07c;
color: #8ec07c !important;
font-family: sans-serif;
font-size: 1.5rem;
position: fixed;
left: -4.5em;
top: 50%;
transform: rotate(90deg);
filter: opacity(50%);
}
.hsReviewPanel {
display: none;
}
.title {
border: 0;
}
#postamble {
display: none;
}
#banner {
text-align: center;
}
#tabs {
background-color: #3c3836 !important;
float: left;
margin: 0px 0px 20px 0px;
padding: 0;
width: 100%;
font-family: sans-serif;
}
#tabs ul {
margin: 0;
padding: 0;
}
#tabs li {
float: left;
list-style-type: none;
margin: 0px 2px 0px 0px;
padding: 0px 0px 0px 0px;
white-space: nowrap;
}
#tabs li a {
display: block;
font-size: 120%;
font-weight: bold;
margin: 0;
padding: 4px 10px 4px 10px;
text-decoration: none;
}
#tabs li a:hover {
color: #9ac9cc !important;
}
#tabs li.ui-tabs-active a {
background-color: #44403e !important;
color: #67afb2 !important;
}
#content {
clear: both;
}
#postamble {
text-align: right;
}
blockquote {
background-color: #3c3836 !important;
padding-left: 0.75em;
padding-right: 0.75em;
padding-top: 0.01em;
padding-bottom: 0.01em;
overflow: hidden;
margin-left: 0;
}
.outline-text-2,
.outline-text-3,
.outline-text-4,
.outline-text-5,
.outline-text-6 {
padding-left: 4%;
}
.outline-3 {
padding-left: 4%;
}
.outline-4 {
padding-left: 4%;
}
.outline-5 {
padding-left: 4%;
}
.outline-6 {
padding-left: 4%;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: sans-serif;
border-bottom: 2px solid;
border-color: #44403e !important;
}
a:hover {
text-decoration: underline;
}
#search {
display: block;
float: right;
}
.tag {
background-color: #282828 !important;
color: #8ec07c !important;
border: 0px;
}
.tag span {
background-color: #44403e !important;
margin: 0.25em;
padding: 0.25em;
}
#table-of-contents {
display: table;
float: right;
}
#table-of-contents h2 {
display: none;
}
#table-of-contents li {
list-style-type: none;
}
#table-of-contents a:hover {
text-decoration: underline;
}
#minitoc {
background-color: #3c3836 !important;
position: fixed;
bottom: 5em;
left: -5.5em;
transform: rotate(90deg);
box-shadow: 0px 0px 10px #8ec07c;
padding-top: 0.1em;
padding-bottom: 0.1em;
padding-left: 0.5em;
padding-right: 0.5em;
filter: opacity(50%);
z-index: 200;
}
#minitoc:hover {
padding: 1em;
filter: opacity(100%);
transform: rotate(0deg);
left: 0;
}
#minitoc h2 {
margin-top: 0;
margin-bottom: 0;
}
#minitoc a {
display: block;
font-family: sans-serif;
text-decoration: none;
}
#minitoc a:hover {
text-decoration: underline;
}
#minitoc a {
display: none;
}
#minitoc:hover a {
display: block;
}
#toTop {
top: -100px /* together with this to put the div at the top */;
position: fixed /* this is the magic */;
text-align: center;
z-index: 999;
display: none;
}
#toTop:hover {
text-decoration: underline;
}
#left-panel-wrapper {
display: none;
position: fixed;
z-index: 200;
}
#left-panel-contents {
display: none;
position: fixed;
text-align: left;
top: 0;
z-index: 200;
}
#left-panel-button {
transform: rotate(90deg);
left: -23px;
position: fixed;
top: 50%;
z-index: 200;
}
#right-panel-wrapper {
position: fixed;
z-index: 200;
}
#right-panel-contents {
display: none;
z-index: 200;
position: fixed;
text-align: left;
top: 0;
}
.snippet-copy-to-clipboard {
display: none;
position: absolute;
left: 50px;
top: 50px;
}
.org-ul {
margin-top: 1em;
}
.org-ul li {
margin-top: 0.5em;
}
.org-ul > li > a {
font-family: sans-serif;
}
.post-actions {
background-color: #3c3836 !important;
}

@ -24,242 +24,6 @@ pre {
background-color: #073642 !important;
color: #839496 !important;
}
code {
font-size: 1.2em;
}
pre {
box-shadow: none;
background-color: #094352 !important;
font-size: 1.2em;
}
img {
margin: 0.25em;
}
.buttons {
background-color: #073642 !important;
box-shadow: 0 0 10px #93a1a1;
color: #93a1a1 !important;
font-family: sans-serif;
font-size: 1.5rem;
position: fixed;
left: -4.5em;
top: 50%;
transform: rotate(90deg);
filter: opacity(50%);
}
.hsReviewPanel {
display: none;
}
.title {
border: 0;
}
#postamble {
display: none;
}
#banner {
text-align: center;
}
#tabs {
background-color: #073642 !important;
float: left;
margin: 0px 0px 20px 0px;
padding: 0;
width: 100%;
font-family: sans-serif;
}
#tabs ul {
margin: 0;
padding: 0;
}
#tabs li {
float: left;
list-style-type: none;
margin: 0px 2px 0px 0px;
padding: 0px 0px 0px 0px;
white-space: nowrap;
}
#tabs li a {
display: block;
font-size: 120%;
font-weight: bold;
margin: 0;
padding: 4px 10px 4px 10px;
text-decoration: none;
}
#tabs li a:hover {
color: #90c5eb !important;
}
#tabs li.ui-tabs-active a {
background-color: #094352 !important;
color: #59a9e1 !important;
}
#content {
clear: both;
}
#postamble {
text-align: right;
}
blockquote {
background-color: #073642 !important;
padding-left: 0.75em;
padding-right: 0.75em;
padding-top: 0.01em;
padding-bottom: 0.01em;
overflow: hidden;
margin-left: 0;
}
.outline-text-2,
.outline-text-3,
.outline-text-4,
.outline-text-5,
.outline-text-6 {
padding-left: 4%;
}
.outline-3 {
padding-left: 4%;
}
.outline-4 {
padding-left: 4%;
}
.outline-5 {
padding-left: 4%;
}
.outline-6 {
padding-left: 4%;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: sans-serif;
border-bottom: 2px solid;
border-color: #094352 !important;
}
a:hover {
text-decoration: underline;
}
#search {
display: block;
float: right;
}
.tag {
background-color: #002b36 !important;
color: #93a1a1 !important;
border: 0px;
}
.tag span {
background-color: #094352 !important;
margin: 0.25em;
padding: 0.25em;
}
#table-of-contents {
display: table;
float: right;
}
#table-of-contents h2 {
display: none;
}
#table-of-contents li {
list-style-type: none;
}
#table-of-contents a:hover {
text-decoration: underline;
}
#minitoc {
background-color: #073642 !important;
position: fixed;
bottom: 5em;
left: -5.5em;
transform: rotate(90deg);
box-shadow: 0px 0px 10px #93a1a1;
padding-top: 0.1em;
padding-bottom: 0.1em;
padding-left: 0.5em;
padding-right: 0.5em;
filter: opacity(50%);
z-index: 200;
}
#minitoc:hover {
padding: 1em;
filter: opacity(100%);
transform: rotate(0deg);
left: 0;
}
#minitoc h2 {
margin-top: 0;
margin-bottom: 0;
}
#minitoc a {
display: block;
font-family: sans-serif;
text-decoration: none;
}
#minitoc a:hover {
text-decoration: underline;
}
#minitoc a {
display: none;
}
#minitoc:hover a {
display: block;
}
#toTop {
top: -100px /* together with this to put the div at the top */;
position: fixed /* this is the magic */;
text-align: center;
z-index: 999;
display: none;
}
#toTop:hover {
text-decoration: underline;
}
#left-panel-wrapper {
display: none;
position: fixed;
z-index: 200;
}
#left-panel-contents {
display: none;
position: fixed;
text-align: left;
top: 0;
z-index: 200;
}
#left-panel-button {
transform: rotate(90deg);
left: -23px;
position: fixed;
top: 50%;
z-index: 200;
}
#right-panel-wrapper {
position: fixed;
z-index: 200;
}
#right-panel-contents {
display: none;
z-index: 200;
position: fixed;
text-align: left;
top: 0;
}
.snippet-copy-to-clipboard {
display: none;
position: absolute;
left: 50px;
top: 50px;
}
.org-ul {
margin-top: 1em;
}
.org-ul li {
margin-top: 0.5em;
}
.org-ul > li > a {
font-family: sans-serif;
}
.post-actions {
background-color: #073642 !important;
}

@ -24,242 +24,6 @@ pre {
background-color: #eee8d5 !important;
color: #657b83 !important;
}
code {
font-size: 1.2em;
}
pre {
box-shadow: none;
background-color: #e9e1c8 !important;
font-size: 1.2em;
}
img {
margin: 0.25em;
}
.buttons {
background-color: #eee8d5 !important;
box-shadow: 0 0 10px #586e75;
color: #586e75 !important;
font-family: sans-serif;
font-size: 1.5rem;
position: fixed;
left: -4.5em;
top: 50%;
transform: rotate(90deg);
filter: opacity(50%);
}
.hsReviewPanel {
display: none;
}
.title {
border: 0;
}
#postamble {
display: none;
}
#banner {
text-align: center;
}
#tabs {
background-color: #eee8d5 !important;
float: left;
margin: 0px 0px 20px 0px;
padding: 0;
width: 100%;
font-family: sans-serif;
}
#tabs ul {
margin: 0;
padding: 0;
}
#tabs li {
float: left;
list-style-type: none;
margin: 0px 2px 0px 0px;
padding: 0px 0px 0px 0px;
white-space: nowrap;
}
#tabs li a {
display: block;
font-size: 120%;
font-weight: bold;
margin: 0;
padding: 4px 10px 4px 10px;
text-decoration: none;
}
#tabs li a:hover {
color: #90c5eb !important;
}
#tabs li.ui-tabs-active a {
background-color: #e9e1c8 !important;
color: #59a9e1 !important;
}
#content {
clear: both;
}
#postamble {
text-align: right;
}
blockquote {
background-color: #eee8d5 !important;
padding-left: 0.75em;
padding-right: 0.75em;
padding-top: 0.01em;
padding-bottom: 0.01em;
overflow: hidden;
margin-left: 0;
}
.outline-text-2,
.outline-text-3,
.outline-text-4,
.outline-text-5,
.outline-text-6 {
padding-left: 4%;
}
.outline-3 {
padding-left: 4%;
}
.outline-4 {
padding-left: 4%;
}
.outline-5 {
padding-left: 4%;
}
.outline-6 {
padding-left: 4%;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: sans-serif;
border-bottom: 2px solid;
border-color: #e9e1c8 !important;
}
a:hover {
text-decoration: underline;
}
#search {
display: block;
float: right;
}
.tag {
background-color: #fdf6e3 !important;
color: #586e75 !important;
border: 0px;
}
.tag span {
background-color: #e9e1c8 !important;
margin: 0.25em;
padding: 0.25em;
}
#table-of-contents {
display: table;
float: right;
}
#table-of-contents h2 {
display: none;
}
#table-of-contents li {
list-style-type: none;
}
#table-of-contents a:hover {
text-decoration: underline;
}
#minitoc {
background-color: #eee8d5 !important;
position: fixed;
bottom: 5em;
left: -5.5em;
transform: rotate(90deg);
box-shadow: 0px 0px 10px #586e75;
padding-top: 0.1em;
padding-bottom: 0.1em;
padding-left: 0.5em;
padding-right: 0.5em;
filter: opacity(50%);
z-index: 200;
}
#minitoc:hover {
padding: 1em;
filter: opacity(100%);
transform: rotate(0deg);
left: 0;
}
#minitoc h2 {
margin-top: 0;
margin-bottom: 0;
}
#minitoc a {
display: block;
font-family: sans-serif;
text-decoration: none;
}
#minitoc a:hover {
text-decoration: underline;
}
#minitoc a {
display: none;
}
#minitoc:hover a {
display: block;
}
#toTop {
top: -100px /* together with this to put the div at the top */;
position: fixed /* this is the magic */;
text-align: center;
z-index: 999;
display: none;
}
#toTop:hover {
text-decoration: underline;
}
#left-panel-wrapper {
display: none;
position: fixed;
z-index: 200;
}
#left-panel-contents {
display: none;
position: fixed;
text-align: left;
top: 0;
z-index: 200;
}
#left-panel-button {
transform: rotate(90deg);
left: -23px;
position: fixed;
top: 50%;
z-index: 200;
}
#right-panel-wrapper {
position: fixed;
z-index: 200;
}
#right-panel-contents {
display: none;
z-index: 200;
position: fixed;
text-align: left;
top: 0;
}
.snippet-copy-to-clipboard {
display: none;
position: absolute;
left: 50px;
top: 50px;
}
.org-ul {
margin-top: 1em;
}
.org-ul li {
margin-top: 0.5em;
}
.org-ul > li > a {
font-family: sans-serif;
}
.post-actions {
background-color: #eee8d5 !important;
}

@ -156,7 +156,8 @@ def css_screenshot_url(css):
def list_css(themes, sites):
"Return list of CSS files for THEMES and SITES."
return [CSS("%s/%s/%s-%s.css" % (css_dir, theme.name, theme.name, site),
return [CSS("%s/%s/%s-%s.css" % (css_dir, theme.name, theme.name,
site.strip('_')),
dependencies(theme, site), theme, site)
for theme in themes
for site in sites]

@ -5,4 +5,5 @@
// This requires "sites/" because the Makefile runs stylus from the
// parent directory. Using "stylus -r" should make this unnecessary,
// but it doesn't.
@require 'sites/*'
// Sites starting with '_' will not be included.
@require 'sites/[!_]*.styl'

Loading…
Cancel
Save