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

204 lines
3.5 KiB
SCSS
Raw Normal View History

2023-12-07 17:35:44 +00:00
@import "_syntax.scss";
2023-12-05 07:11:40 +00:00
#page {
height: 100vh;
margin: 0
}
2023-12-04 03:43:34 +00:00
#spotlight {
display: flex;
min-height: 100vh;
flex-direction: column;
2023-12-05 04:08:16 +00:00
align-items: start;
justify-content: space-between;
2023-12-07 17:35:44 +00:00
max-width: 720px;
2023-12-04 03:43:34 +00:00
margin: auto;
font-size: 1.5rem;
2023-12-05 07:11:40 +00:00
2023-12-07 17:35:44 +00:00
@media (max-width: 768px) {
2023-12-05 07:11:40 +00:00
margin-left: 24px;
}
2023-12-04 03:43:34 +00:00
}
2023-12-05 04:08:16 +00:00
#home-center {
display: flex;
flex-direction: column;
flex-grow: 1;
2023-12-05 04:08:16 +00:00
align-items: flex-start;
margin-top: 10vh;
2023-12-05 04:08:16 +00:00
}
#home-title {
color: #202020;
font-family: Inter;
font-size: 48px;
font-style: normal;
font-weight: 500;
line-height: normal;
}
#home-nav {
display: flex;
flex-direction: column;
a {
color: #252525;
font-family: Inter;
font-size: 40px;
font-style: normal;
font-weight: 400;
line-height: 150%;
/* 60px */
text-decoration-line: underline;
}
}
2023-12-05 07:11:40 +00:00
%link-shared {
color: #252525;
font-family: Inter;
font-size: 40px;
font-style: normal;
font-weight: 400;
line-height: 150%;
/* 60px */
text-decoration-line: underline;
}
%footer-shared {
2023-12-06 04:16:40 +00:00
width: 100%;
2023-12-05 07:11:40 +00:00
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;
}
}
}
#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: #252525;
&: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;
}