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.

375 lines
6.9 KiB

@font-face {
font-family: "Raj";
src: url("/assets/font/rajdhani/Rajdhani-Regular.ttf");
font-weight: normal;
font-display: swap;
}
@font-face {
font-family: "Raj";
src: url("/assets/font/rajdhani/Rajdhani-Bold.ttf");
font-weight: bold;
font-display: swap;
}
@font-face {
font-family: "Raj";
src: url("/assets/font/rajdhani/Rajdhani-Light.ttf");
font-weight: 200;
font-display: swap;
}
@font-face {
font-family: "Raj";
src: url("/assets/font/rajdhani/Rajdhani-Medium.ttf");
font-weight: 300;
font-display: swap;
}
@font-face {
font-family: "Raj";
src: url("/assets/font/rajdhani/Rajdhani-SemiBold.ttf");
font-weight: 400;
font-display: swap;
}
body {
background: #5e6572;
color: #c9d4e2;
font-family: "Raj", sans-serif;
margin: 0;
padding: 0;
}
.container {
display: flex;
justify-content: center;
width: 100%;
height: 100%;
text-align: left;
}
h1 {
font-size: 64pt;
margin: 0;
padding: 0;
}
h2 {
font-size: 36pt;
padding-top: 70px;
padding-bottom: 0;
margin: 0;
font-weight: 300;
}
h3 {
font-size: 24pt;
text-transform: lowercase;
margin: 0;
padding: 30px 0 0;
font-weight: 300;
}
h4 {
font-size: 18pt;
margin: 0;
padding: 40px 0 0;
font-weight: 300;
}
p {
font-size: 18pt;
font-weight: 300;
}
li {
font-size: 16pt;
font-weight: 300;
}
code {
font-size: 12pt;
background: #3e4552;
padding: 5px;
border-radius: 5px;
}
pre code {
display: block;
}
.inner {
padding-bottom: 10%;
max-width: min(70%, 1000px);
min-height: 100vh;
}
.theme-hide {
display: none !important;
}
button,
a.button,
a.button-small {
border: 1px solid #3e4552;
font-family: "Raj", sans-serif;
font-weight: 300;
font-size: 16pt;
padding: 5px 20px;
border-radius: 5px;
transition: background-color 0.1s linear;
text-decoration: none;
color: #c9d4e2;
background: rgba(0, 0, 0, 0);
}
button:hover,
a.button:hover,
a.button-small:hover {
cursor: pointer;
background: #3e4552;
}
button:active,
a.button:active,
a.button-small:active {
background: #323742;
}
a {
color: #c9d4e2;
}
a.button-small,
button.small {
padding: 1px 10px;
background: #c9d4e2;
border: none;
color: #3e4552;
margin: 5px;
}
a.button-small:hover,
button.small:hover {
color: #c9d4e2;
background: #3e4552;
}
.form-group {
margin: 10px;
}
.form-group label {
font-size: 14pt;
font-weight: 300;
text-transform: lowercase;
}
.form-group input,
.form-group textarea,
.form-group select {
border: 1px solid #3e4552;
border-radius: 5px;
padding: 7px;
font-size: 14pt;
min-width: 400px;
background: rgba(0, 0, 0, 0);
color: #c9d4e2;
}
.form-group input::placeholder,
.form-group textarea::placeholder,
.form-group select::placeholder {
color: #c9d4e2;
}
footer {
background: #3e4552;
display: flex;
flex-direction: row;
justify-content: center;
padding-bottom: 50px;
}
footer ul {
list-style-type: none;
margin: 0;
padding: 50px 0 0;
}
footer ul li {
display: inline;
padding-left: 20px;
padding-right: 20px;
}
footer ul li a {
color: #a9b4c2;
text-decoration: none;
font-size: 16pt;
font-weight: 300;
transition: all 0.5s;
}
footer ul li a:hover {
color: #ffffff;
}
footer .col {
margin: 0 30px;
}
footer .by-line {
display: flex;
flex-direction: column;
justify-content: center;
font-size: 36pt;
font-weight: 300;
text-align: right;
padding-top: 30px;
}
footer .copy {
font-size: 14pt;
font-weight: 200;
}
footer ul li {
display: block;
margin: 10px 0;
}
footer #tagline:hover {
cursor: pointer;
}
footer .auth-container {
display: flex;
flex-direction: row;
}
footer .auth-container .profile {
margin-right: 15px;
margin-top: 15px;
}
.button-links {
margin: 20px;
}
.button-links a {
margin-right: 10px;
}
@media (max-width: 480px) {
.container {
justify-content: left;
padding: 20px;
width: calc(100% - 40px);
}
.inner {
width: 100%;
max-width: unset;
}
.form-group input,
.form-group textarea,
.form-group select {
min-width: 100%;
}
footer {
flex-direction: column;
}
footer .by-line {
text-align: left;
padding: 30px;
}
footer .links {
padding: 20px 0 0;
}
}
.hero {
margin-top: 100px;
}
.hero h1 {
font-weight: 300;
text-transform: lowercase;
}
.hero h2 {
font-size: 36pt;
padding: 0;
font-weight: 300;
margin: 10px 0 0;
text-transform: lowercase;
}
.hero p {
font-size: 20pt;
}
section#about .about-container {
display: flex;
flex-direction: row;
}
section#about .img {
flex-grow: 0;
flex-shrink: 0;
}
section#about .img img {
max-width: 300px;
margin-top: 30px;
margin-right: 20px;
border-radius: 5px;
}
section#work .timeline-group .timeline-year {
font-size: 18pt;
margin-top: 40px;
}
section#work .timeline-group .timeline-content {
background: #3e4552;
padding: 20px;
border-radius: 5px;
margin: 20px;
}
section#work .timeline-group .timeline-content h3 {
padding: 0;
}
section#work .timeline-group .timeline-content p {
margin: 0;
font-size: 16pt;
}
section#contact .contact-container {
display: flex;
flex-direction: row;
}
section#contact .contact-container .message {
text-align: right;
margin-right: 20px;
}
section#recent .feed-item {
background: #3e4552;
padding: 20px;
margin: 20px;
border-radius: 5px;
}
section#recent .feed-item .feed-category {
display: flex;
}
section#recent .feed-item .feed-category .tag {
background: #5e6572;
padding: 2px 5px;
border-radius: 2px;
font-size: 14pt;
}
section#recent .feed-item .bottom {
display: flex;
flex-direction: row;
justify-content: end;
}
section#recent .feed-item .bottom .stamp {
margin-left: 20px;
font-size: 14pt;
font-weight: 300;
text-align: right;
flex: 1;
}
section#recent a.button {
margin-left: 20px;
}
section#auth {
max-width: 500px;
}
section#auth h3 {
margin-bottom: 30px;
}
@media (max-width: 480px) {
.hero h1 {
font-size: 48pt;
}
section#about .about-container {
display: flex;
flex-direction: column;
}
section#work .timeline-content {
margin: 20px 0 !important;
}
section#contact .contact-container {
display: flex;
flex-direction: column;
}
section#contact .contact-container .message {
text-align: left;
}
section#recent .feed-item {
margin: 20px 0;
}
section#recent a.button {
margin-left: 0;
}
section#recent .bottom {
flex-wrap: wrap;
}
section#recent .bottom .stamp {
max-width: 100%;
white-space: pre-wrap;
word-wrap: break-word;
}
}