Skip to content
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

Sepia for Texies #369

Closed
ghost opened this issue May 4, 2021 · 1 comment
Closed

Sepia for Texies #369

ghost opened this issue May 4, 2021 · 1 comment

Comments

@ghost
Copy link

ghost commented May 4, 2021

Here's a stylesheet I created using fonts I like: TeX Gyre Pagella (body) and TeX Gyre Adventor (headings). You can download it from GUST e-foundry for free. Alternatively, you can substitute the fonts using Palatino Linotype (body) and Century Gothic (headings).

Sample

body {
    font-family: 'TeX Gyre Pagella', serif;
    background-color: #f8e9d9;
    line-height: 1.6;
    font-size: 19px;
    color: #704214;
    font-feature-settings: "liga", "onum";
    text-rendering: optimizeLegibility;
}

h1,
h2,
h3 {
    font-family: 'TeX Gyre Adventor', sans-serif;
    font-weight: 700;
    font-feature-settings: "liga", "onum";
}

h1 {
    font-size: 1.875em;
    line-height: 1.125;
}

h2 {
    font-size: 1.45em;
    line-height: 1.2625em;
}

h3 {
    font-size: 1.25em;
    line-height: 1.5;
}

hr {
    height: 1px;
    background-color: #D8D8D8;
    border: none;
    width: 100%;
    margin: 0px;
}

.content-container {
    text-align: justify;
}

a[href] {
    color: #27AAE1;
}

a[href]:hover {
    color: #4ECAFF;
}

.simple-container {
    -webkit-print-color-adjust: exact;
}

.youtubeContainer {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    padding-top: 25px;
}
iframe {
    width: 100%;
    height: 300px;
}
iframe[src *= "youtube.com/embed/"] {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

video,
img {
    max-width: 100%;
}

li {
    line-height: 1.5em;
    margin-bottom: 5px;
}

td {
    border: 1px solid black;
    padding: 3px 7px;
}

pre {
    padding: 10px;
    overflow: auto;
}
pre,
code {
    background-color: #E0E0E0;
}

blockquote {
    border-left: 4px solid;
    margin-left: 0;
    padding: 15px 10% 15px 8%;
    margin: 1em 0;
    font-size: 1.2em;
    line-height: 1.4;
}
blockquote > *:first-child {
    margin-top: 0;
}
blockquote > *:last-child {
    margin-bottom: 0;
}

figure {
    margin: 0 0 10px;
}
 figcaption {
    font-size: 0.9em;
    opacity: 0.7;
    border: 1px solid #eee;
    padding: 17px 17px 12px;
}

aside,
[class *= "sidebar"],
[id *= "sidebar"] {
    max-width: 90%;
    margin: 0 auto;
    border: 1px solid lightgrey;
    padding: 5px 15px;
}

.simple-date {
    display: inline-block;
    font-family: 'TeX Gyre Adventor', sans-serif;
    font-size: 18px;
    padding-right: 15px;
    padding-top: 10px;
    padding-bottom: 10px;
    border-right: 1px solid #d8d8d8;
}
.rtl .simple-date {
    border-left: 1px solid #d8d8d8;
    border-right: none;
    padding-right: 0;
    padding-left: 15px;
}

.simple-author {
    display: inline-block;
    font-family: 'TeX Gyre Pagella', serif;
    font-size: 18px;
    color: #27AAE1;
    line-height: 22px;
    padding-left: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
}
.rtl .simple-author {
    padding-left: 0;
    padding-right: 10px;
}

.simple-article-container {
    max-width: 600px;
}
@ghost ghost closed this as completed May 4, 2021
@ZachSaucier
Copy link
Owner

For reference, dupe of #4.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant