Skip to content

Commit

Permalink
Improve fonts and icons
Browse files Browse the repository at this point in the history
  • Loading branch information
cesarSEB committed Sep 30, 2024
1 parent 081a409 commit d3b0831
Show file tree
Hide file tree
Showing 135 changed files with 483 additions and 50 deletions.
84 changes: 48 additions & 36 deletions css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ html {
}

body {
font-family: "Century Supra T4", "Georgia", "Times New Roman", serif;
font-family: "Century Supra T4", "Apple Garamond", "Baskerville", "Libre Baskerville", "Droid Serif", "Times New Roman", "Times", serif, "Noto Emoji", "Quivira";
font-weight: lighter;
font-size: 22px;
text-rendering: optimizeLegibility;
Expand Down Expand Up @@ -59,13 +59,17 @@ p a {
-webkit-text-decoration-color: var(--link-decoration-color);
}

.blog-post div[role=main], article[role=main] > p:first-of-type:first-child::first-letter {
font-size: 72px;
line-height: 1;
font-family: "Century Supra C3";
font-weight: 400;
float: left;
padding-right: 12px;

/* Dropcaps are enabled only on large screens */
@media only screen and (min-width: 768px) {
.blog-post div[role=main], article[role=main] > p:first-of-type:first-child::first-letter {
font-size: 72px;
line-height: 1;
font-family: "Century Supra C3", "Apple Garamond", "Baskerville", "Libre Baskerville", "Droid Serif", "Times New Roman", "Times", serif, "Noto Emoji", "Quivira";
font-weight: 400;
float: left;
padding-right: 12px;
}
}

.asciinema-player-div {
Expand All @@ -74,7 +78,7 @@ p a {
}

h1, h2, h3, h4, h5, h6 {
font-family: "Concourse T6 Tab", "Linux Biolinum Capitals", 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-family: "Concourse T6 Tab", "Apple Garamond", "Baskerville", "Libre Baskerville", "Droid Serif", "Times New Roman", "Times", serif, "Noto Emoji", "Quivira";
text-rendering: optimizeLegibility;
font-feature-settings: "kern";
font-weight: bold;
Expand All @@ -98,7 +102,7 @@ h1 {
counter-increment: h1counter;
content: counter(h1counter) ".\0000a0\0000a0";
font-size: 32px;
font-family: "Concourse T4", "Linux Biolinum Capitals", 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-family: "Concourse T4", "Lucida Sans Unicode", "Helvetica", "Trebuchet MS", sans-serif, "Noto Emoji", "Quivira";
}

@media only screen and (max-width: 450px) {
Expand All @@ -125,7 +129,7 @@ h2 {
counter-increment: h2counter;
content: counter(h1counter) "." counter(h2counter) ".\0000a0\0000a0";
font-size: 24px;
font-family: "Concourse T4", "Linux Biolinum Capitals", 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-family: "Concourse T4", "Lucida Sans Unicode", "Helvetica", "Trebuchet MS", sans-serif, "Noto Emoji", "Quivira";
}


Expand All @@ -152,7 +156,7 @@ h3 {
.blog-post h3:before {
counter-increment: h3counter;
content: counter(h2counter) "." counter(h3counter) ".\0000a0\0000a0";
font-family: "Concourse T4", "Linux Biolinum Capitals", 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-family: "Concourse T4", "Lucida Sans Unicode", "Helvetica", "Trebuchet MS", sans-serif, "Noto Emoji", "Quivira";
}


Expand Down Expand Up @@ -190,12 +194,12 @@ blockquote {
border-left-color: var(--main-text-color);
border-left-width: 4px;
border-radius: 0px 5px 5px 0px;
font-family: "Equity Text A", 'Source Sans Pro', sans-serif;
font-family: "Equity Text A", "Apple Garamond", "Baskerville", "Libre Baskerville", "Droid Serif", "Times New Roman", "Times", serif, "Noto Emoji", "Quivira";
}

/* Details */
details {
font-family: "Concourse T3", "Cambria", "Open Sans";
font-family: "Concourse T3", "Apple Garamond", "Baskerville", "Libre Baskerville", "Droid Serif", "Times New Roman", "Times", serif, "Noto Emoji", "Quivira";
overflow: hidden;
padding: 10px 15px 10px 15px;
margin: 15px 0 15px 0;
Expand Down Expand Up @@ -287,7 +291,7 @@ em {
.post-categories {
/*background-color: gray;*/
color: #808080;
font-family: "Source Code Pro", monospace;
font-family: "Source Code Pro", "Liberation Mono", "Consolas", "Courier", monospace, "Noto Emoji", "Quivira";
font-size: 16px;
margin-right: 4px;
padding: 0 10px;
Expand All @@ -298,7 +302,7 @@ em {
.post-categories-tags {
/*background-color: gray;*/
color: #808080;
font-family: "Source Code Pro", monospace;
font-family: "Source Code Pro", "Liberation Mono", "Consolas", "Courier", monospace, "Noto Emoji", "Quivira";
font-size: 16px;
margin-right: 4px;
text-decoration: none;
Expand Down Expand Up @@ -375,6 +379,16 @@ a[href^="https://youtu.be/"], a[href^="https://mirrors.dotsrc.org/fosdem/"] {
padding-left: 22px;
}

a[href^="https://youtu.be/"], a[href^="https://en.wikipedia.org/wiki/"] {
background: transparent url(/img/icons/bw/wikipedia.svg) no-repeat center left;
padding-left: 22px;
}

a[href^="https://youtu.be/"], a[href^="https://www.linkedin.com/posts/"] {
background: transparent url(/img/icons/linkedin.svg) no-repeat center left;
padding-left: 22px;
}

a[href^="https://amzn.to/"], a[href^="http://amzn.to/"] {
background: transparent url(/img/icons/amazon20px.svg) no-repeat center right;
padding-right: 22px;
Expand Down Expand Up @@ -492,15 +506,15 @@ a[href$=".pptx"] {
}

.navigation a:hover {
font-family: "Concourse T2", "Linux Biolinum Capitals", "Linux Biolinum", 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-family: "Concourse T2", "Lucida Sans Unicode", "Helvetica", "Trebuchet MS", sans-serif, "Noto Emoji", "Quivira";
text-decoration: underline;
text-decoration-thickness: 0.1em;
text-decoration-color: var(--link-decoration-color);
-webkit-text-decoration-color: var(--link-decoration-color);
}

.navbar-custom {
font-family: "Concourse T2", "Linux Biolinum Capitals", "Linux Biolinum", 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-family: "Concourse T2", "Lucida Sans Unicode", "Helvetica", "Trebuchet MS", sans-serif, "Noto Emoji", "Quivira";
-webkit-transition: padding 1s ease-in-out;
-moz-transition: padding 1s ease-in-out;
transition: padding 1s ease-in-out;
Expand Down Expand Up @@ -559,7 +573,7 @@ a[href$=".pptx"] {
}

#navbar-brand {
font-family: 'Rouge Script', "Linux Biolinum", 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-family: 'Rouge Script', "Liberation Mono", "Consolas", "Courier", monospace, "Noto Emoji", "Quivira";
font-size: 30px;
padding: 0 5px 0 5px;
float: none;
Expand Down Expand Up @@ -929,7 +943,7 @@ a[href$=".pptx"] {
width: 100%;
border-radius: 3px;
margin-left: 4px;
font-family: "Equity Text A", "Linux Biolinum";
font-family: "Equity Text A", "Apple Garamond", "Baskerville", "Libre Baskerville", "Droid Serif", "Times New Roman", "Times", serif, "Noto Emoji", "Quivira";
}

.mailchimp-subscribe-section .button {
Expand All @@ -945,7 +959,7 @@ a[href$=".pptx"] {
width: 100%;
border-radius: 3px;
margin-left: 4px;
font-family: "Concourse T6", "Century Supra C4", "Linux Biolinum";
font-family: "Concourse T6", "Apple Garamond", "Baskerville", "Libre Baskerville", "Droid Serif", "Times New Roman", "Times", serif, "Noto Emoji", "Quivira";
}

#mailchimp-subscribe-section-footer #mc-embedded-subscribe-footer {
Expand Down Expand Up @@ -1434,7 +1448,7 @@ p.post-meta {
}

#full-tags-list {
font-family: "Concourse T3", "Linux Biolinum", "Cambria", "Georgia", "Times New Roman", serif;
font-family: "Concourse T3", "Liberation Mono", "Consolas", "Courier", monospace, "Noto Emoji", "Quivira";
}

#full-tags-list .tag-entry {
Expand Down Expand Up @@ -1521,7 +1535,7 @@ p.post-meta {
font-size: 28px;
line-height: 1.1;
display: block;
font-family: "Concourse T2", "Linux Biolinum", "Cambria", "Open Sans", 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-family: "Concourse T2", "Liberation Mono", "Consolas", "Courier", monospace, "Noto Emoji", "Quivira";
font-weight: 300;
margin: 10px 0 0;
/*text-transform: capitalize;*/
Expand Down Expand Up @@ -1693,7 +1707,7 @@ p.post-meta {
/* --- Pager --- */

.pager li a {
font-family: "Concourse T6", "Linux Biolinum Capitals", 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-family: "Concourse T6", "Liberation Mono", "Consolas", "Courier", monospace, "Noto Emoji", "Quivira";
text-transform: uppercase;
font-size: 1.5rem;
font-weight: 800;
Expand Down Expand Up @@ -1844,7 +1858,7 @@ pre {
color: var(--main-text-color);
font-size: 16px;
line-height: 1.5em;
font-family: "jetbrains_monoregular", sans-serif;
font-family: "jetbrains_monoregular", "Liberation Mono", "Consolas", "Courier", monospace, "Noto Emoji", "Quivira";
border: none;
margin-bottom: 26px;
font-weight: 400;
Expand All @@ -1855,13 +1869,13 @@ pre code {
}

pre .lineno {
font-family: operator_mono, jetbrains_monoregular;
font-family: operator_mono, "Liberation Mono", "Consolas", "Courier", monospace, "Noto Emoji", "Quivira";
font-weight: 200;
}

code {
background-color: var(--navbar-color);
font-family: "jetbrains_monoregular", sans-serif;
font-family: "jetbrains_monoregular", "Liberation Mono", "Consolas", "Courier", monospace, "Noto Emoji", "Quivira";
font-size: 17px;
color: var(--main-text-color);
border-radius: 1px;
Expand Down Expand Up @@ -1995,7 +2009,7 @@ td.gutter {
}

.list-filters {
font-family: "Concourse T3", "Linux Biolinum", 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-family: "Concourse T3", "Liberation Mono", "Consolas", "Courier", monospace, "Noto Emoji", "Quivira";
font-size: 18px;
padding-top: 10px;
text-align: center;
Expand Down Expand Up @@ -2229,8 +2243,6 @@ figure figcaption {
max-width: 100%;
/*position: absolute;*/
font-family: "Concourse T3", "Source Sans Pro", Helvetica, Arial, sans-serif;
/*font-family: "Linux Biolinum", "Cambria", "Georgia", "Times New Roman", serif;*/
/*text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);*/
padding-top: 2rem;
}

Expand Down Expand Up @@ -2321,7 +2333,7 @@ ol, ul {
.tag-list {
padding-top: 10px;
padding-bottom: 30px;
font-family: "Concourse T3", "Linux Biolinum";
font-family: "Concourse T3", "Liberation Mono", "Consolas", "Courier", monospace, "Noto Emoji", "Quivira";
text-align: center;
}

Expand Down Expand Up @@ -3185,7 +3197,7 @@ a.btn {
}

#related-posts .gsc-related-posts {
font-family: "Concourse T4", "Linux Biolinum", "Cambria", "Georgia", "Times New Roman", serif;
font-family: "Concourse T4", "Liberation Mono", "Consolas", "Courier", monospace, "Noto Emoji", "Quivira";
font-size: 15px;
color: var(--main-text-color);
}
Expand All @@ -3199,7 +3211,7 @@ a.btn {
color: var(--post-meta-index-color);
font-size: 15px;
margin: 10px 12px 10px 0;
font-family: "Concourse T3", "Cambria", "Open Sans";
font-family: "Concourse T3", "Liberation Mono", "Consolas", "Courier", monospace, "Noto Emoji", "Quivira";
}

#related-posts p {
Expand Down Expand Up @@ -3382,18 +3394,18 @@ hr {
}

.tag-entry a {
font-family: "Concourse T4", "Linux Biolinum", "Cambria", "Open Sans", 'Helvetica Neue', Helvetica, Arial, sans-serif;;
font-family: "Concourse T4", "Liberation Mono", "Consolas", "Courier", monospace, "Noto Emoji", "Quivira";
}

.call-to-subscribe {
font-family: "Concourse T2", "Linux Biolinum", "Cambria", "Open Sans", 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-family: "Concourse T2", "Liberation Mono", "Consolas", "Courier", monospace, "Noto Emoji", "Quivira";
font-size: 18px;
text-align: center;
margin-top: 15px;
}

.call-to-subscribe span {
font-family: "Concourse T4", "Linux Biolinum", "Cambria", "Open Sans", 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-family: "Concourse T4", "Liberation Mono", "Consolas", "Courier", monospace, "Noto Emoji", "Quivira";
}

@media only screen and (max-width: 450px) {
Expand Down
1 change: 1 addition & 0 deletions img/icons/bw/adjust-solid.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions img/icons/bw/alcor.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions img/icons/bw/alphabet.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions img/icons/bw/amazon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions img/icons/bw/angle-right-regular.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions img/icons/bw/anthropic.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions img/icons/bw/apple.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions img/icons/bw/archive.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions img/icons/bw/arrow-down-right.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions img/icons/bw/arrow-down.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions img/icons/bw/arrow-hook-left.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions img/icons/bw/arrow-right.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions img/icons/bw/arrow-up-left.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions img/icons/bw/arrow-up-to-line-light.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions img/icons/bw/arrow-up.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit d3b0831

Please sign in to comment.