diff --git a/themes/hugo-casper3/assets/scss/custom.scss b/themes/hugo-casper3/assets/scss/custom.scss index 8b95b19..537180f 100644 --- a/themes/hugo-casper3/assets/scss/custom.scss +++ b/themes/hugo-casper3/assets/scss/custom.scss @@ -50,6 +50,13 @@ blinkbig { font-style: normal } +@font-face { + font-family: "Roboto"; + src: url("fonts/Roboto-Regular.ttf") format("truetype"); + font-weight: normal; + font-style: normal +} + /* ISSO CSS */ #isso-thread * { diff --git a/themes/hugo-casper3/assets/scss/main.scss b/themes/hugo-casper3/assets/scss/main.scss index 35563df..2af442c 100644 --- a/themes/hugo-casper3/assets/scss/main.scss +++ b/themes/hugo-casper3/assets/scss/main.scss @@ -142,7 +142,7 @@ body,html{ } body{ color:#e5e5e5; - font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif; + font-family:-apple-system,BlinkMacSystemFont,Segoe UI,"Roboto",Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif; font-size:1.6rem; line-height:1.6em; font-weight:400; @@ -393,7 +393,7 @@ body{ z-index:10; margin:0 0 0 -2px; padding:0; - font-family:"Mustica Pro",Roboto,sans-serif; + font-family:"Mustica Pro","Roboto",sans-serif; font-size:5rem; line-height:1em; font-weight:600 @@ -405,7 +405,7 @@ body{ z-index:10; margin:0; padding:5px 0; - font-family:"Mustica Pro",Roboto,sans-serif; + font-family:"Mustica Pro","Roboto",sans-serif; font-size:2.1rem; line-height:1.4em; font-weight:400; @@ -550,7 +550,7 @@ body{ padding:0; list-style:none; transition:all 1s cubic-bezier(.19,1,.22,1); - font-family:"Mustica Pro",Roboto,sans-serif; + font-family:"Mustica Pro","Roboto",sans-serif; margin-top:-2px } .nav li{ @@ -763,7 +763,7 @@ body{ margin:0 0 .4em; line-height:1.15em; transition:color .2s ease-in-out; - font-family:"Mustica Pro",Roboto,sans-serif + font-family:"Mustica Pro","Roboto",sans-serif } .no-image .post-card-title{ margin-top:0 @@ -776,7 +776,7 @@ body{ .post-card-excerpt{ max-width:56em; color:#e5e5e5; - font-family:"Mustica Pro",Roboto,serif + font-family:"Mustica Pro","Roboto",serif } .post-card-excerpt p{ margin-bottom:1em @@ -998,12 +998,12 @@ body{ .post-full-title{ margin:0 0 .2em; color:#e5e5e5; - font-family:"Mustica Pro",Roboto,sans-serif + font-family:"Mustica Pro","Roboto",sans-serif } .post-full-custom-excerpt{ - margin:20px 0 0; + margin:0px 0 0; color:#e5e5e5; - font-family:"Mustica Pro",Roboto,serif; + font-family:"Mustica Pro","Roboto",serif; font-size:2.3rem; line-height:1.4em; font-weight:300 @@ -1031,7 +1031,7 @@ body{ margin:0 auto; padding:0 170px 6vw; min-height:230px; - font-family:Roboto; + font-family:"Roboto"; font-size:1.7rem; line-height:1.6em; background:#1e1e1e @@ -1200,7 +1200,7 @@ body{ } .post-full-content h1,.post-full-content h2,.post-full-content h3,.post-full-content h4,.post-full-content h5,.post-full-content h6{ color:#e5e5e5; - font-family:"Mustica Pro",Roboto,sans-serif + font-family:"Mustica Pro","Roboto",sans-serif } .post-full-content h1{ margin:.5em 0 .4em; @@ -1273,7 +1273,7 @@ body{ padding:.4em 1em .9em; border:0; color:#e5e5e5; - font-family:"Mustica Pro",Roboto,serif; + font-family:"Mustica Pro","Roboto",serif; font-size:3.2rem; line-height:1.35em; text-align:center @@ -1362,7 +1362,7 @@ body{ width:auto; border-spacing:0; border-collapse:collapse; - font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif; + font-family:-apple-system,BlinkMacSystemFont,Segoe UI,"Roboto",Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif; font-size:1.6rem; white-space:nowrap; vertical-align:top; @@ -1875,7 +1875,7 @@ body{ .post-full-content figcaption{ margin:1em 0 0; color:#5d7179; - font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif; + font-family:-apple-system,BlinkMacSystemFont,Segoe UI,"Roboto",Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif; font-size:75%; line-height:1.5em; text-align:center @@ -1939,7 +1939,7 @@ body{ .post-full-content .kg-bookmark-container{ display:flex; min-height:148px; - font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif; + font-family:-apple-system,BlinkMacSystemFont,Segoe UI,"Roboto",Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif; border-radius:3px } .post-full-content .kg-bookmark-container,.post-full-content .kg-bookmark-container:hover{ @@ -2324,7 +2324,7 @@ body{ margin:0 auto 50px; max-width:650px; color:#fff; - font-family:Roboto,serif; + font-family:"Roboto",serif; font-size:2.4rem; line-height:1.3em; font-weight:300; diff --git a/themes/hugo-casper3/layouts/partials/post-card.html b/themes/hugo-casper3/layouts/partials/post-card.html index 9b0369d..986024d 100644 --- a/themes/hugo-casper3/layouts/partials/post-card.html +++ b/themes/hugo-casper3/layouts/partials/post-card.html @@ -28,7 +28,9 @@