log101-dot-dev/assets/scss/style.scss

212 lines
3.6 KiB
SCSS
Raw Normal View History

2023-12-07 17:35:44 +00:00
@import "_syntax.scss";
2023-12-08 10:33:50 +00:00
@import "home";
2023-12-07 17:35:44 +00:00
2023-12-08 10:33:50 +00:00
$default-font: 'Inter', sans-serif;
2023-12-08 10:24:32 +00:00
$color-dark: #202020;
$color-medium-dark: #303030;
$color-grey: #5C5C5C;
$color-light-dark: #252525;
@mixin font-style-normal {
font-style: normal;
font-weight: 500;
line-height: normal;
}
%link-shared {
color: #252525;
font-family: Inter;
font-style: normal;
font-size: 40px;
font-weight: 400;
line-height: 150%;
/* 60px */
text-decoration-line: underline;
}
%footer-shared {
width: 100%;
p {
color: #5C5C5C;
font-family: Inter;
font-size: 20px;
font-style: normal;
font-weight: 300;
line-height: normal;
display: flex;
gap: 8px;
justify-content: center;
}
a {
color: #5C5C5C;
font-family: Inter;
font-size: 20px;
font-style: normal;
font-weight: 300;
line-height: normal;
display: flex;
gap: 8px;
justify-content: center;
text-decoration: none;
&:hover {
text-decoration: underline;
}
}
}
body {
font-family: Inter;
line-height: 1.4;
background-color: #ebf4f3;
2023-12-08 10:24:32 +00:00
margin: 0;
}
#post-title {
color: #202020;
font-family: Inter;
font-style: normal;
font-weight: 500;
line-height: normal;
margin-bottom: 0;
}
.post-header {
margin-bottom: 40px;
}
.post-meta {
margin-top: .5em;
span {
color: #303030;
}
}
.post-tags {
margin: 10px 0;
display: flex;
gap: 6px;
.tag {
font-size: .7em;
padding: 3px 14px;
text-transform: lowercase;
border: 1px solid;
margin-bottom: 6px;
a {
outline: none;
text-decoration: none;
color: #5C5C5C;
}
}
}
#home-footer {
@extend %footer-shared;
}
#site-footer {
@extend %footer-shared;
}
.posts-group {
width: 400px;
}
.back-title {
font-family: Inter;
font-size: 20px;
font-style: normal;
font-weight: 400;
a {
text-decoration: none;
color: #656565;
&:hover {
text-decoration: underline;
color: #151515;
}
}
}
.post-item {
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
a {
@extend %link-shared;
font-size: 30px;
}
.post-day {
@extend %link-shared;
font-size: 30px;
text-decoration: none;
color: #787878;
}
}
2023-12-07 09:28:51 +00:00
.pagination {
display: flex; /* Enable flexbox layout */
list-style: none; /* Remove default list styling */
padding: 0; /* Remove default padding */
margin: 0; /* Adjust margin as needed */
justify-content: center; /* Center the pagination items */
2023-12-07 09:45:21 +00:00
align-items: center;
2023-12-07 09:28:51 +00:00
font-family: Inter;
2023-12-07 09:45:21 +00:00
a {
text-decoration: none;
color: #252525;
}
2023-12-07 09:28:51 +00:00
}
.pagination .page-item {
margin: 0; /* Adjust margin between items as needed */
}
.pagination .page-link {
display: block; /* Make the link fill the li element */
padding: 5px 10px; /* Adjust padding as needed */
margin: 0 2px; /* Space out the page links */
}
#site-footer {
2023-12-07 17:35:44 +00:00
width: 100%;
2023-12-07 10:21:40 +00:00
user-select: none;
2023-12-07 10:20:37 +00:00
#copyright {
display: flex;
align-items: center;
justify-content: center;
}
}
#home-footer {
width: 400px;
2023-12-07 09:28:51 +00:00
}
2023-12-07 09:45:21 +00:00
[aria-disabled="true"] {
text-decoration: none !important;
}
.page-item {
&.active {
a {
text-decoration: none !important;
}
}
}
2023-12-07 17:35:44 +00:00
.content {
max-width: 720px;
font-size: 1em;
color: #303030;
2023-12-07 17:35:44 +00:00
}