refactor: make styles, js common for posts
This commit is contained in:
parent
3865436f75
commit
2a8c3194d1
7 changed files with 143 additions and 87 deletions
59
styles/common.css
Normal file
59
styles/common.css
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
@font-face {
|
||||
font-family: "Signifier";
|
||||
src: url("public/signifier/Signifier-Regular.ttf");
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Signifier";
|
||||
src: url("public/signifier/Signifier-Italic.ttf");
|
||||
font-weight: normal;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Signifier";
|
||||
src: url("public/signifier/Signifier-Bold.ttf");
|
||||
font-weight: bold;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Signifier";
|
||||
src: url("public/signifier/Signifier-BoldItalic.ttf");
|
||||
font-weight: bold;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.graph {
|
||||
background-image: linear-gradient(
|
||||
to right,
|
||||
rgba(200, 200, 200, 0.4) 1px,
|
||||
transparent 1px
|
||||
),
|
||||
linear-gradient(to bottom, rgba(200, 200, 200, 0.4) 1px, transparent 1px);
|
||||
background-size: 3vw 3vw;
|
||||
}
|
||||
|
||||
.terminal-cursor {
|
||||
display: inline-block;
|
||||
width: 10px;
|
||||
height: 1em;
|
||||
background-color: white;
|
||||
border: 1px solid black;
|
||||
vertical-align: text-top;
|
||||
animation: blink 1s step-start infinite;
|
||||
}
|
||||
|
||||
@keyframes blink {
|
||||
50% {
|
||||
background-color: transparent;
|
||||
border-color: transparent;
|
||||
}
|
||||
}
|
||||
|
||||
.terminal-container {
|
||||
font-family: "Courier New", monospace;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue