Skip to content

Instantly share code, notes, and snippets.

@nacho4d
Last active December 18, 2015 15:48
Show Gist options
  • Save nacho4d/5806492 to your computer and use it in GitHub Desktop.
Save nacho4d/5806492 to your computer and use it in GitHub Desktop.
Style sheet for customreader. p://canisbos.com/customreader
/* http://canisbos.com/customreader */
.page {
width: 70%;
border: none;
padding: 40px 0px;
background-color: #efefef; /* same as article */
color: #000000;
font-family: Georgia !important;
text-rendering: optimizelegibility;
}
.page:first-of-type {
margin-top: 0px;
}
.page:last-of-type {
padding-bottom: 660px !important;
margin-bottom: 0px;
}
.page > * {
zoom: 1;
}
p {
margin-top: 1em;
margin-bottom: 1em;
text-indent: 0px;
text-align: start;
line-height: 1.5;
}
h1, h2, h3, h4, h5, h6 {
font-family: Helvetica !important;
}
figcaption {
font-family: Helvetica, sans-serif;
font-size: 75%;
}
figcaption p {
margin: 0px;
}
a {
color: rgb(47, 105, 221) !important;
/* color: red !important; */
text-decoration: none !important;
}
a:hover {
text-decoration: underline !important;
}
#container {
display: -webkit-box;
-webkit-box-orient: horizontal;
-webkit-box-pack: center;
width: 100%;
margin-left: auto;
left: auto;
}
#centered {
position: relative;
width: 100%;
}
#drop-shadow {
display: none;
}
#article {
position: relative;
left: auto;
width: auto;
padding-right: 0px;
background-color: #efefef; /* same as page */
}
.article-fade {
opacity: 0.5;
left: 0px;
width: 100%;
clip: auto !important;
}
::-webkit-scrollbar {
width: 7px;
}
::-webkit-scrollbar-thumb {
border-width: 0px;
background-color: rgba(0, 0, 0, 0.148438);
}
::-webkit-scrollbar-track {
border-width: 0px;
margin: 0px;
}
pre, code {
color: black !important;
background-color: rgba(128, 128, 128, 0.15) !important;
}
pre {
font-size:75% !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment