Repo for my website
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

207 lines
3.6 KiB

.portfolio {
width: 100%;
max-width: 1000px;
text-align: left;
padding: 20px;
margin: 20px auto;
4 years ago
@media #{$media-size-medium} {
max-width: 800px;
}
@media #{$media-size-tablet} {
max-width: 600px;
}
&-title {
font-size: 2.625rem;
margin: 0 0 20px;
4 years ago
@media #{$media-size-phone} {
font-size: 2rem;
}
4 years ago
a {
text-decoration: none;
}
4 years ago
}
&-timespan {
margin-top: -20px;
font-size: 0.9em;
4 years ago
}
&-tags {
display: block;
margin-bottom: 20px;
font-size: 1rem;
opacity: 0.5;
a {
text-decoration: none;
}
}
4 years ago
&-content {
margin-top: 30px;
4 years ago
}
&-links {
font-size: 0.8em;
margin-top: -8px;
opacity: 0.7;
a {
text-decoration: none;
}
2 months ago
> * {
margin-right: 8px;
}
2 months ago
}
&-cover {
border-radius: 8px;
margin: 30px -50px;
width: 1060px;
max-width: 1060px;
4 years ago
@media #{$media-size-medium} {
max-width: 860px;
}
@media #{$media-size-tablet} {
margin: 20px 0;
width: 100%;
}
}
4 years ago
&-info {
margin-top: 30px;
font-size: 0.8rem;
line-height: normal;
@include dimmed;
4 years ago
p {
margin: 0.8em 0;
}
4 years ago
a:hover {
border-bottom: 1px solid white;
}
svg {
margin-right: 0.8em;
}
.tag {
margin-right: 0.5em;
display: inline-block;
&::before {
content: "#";
}
}
4 years ago
}
.flag {
border-radius: 50%;
margin: 0 5px;
4 years ago
}
}
4 years ago
.pagination {
margin-top: 20px;
&__title {
display: flex;
text-align: center;
position: relative;
margin: 20px 0;
&-h {
text-align: center;
margin: 0 auto;
padding: 5px 10px;
background: $light-background;
color: $light-color-secondary;
font-size: 0.8rem;
text-transform: uppercase;
text-decoration: none;
letter-spacing: 0.1em;
z-index: 1;
.dark-theme & {
background: $dark-background;
color: $dark-color-secondary;
}
}
hr {
position: absolute;
left: 0;
right: 0;
width: 100%;
margin-top: 15px;
z-index: 0;
}
4 years ago
}
&__buttons {
display: flex;
align-items: center;
justify-content: center;
4 years ago
a {
text-decoration: none;
font-weight: bold;
}
4 years ago
}
}
.button {
4 years ago
position: relative;
display: inline-flex;
4 years ago
align-items: center;
justify-content: center;
background: $light-background-secondary;
font-size: 1rem;
font-weight: 600;
border-radius: 8px;
max-width: 40%;
padding: 0;
cursor: pointer;
appearance: none;
.dark-theme & {
background: $dark-background-secondary;
}
+ .button {
margin-left: 10px;
}
4 years ago
a {
display: flex;
padding: 8px 16px;
text-decoration: none;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
4 years ago
}
&__text {
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
}
&.next .button__icon {
margin-left: 8px;
}
&.previous .button__icon {
margin-right: 8px;
}
}