Update text font

- Switched from Roboto to Open Sans
- Removed unused fonts
- Reduced text size from 19px to 18px
- upped version (0.0.5 to 0.0.6)
This commit is contained in:
Bea 2020-10-30 00:16:35 +01:00
parent e166717e21
commit 964a474355
4 changed files with 22 additions and 38 deletions

1
.gitignore vendored
View File

@ -1,4 +1,5 @@
b-cov
*.zip
*.seed
*.log
*.csv

View File

@ -31,12 +31,12 @@
}
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 300;
font-display: swap;
src: local('Roboto Light'), local('Roboto-Light'), url(https://fonts.gstatic.com/s/roboto/v20/KFOlCnqEu92Fr1MmSU5fBBc4.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
font-family: 'Open Sans';
font-style: normal;
font-weight: 300;
font-display: swap;
src: local('Open Sans Light'), local('OpenSans-Light'), url(https://fonts.gstatic.com/s/opensans/v18/mem5YaGs126MiZpBA-UN_r8OUuhp.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
@ -49,30 +49,12 @@
}
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 700;
font-display: swap;
src: local('Roboto Bold'), local('Roboto-Bold'), url(https://fonts.gstatic.com/s/roboto/v20/KFOlCnqEu92Fr1MmWUlfBBc4.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 900;
font-display: swap;
src: local('Roboto Black'), local('Roboto-Black'), url(https://fonts.gstatic.com/s/roboto/v20/KFOlCnqEu92Fr1MmYUtfBBc4.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
font-family: 'PT Serif';
font-style: normal;
font-weight: 400;
font-display: swap;
src: local('PT Serif'), local('PTSerif-Regular'), url(https://fonts.gstatic.com/s/ptserif/v11/EJRVQgYoZZY2vCFuvAFWzr8.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
font-family: 'Open Sans';
font-style: normal;
font-weight: 700;
font-display: swap;
src: local('Open Sans Bold'), local('OpenSans-Bold'), url(https://fonts.gstatic.com/s/opensans/v18/mem5YaGs126MiZpBA-UN7rgOUuhp.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* End fonts */

View File

@ -41,7 +41,7 @@ Used to style things in such a way that they appear in the same way, everywhere.
@import "fonts.css";
html, body {
font-family: 'Roboto', sans-serif;
font-family: 'Open Sans', sans-serif;
font-weight: 300;
margin: 0;
padding: 0;
@ -387,7 +387,7 @@ Used to style the post feed, seen in the homepage & custom-tags page.
border-radius: 5px;
box-shadow: 0 1px 1px black, 0 2px 4px black;
transition: 0.5s;
font-size: 19px;
font-size: 18px;
}
.mind-post-card-big_main:hover {
@ -409,7 +409,7 @@ Used to style the post feed, seen in the homepage & custom-tags page.
}
.mind-post-card-big_header {
font-family: 'Roboto', sans-serif;
font-family: 'Open Sans', sans-serif;
font-weight: 300;
padding: 20px 30px 0;
}
@ -512,7 +512,7 @@ footer.mind-post-card-big_footer {
}
.mind-post-card-sidebar_meta {
font-family: 'Roboto';
font-family: 'Open Sans';
font-weight: 700;
text-transform: uppercase;
font-size: 12px;
@ -561,7 +561,7 @@ instead of pages ".mind-page*".
}
.mind-post-header p {
font-family: 'Roboto';
font-family: 'Open Sans';
font-weight: 700;
text-transform: uppercase;
color: rgb(200, 200, 200);
@ -638,7 +638,7 @@ img.mind-post_feature-image {
box-shadow: 0 0 3px rgb(0,0,0),0 3px 46px rgb(0,0,0);
position: relative;
z-index: 2;
font-size: 19px;
font-size: 18px;
color: rgb(200, 200, 200);
box-sizing: border-box;
}
@ -823,7 +823,7 @@ img.mind-post_feature-image {
}
.kg-bookmark-author, .kg-bookmark-publisher {
font-family: 'Roboto', sans-serif;
font-family: 'Open Sans', sans-serif;
font-weight: 700;
text-transform: uppercase;
font-size: 12px;

View File

@ -1,13 +1,14 @@
{
"name": "mindtheme",
"description": "Mind Overflow's official website style",
"version": "0.0.5",
"version": "0.0.6",
"engines": {
"ghost-api": "v3"
},
"keywords": ["ghost-theme"],
"license": "Copyright",
"author": {
"name": "Lorenzo Dellacà",
"email": "lorenzo.dellaca@mind-overflow.net"
},
"config": {