Skip to content

Commit

Permalink
fix font issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ThiagoMowszet committed Dec 22, 2023
1 parent 428bc3a commit c2e440c
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
@import "https://fonts.googleapis.com/css2?family=Open+Sans&display=swap";@media only screen and (min-width:768px){.project-container{display:flex}.project-container .project-list{width:20%}.project-container .project{flex:1}}#output li{list-style:none}.post-list{display:flex;flex-flow:row wrap;justify-content:space-evenly}.post-list .box-post{display:flex;flex-direction:column;flex-basis:calc(33% - 2.5rem);justify-content:flex-end;margin:.4rem;padding:.5rem;align-items:stretch}.post-list .box-post .title{text-decoration:none;flex:1}.post-list .box-post .title h3{color:#0086b3;flex-basis:20%;font-size:1.25em}.post-list .box-post .date{font-size:.9em;color:#818181}.post-list .box-post .summary-container{max-height:310px;overflow:hidden}.post-list .box-post .summary-container figure{max-width:300px;height:150px;margin-left:auto;margin-right:auto}.post-list .box-post .summary-container figure img{width:100%;height:100%;object-fit:cover}.post-list .box-post .summary-container figure figcaption{display:none}.post-list .box-post .summary-container p{font-size:.85em;color:#616161}.post{max-width:768px;margin:auto}.post>*{margin:2rem 0}.post header>*{margin:2rem 0}.post header h2{font-size:2.5em}.post header .tags{display:flex;flex-direction:row;flex-wrap:wrap}.post header .tags .tag{margin:.25rem;padding:.5rem;border-radius:5px;font-weight:700;font-size:.9em;background-color:#0086b3;color:#fff}.post header .meta{display:flex;flex-direction:column;font-size:.9em}.post header .meta label{padding:.5rem 0}.post header a.tag,.post .body a.tag{background-color:#ddd;color:#333;display:inline-block;padding:.1em;font-size:.9em;text-decoration:none}.post header figure,.post .body figure{display:flex;flex-direction:column;justify-content:center;align-items:center}.post header figure img,.post .body figure img{width:auto;height:auto;max-width:768px;max-height:400px;margin:auto;padding:1rem}.post header figure figcaption,.post .body figure figcaption{font-size:.8em;color:#666}.post .highlight pre{padding:1rem;border-radius:5px;overflow:auto}@media(max-width:768px){.post-list{flex-direction:column}.post figure img{max-width:100%}}.home .home-head{text-align:center;margin:1rem 0;padding:1rem 0}.home .home-head h1{margin:1rem 0;font-size:3.5em}.home .home-head label{font-size:.8em;color:#414141}.home .animation-gopher{margin:auto;max-width:150px;width:80%}.home .content{padding:1rem 0;display:flex;flex-direction:row;justify-content:center;flex-wrap:wrap}.home .content .box-section{flex-basis:calc(30% - 4rem);margin:1rem;text-decoration:none;display:flex;flex-direction:column;text-align:center;padding:1rem;color:#7c1ad2}.home .content .box-section:hover{background-color:#0086b3}.home .content .box-section:hover b{color:#fff}.home .content .box-section b{color:#313131}@media(max-width:768px){.home .content .box-section{flex-basis:calc(100% - 4rem)}}footer{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:2rem}html,body,.container{width:100%;height:100%;margin:0;font-family:jetbrains mono}.app-width{width:calc(100% - calc(10px * 2))!important;padding-left:10px!important;padding-right:10px!important}@media(min-width:1020px){.app-width{width:1000px!important;padding-left:calc(50% - calc(1000px/2))!important;padding-right:calc(50% - calc(1000px/2))!important}.app-width p>img{height:350px;display:block;margin:auto}}.box{border:1px solid #ddd;background-color:#fff;border-radius:.5rem}.box:hover{border:1px solid transparent;box-shadow:1px 1px 5px #999}a{text-decoration:none;color:#0013ff}a:hover{text-decoration:underline;cursor:pointer}.page-header{display:flex;flex-direction:row;justify-content:center;align-items:center;height:75px;border-bottom:1px solid #ddd}.page-header .header-left{text-align:left}.page-header .header-center{text-align:center;flex:1}.page-header .header-right{text-align:right}.page-header .button-search{text-decoration:none}.page-header:hover{border-bottom:1px solid #ccc;box-shadow:1px 1px 3px #ccc}nav a{text-decoration:none!important;font-weight:700;color:#313131;padding:.5rem;font-size:.9em}nav a:hover{color:#0086b3}.oss{display:flex;flex-wrap:wrap;justify-content:space-between}.oss article{border:1px solid #ddd;box-shadow:3px 3px 3px #ddd;margin:.5%;padding:.5%;width:30%;border-radius:4px;text-align:center}.colabs{display:flex;flex-wrap:wrap;justify-content:space-between;text-align:center}.colabs article{border:1px solid #ddd;margin:.5%;padding:.5%;width:20%;border-radius:10px;box-shadow:1px 1px 1px #c2c2c2;background-color:#fcfcfc}.colabs img{width:55px;height:55px;border-radius:5px;padding-bottom:8%}.colabs a{text-decoration:none;color:#333;font-size:16px}.colabs a:hover{text-decoration:underline;cursor:pointer}.pagination{display:flex;justify-content:space-between;list-style:none;margin:1em auto;padding:0}@media only screen and (min-width:768px){.pagination{width:30%}}.pagination>.page-item{border:1px solid #ddd;flex:1;text-align:center;width:5em}.pagination .page-link{display:block;color:#000;text-decoration:none}.pagination>.page-item.active{background-color:#333}.pagination>.page-item.active>.page-link{color:#fff}.pagination>.page-item.disabled>.page-link{color:#ddd}
<style>@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@200&display=swap');</style>
Original file line number Diff line number Diff line change
@@ -1 +1 @@
@import "https://fonts.googleapis.com/css2?family=Open+Sans&display=swap";@media only screen and (min-width:768px){.project-container{display:flex}.project-container .project-list{width:20%}.project-container .project{flex:1}}#output li{list-style:none}.post-list{display:flex;flex-flow:row wrap;justify-content:space-evenly}.post-list .box-post{display:flex;flex-direction:column;flex-basis:calc(33% - 3rem);justify-content:flex-end;margin:.5rem;padding:1rem;align-items:stretch}.post-list .box-post .title{text-decoration:none;flex:1}.post-list .box-post .title h3{color:#0086b3;flex-basis:20%;font-size:1.25em}.post-list .box-post .date{font-size:.9em;color:#818181}.post-list .box-post .summary-container{max-height:300px;overflow:hidden}.post-list .box-post .summary-container figure{max-width:300px;height:150px;margin-left:auto;margin-right:auto}.post-list .box-post .summary-container figure img{width:100%;height:100%;object-fit:cover}.post-list .box-post .summary-container figure figcaption{display:none}.post-list .box-post .summary-container p{font-size:.85em;color:#616161}.post{max-width:768px;margin:auto}.post>*{margin:2rem 0}.post header>*{margin:2rem 0}.post header h2{font-size:2.5em}.post header .tags{display:flex;flex-direction:row;flex-wrap:wrap}.post header .tags .tag{margin:.25rem;padding:.5rem;border-radius:5px;font-weight:700;font-size:.9em;background-color:#0086b3;color:#fff}.post header .meta{display:flex;flex-direction:column;font-size:.9em}.post header .meta label{padding:.5rem 0}.post header a.tag,.post .body a.tag{background-color:#ddd;color:#333;display:inline-block;padding:.1em;font-size:.9em;text-decoration:none}.post header figure,.post .body figure{display:flex;flex-direction:column;justify-content:center;align-items:center}.post header figure img,.post .body figure img{width:auto;height:auto;max-width:768px;max-height:400px;margin:auto;padding:1rem}.post header figure figcaption,.post .body figure figcaption{font-size:.8em;color:#666}.post .highlight pre{padding:1rem;border-radius:5px;overflow:auto}@media(max-width:768px){.post-list{flex-direction:column}.post figure img{max-width:100%}}.home .home-head{text-align:center;margin:1rem 0;padding:1rem 0}.home .home-head h1{margin:1rem 0;font-size:3.5em}.home .home-head label{font-size:.8em;color:#414141}.home .animation-gopher{margin:auto;max-width:150px;width:80%}.home .content{padding:1rem 0;display:flex;flex-direction:row;justify-content:center;flex-wrap:wrap}.home .content .box-section{flex-basis:calc(30% - 4rem);margin:1rem;text-decoration:none;display:flex;flex-direction:column;text-align:center;padding:1rem;color:#7c1ad2}.home .content .box-section:hover{background-color:#0086b3}.home .content .box-section:hover b{color:#fff}.home .content .box-section b{color:#313131}@media(max-width:768px){.home .content .box-section{flex-basis:calc(100% - 4rem)}}footer{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:2rem}html,body,.container{width:100%;height:100%;margin:0;font-family:open sans,sans-serif}.app-width{width:calc(100% - calc(10px * 2))!important;padding-left:10px!important;padding-right:10px!important}@media(min-width:1020px){.app-width{width:1000px!important;padding-left:calc(50% - calc(1000px/2))!important;padding-right:calc(50% - calc(1000px/2))!important}.app-width p>img{height:350px;display:block;margin:auto}}.box{border:1px solid #ddd;background-color:#fff;border-radius:.5rem}.box:hover{border:1px solid transparent;box-shadow:1px 1px 5px #999}a{text-decoration:none;color:#0013ff}a:hover{text-decoration:underline;cursor:pointer}.page-header{display:flex;flex-direction:row;justify-content:center;align-items:center;height:75px;border-bottom:1px solid #ddd}.page-header .header-left{text-align:left}.page-header .header-center{text-align:center;flex:1}.page-header .header-right{text-align:right}.page-header .button-search{text-decoration:none}.page-header:hover{border-bottom:1px solid #ccc;box-shadow:1px 1px 3px #ccc}nav a{text-decoration:none!important;font-weight:700;color:#313131;padding:.5rem;font-size:.9em}nav a:hover{color:#0086b3}.oss{display:flex;flex-wrap:wrap;justify-content:space-between}.oss article{border:1px solid #ddd;box-shadow:3px 3px 3px #ddd;margin:.5%;padding:.5%;width:30%;border-radius:4px;text-align:center}.colabs{display:flex;flex-wrap:wrap;justify-content:space-between;text-align:center}.colabs article{border:1px solid #ddd;margin:.5%;padding:.5%;width:20%;border-radius:10px;box-shadow:1px 1px 1px #c2c2c2;background-color:#fcfcfc}.colabs img{width:55px;height:55px;border-radius:5px;padding-bottom:8%}.colabs a{text-decoration:none;color:#333;font-size:16px}.colabs a:hover{text-decoration:underline;cursor:pointer}.pagination{display:flex;justify-content:space-between;list-style:none;margin:1em auto;padding:0}@media only screen and (min-width:768px){.pagination{width:30%}}.pagination>.page-item{border:1px solid #ddd;flex:1;text-align:center;width:5em}.pagination .page-link{display:block;color:#000;text-decoration:none}.pagination>.page-item.active{background-color:#333}.pagination>.page-item.active>.page-link{color:#fff}.pagination>.page-item.disabled>.page-link{color:#ddd}
@import "https://fonts.googleapis.com/css2?family=Open+Sans&display=swap";@media only screen and (min-width:768px){.project-container{display:flex}.project-container .project-list{width:20%}.project-container .project{flex:1}}#output li{list-style:none}.post-list{display:flex;flex-flow:row wrap;justify-content:space-evenly}.post-list .box-post{display:flex;flex-direction:column;flex-basis:calc(33% - 2.5rem);justify-content:flex-end;margin:.4rem;padding:.5rem;align-items:stretch}.post-list .box-post .title{text-decoration:none;flex:1}.post-list .box-post .title h3{color:#0086b3;flex-basis:20%;font-size:1.25em}.post-list .box-post .date{font-size:.9em;color:#818181}.post-list .box-post .summary-container{max-height:310px;overflow:hidden}.post-list .box-post .summary-container figure{max-width:300px;height:150px;margin-left:auto;margin-right:auto}.post-list .box-post .summary-container figure img{width:100%;height:100%;object-fit:cover}.post-list .box-post .summary-container figure figcaption{display:none}.post-list .box-post .summary-container p{font-size:.85em;color:#616161}.post{max-width:768px;margin:auto}.post>*{margin:2rem 0}.post header>*{margin:2rem 0}.post header h2{font-size:2.5em}.post header .tags{display:flex;flex-direction:row;flex-wrap:wrap}.post header .tags .tag{margin:.25rem;padding:.5rem;border-radius:5px;font-weight:700;font-size:.9em;background-color:#0086b3;color:#fff}.post header .meta{display:flex;flex-direction:column;font-size:.9em}.post header .meta label{padding:.5rem 0}.post header a.tag,.post .body a.tag{background-color:#ddd;color:#333;display:inline-block;padding:.1em;font-size:.9em;text-decoration:none}.post header figure,.post .body figure{display:flex;flex-direction:column;justify-content:center;align-items:center}.post header figure img,.post .body figure img{width:auto;height:auto;max-width:768px;max-height:400px;margin:auto;padding:1rem}.post header figure figcaption,.post .body figure figcaption{font-size:.8em;color:#666}.post .highlight pre{padding:1rem;border-radius:5px;overflow:auto}@media(max-width:768px){.post-list{flex-direction:column}.post figure img{max-width:100%}}.home .home-head{text-align:center;margin:1rem 0;padding:1rem 0}.home .home-head h1{margin:1rem 0;font-size:3.5em}.home .home-head label{font-size:.8em;color:#414141}.home .animation-gopher{margin:auto;max-width:150px;width:80%}.home .content{padding:1rem 0;display:flex;flex-direction:row;justify-content:center;flex-wrap:wrap}.home .content .box-section{flex-basis:calc(30% - 4rem);margin:1rem;text-decoration:none;display:flex;flex-direction:column;text-align:center;padding:1rem;color:#7c1ad2}.home .content .box-section:hover{background-color:#0086b3}.home .content .box-section:hover b{color:#fff}.home .content .box-section b{color:#313131}@media(max-width:768px){.home .content .box-section{flex-basis:calc(100% - 4rem)}}footer{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:2rem}html,body,.container{width:100%;height:100%;margin:0;font-family:work sans,san-serif;font-size:15px}.app-width{width:calc(100% - calc(10px * 2))!important;padding-left:10px!important;padding-right:10px!important}@media(min-width:1020px){.app-width{width:1000px!important;padding-left:calc(50% - calc(1000px/2))!important;padding-right:calc(50% - calc(1000px/2))!important}.app-width p>img{height:350px;display:block;margin:auto}}.box{border:1px solid #ddd;background-color:#fff;border-radius:.5rem}.box:hover{border:1px solid transparent;box-shadow:1px 1px 5px #999}a{text-decoration:none;color:#0013ff}a:hover{text-decoration:underline;cursor:pointer}.page-header{display:flex;flex-direction:row;justify-content:center;align-items:center;height:75px;border-bottom:1px solid #ddd}.page-header .header-left{text-align:left}.page-header .header-center{text-align:center;flex:1}.page-header .header-right{text-align:right}.page-header .button-search{text-decoration:none}.page-header:hover{border-bottom:1px solid #ccc;box-shadow:1px 1px 3px #ccc}nav a{text-decoration:none!important;font-weight:700;color:#313131;padding:.5rem;font-size:.9em}nav a:hover{color:#0086b3}.oss{display:flex;flex-wrap:wrap;justify-content:space-between}.oss article{border:1px solid #ddd;box-shadow:3px 3px 3px #ddd;margin:.5%;padding:.5%;width:30%;border-radius:4px;text-align:center}.colabs{display:flex;flex-wrap:wrap;justify-content:space-between;text-align:center}.colabs article{border:1px solid #ddd;margin:.5%;padding:.5%;width:20%;border-radius:10px;box-shadow:1px 1px 1px #c2c2c2;background-color:#fcfcfc}.colabs img{width:55px;height:55px;border-radius:5px;padding-bottom:8%}.colabs a{text-decoration:none;color:#333;font-size:16px}.colabs a:hover{text-decoration:underline;cursor:pointer}.pagination{display:flex;justify-content:space-between;list-style:none;margin:1em auto;padding:0}@media only screen and (min-width:768px){.pagination{width:30%}}.pagination>.page-item{border:1px solid #ddd;flex:1;text-align:center;width:5em}.pagination .page-link{display:block;color:#000;text-decoration:none}.pagination>.page-item.active{background-color:#333}.pagination>.page-item.active>.page-link{color:#fff}.pagination>.page-item.disabled>.page-link{color:#ddd}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"Target":"css/style.min.33f584905db6c3de03afcf5339663978935804c455e11a3c122985bc59a18768.css","MediaType":"text/css","Data":{"Integrity":"sha256-M/WEkF22w94Dr89TOWY5eJNYBMRV4Ro8EimFvFmhh2g="}}
{"Target":"css/style.min.d3a71c9a34f4c5a37a7d334d8c2961f8af1a22188792ebba80a2c80cef673488.css","MediaType":"text/css","Data":{"Integrity":"sha256-06ccmjT0xaN6fTNNjClh+K8aIhiHkuu6gKLIDO9nNIg="}}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion themes/basic/assets/css/_global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ html, body, .container {
width: 100%;
height: 100%;
margin: 0;
font-family: 'JetBrains Mono';
font-family: 'Work Sans', san-serif;
font-size: 15px;
}

.app-width {
Expand Down
2 changes: 1 addition & 1 deletion themes/basic/layouts/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
{{ $syntax := resources.Get "css/syntax.css" | minify | fingerprint }}
<link rel="stylesheet" href="{{$style.RelPermalink}}">
<link rel="stylesheet" href="{{$syntax.RelPermalink}}">
<link href='https://fonts.googleapis.com/css?family=JetBrains+Mono' rel='stylesheet' type='text/css'>
<link href='https://fonts.googleapis.com/css2?family=Work+Sans' rel='stylesheet' type='text/css'>
{{- range .AlternativeOutputFormats -}}
{{- $link := `
<link rel="%s" type="%s" href="%s" title="%s">` -}}
Expand Down

0 comments on commit c2e440c

Please sign in to comment.