130 lines
2 KiB
CSS
130 lines
2 KiB
CSS
@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;
|
|
}
|
|
|
|
html,
|
|
body {
|
|
font-family: "Signifier", serif;
|
|
overflow: hidden;
|
|
margin: 0;
|
|
padding: 0;
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
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;
|
|
}
|
|
|
|
header,
|
|
footer {
|
|
font-size: 1.5em;
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
align-items: center;
|
|
padding: 20px;
|
|
}
|
|
|
|
.main {
|
|
flex: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
header a,
|
|
footer a {
|
|
margin-left: 20px;
|
|
}
|
|
|
|
ul {
|
|
list-style: none;
|
|
}
|
|
|
|
a {
|
|
color: inherit;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.topics {
|
|
padding-left: 30px;
|
|
font-size: 2.5em;
|
|
margin: 0;
|
|
}
|
|
|
|
.topic {
|
|
margin-bottom: 25px;
|
|
transition: color 0.5s ease;
|
|
}
|
|
|
|
.topic.software:hover {
|
|
color: #0073e6;
|
|
}
|
|
.topic.economics:hover {
|
|
color: #009975;
|
|
}
|
|
.topic.trading:hover {
|
|
color: #d50032;
|
|
}
|
|
.topic.interview-problems:hover {
|
|
color: #6a0dad;
|
|
}
|
|
|
|
.logo {
|
|
height: 40px;
|
|
}
|
|
|
|
.topic a {
|
|
position: relative;
|
|
display: inline-block;
|
|
color: inherit;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.topic a::after {
|
|
content: "";
|
|
height: 2px;
|
|
display: block;
|
|
margin-top: 4px;
|
|
background: currentColor;
|
|
transition:
|
|
width 0.5s ease,
|
|
right 0.5s ease;
|
|
}
|
|
|
|
.topic a:hover::after {
|
|
width: 100%;
|
|
right: 0;
|
|
}
|
|
|
|
.topic a:not(:hover)::after {
|
|
width: 0;
|
|
right: 100%;
|
|
}
|