font tipi değiştirildi

This commit is contained in:
Yusuf İpek
2021-09-15 18:36:41 +03:00
parent 16dbf829ae
commit 7b1c093596
4 changed files with 16 additions and 20 deletions
+6 -5
View File
@@ -1,19 +1,20 @@
h1, h1,
h2, h2,
h3, h3,
h4 { h4,
h5,
h6 {
font-family: "NunitoSansSemiBold";
color: var(--color-primary); color: var(--color-primary);
} }
h1 { h1 {
font-weight: 500;
font-size: 3rem; font-size: 3rem;
text-align: center; text-align: center;
} }
h2 { h2 {
font-size: 2.4rem; font-size: 2.4rem;
font-weight: normal;
} }
p, p,
@@ -45,7 +46,7 @@ a {
code { code {
background-color: black; background-color: black;
font-size: 1.8rem; font-size: 1.6rem;
} }
pre { pre {
@@ -54,8 +55,8 @@ pre {
border-radius: 1rem; border-radius: 1rem;
margin-bottom: 1.5rem; margin-bottom: 1.5rem;
margin-top: 1.5rem; margin-top: 1.5rem;
white-space: pre-wrap; white-space: pre-wrap;
word-break: break-word;
code { code {
color: var(--color-primary); color: var(--color-primary);
+1 -1
View File
@@ -12,7 +12,6 @@
grid-column: 1; grid-column: 1;
font-size: 2.4rem; font-size: 2.4rem;
color: var(--color-primary); color: var(--color-primary);
font-weight: normal;
a { a {
&:after { &:after {
@@ -61,6 +60,7 @@
} }
@include media("<small") { @include media("<small") {
padding-bottom: 0.8rem;
width: 100%; width: 100%;
&_logo { &_logo {
font-size: 2rem; font-size: 2rem;
+1 -5
View File
@@ -17,8 +17,4 @@
@import "./pages/rehber.scss"; @import "./pages/rehber.scss";
@import "./pages/404.scss"; @import "./pages/404.scss";
@font-face { @import url(https://fontlibrary.org//face/nunito-sans);
font-family: "NunitoSansRegular";
src: url("/fonts/NunitoSansRegular.ttf");
font-display: swap;
}
+8 -9
View File
@@ -36,29 +36,23 @@
h1 { h1 {
font-size: 3.5rem; font-size: 3.5rem;
font-weight: bold;
} }
h2 { h2 {
font-size: 3rem; font-size: 3rem;
font-weight: bold;
} }
h3 { h3 {
font-size: 2.6rem; font-size: 2.6rem;
font-weight: bold;
} }
h4 { h4 {
font-size: 2.4rem; font-size: 2.4rem;
font-weight: bold;
}
p,
li {
font-size: 2.2rem;
} }
p { p {
font-family: "NunitoSansLight";
line-height: 160%;
font-size: 2rem;
margin-bottom: 1.5rem; margin-bottom: 1.5rem;
} }
@@ -90,6 +84,11 @@
} }
@include media("<small") { @include media("<small") {
grid-template-columns: 90%; grid-template-columns: 90%;
p {
font-size: 2.2rem;
}
img { img {
max-width: 100%; max-width: 100%;
min-width: 100%; min-width: 100%;