-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Peter Heisig
committed
Apr 22, 2022
1 parent
252793b
commit d560e1f
Showing
9 changed files
with
466 additions
and
104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
.footer { | ||
padding: 0px 20px 40px 20px; | ||
flex-grow: 0; | ||
color: $light-color-secondary; | ||
|
||
&__inner { | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
margin: 0 auto; | ||
width: 760px; | ||
max-width: 100%; | ||
|
||
@media #{$media-size-tablet} { | ||
flex-direction: column; | ||
} | ||
} | ||
|
||
&__content { | ||
display: flex; | ||
flex-direction: row; | ||
align-items: center; | ||
font-size: 1rem; | ||
color: $light-color-secondary; | ||
|
||
@media #{$media-size-tablet} { | ||
flex-direction: column; | ||
margin-top: 10px; | ||
} | ||
|
||
& > *:not(:last-child)::after { | ||
padding: 0 5px; | ||
|
||
@media #{$media-size-tablet} { | ||
content: ""; | ||
padding: 0; | ||
} | ||
} | ||
|
||
& > *:last-child { | ||
padding: 0 0px; | ||
|
||
@media #{$media-size-tablet} { | ||
padding: 0; | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
.logo { | ||
display: flex; | ||
align-items: center; | ||
text-decoration: none; | ||
font-weight: bold; | ||
font-display: auto; | ||
font-family: monospace, monospace; | ||
|
||
img { | ||
height: 44px; | ||
} | ||
|
||
&__mark { | ||
font-size: 1.125rem; | ||
margin-right: 5px; | ||
} | ||
|
||
&__text { | ||
font-size: 1.125rem; | ||
} | ||
|
||
&__cursor { | ||
display: inline-block; | ||
width: 10px; | ||
height: 1rem; | ||
background: #fe5186; | ||
margin-left: 5px; | ||
border-radius: 1px; | ||
animation: cursor 1s infinite; | ||
} | ||
|
||
@media (prefers-reduced-motion: reduce) { | ||
&__cursor { | ||
animation: none; | ||
} | ||
} | ||
|
||
} | ||
|
||
@keyframes cursor { | ||
0% { opacity: 0; } | ||
50% { opacity: 1; } | ||
100% { opacity: 0; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,235 @@ | ||
.post { | ||
width: 100%; | ||
max-width: 800px; | ||
text-align: left; | ||
padding: 20px; | ||
margin: 20px auto; | ||
@media #{$media-size-tablet} { | ||
max-width: 600px; | ||
} | ||
|
||
&-date { | ||
&:after { | ||
content: '—'; | ||
} | ||
} | ||
|
||
&-title { | ||
font-size: 2.625rem; | ||
margin: 0 0 20px; | ||
@media #{$media-size-phone} { | ||
font-size: 2rem; | ||
} | ||
|
||
a { | ||
text-decoration: none; | ||
} | ||
} | ||
|
||
&-tags { | ||
display: block; | ||
margin-bottom: 20px; | ||
font-size: 1rem; | ||
opacity: 0.5; | ||
|
||
a { | ||
text-decoration: none; | ||
} | ||
} | ||
|
||
&-content { | ||
margin-top: 30px; | ||
} | ||
|
||
&-cover { | ||
border-radius: 8px; | ||
margin: 40px -50px; | ||
width: $max-width; | ||
max-width: $max-width; | ||
overflow: hidden; | ||
@media #{$media-size-tablet} { | ||
margin: 20px 0; | ||
width: 100%; | ||
} | ||
} | ||
|
||
&-excerpt { | ||
color: grey; | ||
font-style: italic; | ||
} | ||
|
||
&-info { | ||
margin-top: 30px; | ||
font-size: 0.8rem; | ||
line-height: normal; | ||
@include dimmed; | ||
|
||
p { | ||
margin: 0.8em 0; | ||
} | ||
|
||
a:hover { | ||
border-bottom: 1px solid white; | ||
} | ||
|
||
svg { | ||
margin-right: 0.8em; | ||
} | ||
|
||
.tag { | ||
margin-right: 0.5em; | ||
|
||
&::before { | ||
content: "#"; | ||
} | ||
} | ||
|
||
.feather { | ||
display: inline-block; | ||
vertical-align: -.125em; | ||
width: 1em; | ||
height: 1em; | ||
} | ||
} | ||
|
||
&-audio { | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
padding-top: 20px; | ||
|
||
audio { | ||
width: 90%; | ||
} | ||
} | ||
|
||
.flag { | ||
border-radius: 50%; | ||
margin: 0 5px; | ||
} | ||
} | ||
|
||
.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; | ||
font-size: 0.8rem; | ||
text-transform: uppercase; | ||
text-decoration: none; | ||
letter-spacing: 0.1em; | ||
z-index: 1; | ||
// Default | ||
background: $light-background; | ||
color: $light-color-secondary; | ||
|
||
@media (prefers-color-scheme: dark) { | ||
background: $dark-background; | ||
color: $dark-color-secondary; | ||
} | ||
|
||
@media (prefers-color-scheme: light) { | ||
background: $light-background; | ||
color: $light-color-secondary; | ||
} | ||
|
||
[data-theme=dark] & { | ||
background: $dark-background; | ||
color: $dark-color-secondary; | ||
} | ||
|
||
[data-theme=light] & { | ||
background: $light-background; | ||
color: $light-color-secondary; | ||
} | ||
} | ||
|
||
hr { | ||
position: absolute; | ||
left: 0; | ||
right: 0; | ||
width: 100%; | ||
margin-top: 15px; | ||
z-index: 0; | ||
} | ||
} | ||
|
||
&__buttons { | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
padding-top: 35px; | ||
|
||
a { | ||
text-decoration: none; | ||
font-weight: bold; | ||
} | ||
} | ||
} | ||
|
||
.button { | ||
position: relative; | ||
display: inline-flex; | ||
align-items: center; | ||
justify-content: center; | ||
font-size: 1rem; | ||
font-weight: 600; | ||
border-radius: 8px; | ||
max-width: 100%; | ||
padding: 0; | ||
cursor: pointer; | ||
appearance: none; | ||
// Default | ||
background: $light-background-secondary; | ||
|
||
@media (prefers-color-scheme: dark) { | ||
background: $dark-background-secondary; | ||
} | ||
|
||
@media (prefers-color-scheme: light) { | ||
background: $light-background-secondary; | ||
} | ||
|
||
[data-theme=dark] & { | ||
background: $dark-background-secondary; | ||
} | ||
|
||
[data-theme=light] & { | ||
background: $light-background-secondary; | ||
} | ||
|
||
+ .button { | ||
margin-left: 10px; | ||
} | ||
|
||
a { | ||
display: flex; | ||
padding: 8px 16px; | ||
text-decoration: none; | ||
text-overflow: ellipsis; | ||
white-space: nowrap; | ||
overflow: hidden; | ||
} | ||
|
||
&__text { | ||
text-overflow: ellipsis; | ||
white-space: nowrap; | ||
overflow: hidden; | ||
} | ||
|
||
&.next .button__icon { | ||
margin-left: 8px; | ||
} | ||
|
||
&.previous .button__icon { | ||
margin-right: 8px; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ images: | |
- toolbar.png | ||
|
||
tags: | ||
- neo4j | ||
- Neo4j | ||
|
||
categories: | ||
- Open Source Projects | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.