Skip to content

Instantly share code, notes, and snippets.

@Alxandr
Created May 16, 2015 07:37
Show Gist options
  • Select an option

  • Save Alxandr/703caed37498cfb16b97 to your computer and use it in GitHub Desktop.

Select an option

Save Alxandr/703caed37498cfb16b97 to your computer and use it in GitHub Desktop.
epub css file
/* Main */
@font-face {
font-family: "Griffin";
font-weight: normal;
font-style: normal;
src: url('../Fonts/Griffin.ttf');
}
@font-face {
font-family: "Griffin";
font-weight: bold;
font-style: normal;
src: url('../Fonts/Griffin.ttf');
}
@font-face {
font-family: "Griffin";
font-weight: normal;
font-style: italic;
src: url('../Fonts/Griffin.ttf');
}
h1.header1 {
text-align: center;
margin-bottom: 15%;
margin-top: 10%;
font-family: "Griffin", Display;
font-size: 2rem;
}
h2.header1 {
text-align: center;
margin-bottom: 15%;
margin-top: 10%;
font-family: "Griffin", Display;
font-size: 1.5rem;
}
h1.header2 {
text-align: center;
margin-bottom: 12%;
margin-top: 8%;
font-family: "Griffin", Display;
font-size: 1.65rem;
}
p.break {
text-align: center;
font-family: "Griffin", Display;
font-size: 1rem;
}
/* Tables */
td {
padding:0.5rem;
}
/* F=blue, E=violet, D=green, C=yellow, B=orange, A=pink, S=red, SS=silver, SSS=gold, ?=black */
table.intro {
font-family: "Griffin", Display;
font-size: 1.25rem;
text-align: center;
background-color: none;
border: none;
width: 70%;
}
table.cardf {
font-family: "Andale Mono", Monospaced;
font-size: 0.65rem;
background-color: #F8F8F8;
border: #0066FF;
border-spacing: 0.25rem;
border-style: solid;
border-width: 0.75rem;
width: 66%;
frame: box;
}
table.carde {
font-family: "Andale Mono", Monospaced;
font-size: 0.65rem;
background-color: #F8F8F8;
border: #CC00CC;
border-spacing: 0.25rem;
border-style: solid;
border-width: 0.75rem;
width: 66%;
frame: box;
}
table.cardc {
font-family: "Andale Mono", Monospaced;
font-size: 0.65rem;
background-color: #F8F8F8;
border: #FFFF33;
border-spacing: 0.25rem;
border-style: solid;
border-width: 0.75rem;
width: 66%;
frame: box;
}
table.cardb {
font-family: "Andale Mono", Monospaced;
font-size: 0.65rem;
background-color: #F8F8F8;
border: #FF9900;
border-spacing: 0.25rem;
border-style: solid;
border-width: 0.75rem;
width: 66%;
frame: box;
}
table.carda {
font-family: "Andale Mono", Monospaced;
font-size: 0.65rem;
background-color: #F8F8F8;
border: #FF9999;
border-spacing: 0.25rem;
border-style: solid;
border-width: 0.75rem;
width: 66%;
frame: box;
}
table.cards {
font-family: "Andale Mono", Monospaced;
font-size: 0.65rem;
background-color: #F8F8F8;
border: #FF0000;
border-spacing: 0.25rem;
border-style: solid;
border-width: 0.75rem;
width: 66%;
frame: box;
}
table.status, td.status {
font-family: "Courier New", Monospaced;
font-size: 0.65rem;
color: #FFFFFF;
background-color: #080808;
border: 0.25rem solid #E0E0E0;
border-spacing: 0.25rem;
border-style: solid;
border-collapse: collapse;
width: 60%;
}
table.skill {
font-family: "Courier New", Monospaced;
font-size: 0.65rem;
color: #FFFFFF;
background-color: #080808;
border: 0.25rem solid #E0E0E0;
border-spacing: 0.25rem;
border-style: solid;
border-collapse: collapse;
width: 60%;
}
table.notice {
font-family: "Courier New", Monospaced;
font-size: 0.65rem;
color: #FFFFFF;
background-color: #080808;
border: 0.25rem solid #E0E0E0;
border-spacing: 0.25rem;
border-style: solid;
border-collapse: collapse;
width: 50%;
}
/* Notes */
a.nref {
vertical-align: super;
font-size: 0.8em;
text-decoration: none;
}
a.nback {
font-size: 0.9rem;
text-decoration: none;
}
a.nwhite {
vertical-align: super;
color: white;
font-size: 0.8em;
text-decoration: none;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment