mirror of
https://github.com/yusufipk/teknolojirehberleri.xyz.git
synced 2026-09-11 10:56:08 +00:00
ana sayfa stili değiştirildi ve sayfa numaraları eklendi.
This commit is contained in:
@@ -29,8 +29,8 @@
|
||||
/// $breakpoints: ('phone': 320px);
|
||||
///
|
||||
$breakpoints: (
|
||||
"smallest": 25em,
|
||||
// 400 px
|
||||
"smallest": 22em,
|
||||
// 352 px
|
||||
"smaller": 34.375em,
|
||||
// 550 px
|
||||
"small": 43.75em,
|
||||
|
||||
@@ -24,3 +24,10 @@ body {
|
||||
background-color: hsl(10, 5%, 42%);
|
||||
color: #bdb7af;
|
||||
}
|
||||
|
||||
.container {
|
||||
min-height: 100vh;
|
||||
display: grid;
|
||||
grid-template-rows: auto 1fr auto;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
@@ -46,7 +46,7 @@ a {
|
||||
|
||||
code {
|
||||
background-color: #383838;
|
||||
line-height: 2;
|
||||
line-height: 1.7;
|
||||
font-size: 1.6rem;
|
||||
}
|
||||
|
||||
|
||||
+39
-12
@@ -1,30 +1,57 @@
|
||||
.homepage {
|
||||
display: grid;
|
||||
justify-content: center;
|
||||
justify-items: center;
|
||||
grid-template-rows: auto auto 58rem;
|
||||
|
||||
padding-top: 2rem;
|
||||
list-style-type: none;
|
||||
|
||||
|
||||
&_heading-1 {
|
||||
padding-top: 1rem;
|
||||
}
|
||||
|
||||
&_posts {
|
||||
display: grid;
|
||||
justify-content: center;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
grid-template-rows: repeat(8, 12rem);
|
||||
width: 55%;
|
||||
h1 {
|
||||
grid-row: 1;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
&_posts {
|
||||
li {
|
||||
margin-top: 2rem;
|
||||
margin-right: 2rem;
|
||||
text-align: center;
|
||||
margin-top: 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
@include media("<largest") {
|
||||
&_pagination {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
gap: 0.5rem;
|
||||
cursor: pointer;
|
||||
align-items: flex-start;
|
||||
margin-top: 5rem;
|
||||
|
||||
a {
|
||||
background-color: #383838;
|
||||
padding: 8px 16px;
|
||||
border-radius: 1rem;
|
||||
text-decoration: none;
|
||||
font-size: 2rem;
|
||||
|
||||
&::after {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@include media("<smallest") {
|
||||
grid-template-rows: auto auto 48rem;
|
||||
|
||||
&_pagination {
|
||||
a {
|
||||
font-size: 1.6rem;
|
||||
padding: 5px 10px;
|
||||
}
|
||||
}
|
||||
|
||||
li {
|
||||
font-size: 1.6rem;
|
||||
}
|
||||
|
||||
@@ -59,6 +59,7 @@
|
||||
|
||||
li {
|
||||
font-family: "DroidSans";
|
||||
line-height: 1.7;
|
||||
}
|
||||
|
||||
ul,
|
||||
|
||||
Reference in New Issue
Block a user