Created
January 3, 2019 14:41
-
-
Save paulgribble/84bf1bf5e9b71e9ff650382b919289b0 to your computer and use it in GitHub Desktop.
some css for an orgmode html export
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
html { | |
font-family: verdana, sans-serif; | |
font-weight: 400; | |
font-size: 10pt; | |
height: 100%; | |
width: 100%; | |
margin: 0; | |
padding: 0; | |
min-width: 800px; | |
max-width: 800px; | |
} | |
body { | |
text-align: left; | |
padding-left: 8%; | |
padding-right: 8%; | |
padding-bottom: 5%; | |
padding-top: 1%; | |
line-height: 1.3em; | |
} | |
body a{ | |
color: #2580a2; | |
text-decoration: none; | |
} | |
pre { | |
line-height: 1.3; | |
} | |
#postamble { | |
margin-top: 22pt; | |
font-size: 10pt; | |
} | |
h1 { | |
float: left; | |
text-align: left!important; | |
background: #283250; | |
width: 100%; | |
font-size: 28px; | |
line-height: 1.0em; | |
font-weight: 400; | |
margin: 0px 0px; | |
color: #FFFFFF; | |
margin-bottom: 0.5em; | |
float: center; /* If you want it to be centered */ | |
padding-top: 5px; | |
padding-bottom: 25px; | |
padding-left: 10px; | |
} | |
h2 { | |
font-size: 14pt; | |
} | |
pre.src { | |
background-color: #F3F5F7; | |
} | |
.example { | |
background-color: #F3F5F7; | |
} | |
table { | |
width: 100%; | |
font-size: 10pt; | |
line-height: 110%; | |
border-collapse: collapse; | |
text-align: left; | |
} | |
table th { | |
padding-right: 10px; | |
padding-bottom: 4px; | |
padding-top: 2px; | |
background-color: #283250; | |
color: #FFFFFF; | |
font-weight: 300; | |
} | |
table td { | |
padding-top: 4px; | |
padding-bottom: 4px; | |
border-bottom: 1px #BBB solid; | |
vertical-align: text-middle; | |
} | |
table col:nth-child(1){width: 40px;} | |
table th:nth-child(1){text-align: center;} | |
table td:nth-child(1){text-align: center;} | |
table col:nth-child(2){width: 70px;} | |
table th:nth-child(2){text-align: center;} | |
table td:nth-child(2){text-align: center;} | |
table col:nth-child(3){width: 600px;} | |
table th:nth-child(3){padding-left: 10px; text-align: left;} | |
table td:nth-child(3){padding-left: 10px; text-align: left;} | |
table col:nth-child(4){width: 70px;} | |
table th:nth-child(4){text-align: center;} | |
table td:nth-child(4){text-align: center;} | |
table tr:nth-child(even) {background: #EEE} | |
table tr:nth-child(odd) {background: #FFF} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment