87 lines
2.6 KiB
CSS
87 lines
2.6 KiB
CSS
@import url("https://fonts.googleapis.com/css2?family=Roboto&display=swap");
|
|
.roboto {
|
|
font-family: 'Roboto', sans-serif; }
|
|
|
|
@font-face {
|
|
font-family: "JetBrains Mono";
|
|
src: url("../fonts/woff/JetBrainsMono-Regular.woff") format("woff"), url("../fonts/woff2/JetBrainsMono-Regular.woff2") format("woff2"); }
|
|
|
|
.jetbrains-mono, body {
|
|
font-family: 'JetBrains Mono'; }
|
|
|
|
body {
|
|
height: 97.5vh;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: #212121;
|
|
color: #fff; }
|
|
|
|
.main {
|
|
width: 100%;
|
|
text-align: center; }
|
|
.main #date-text {
|
|
padding-top: 15px;
|
|
color: #d9d9d9; }
|
|
.main #search-bar {
|
|
width: 50%;
|
|
margin: 0 auto 50px auto;
|
|
height: 45px;
|
|
padding-top: 35px; }
|
|
.main #search-bar input {
|
|
height: inherit;
|
|
width: 100%;
|
|
background: #2e2e2e;
|
|
box-shadow: none;
|
|
border: none;
|
|
text-align: center;
|
|
border-radius: 6px;
|
|
outline: none;
|
|
padding: 7px 14px;
|
|
font-size: 18px;
|
|
color: #fff; }
|
|
.main #search-bar input:focus {
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
|
|
transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); }
|
|
@media only screen and (max-width: 791px) {
|
|
.main #search-bar {
|
|
width: 65%; } }
|
|
.main #other-content {
|
|
margin: 40px auto;
|
|
padding: 10px 0; }
|
|
.main #other-content .sqr {
|
|
vertical-align: top;
|
|
display: inline-block;
|
|
margin-left: 5px;
|
|
margin-right: 5px;
|
|
width: 170px;
|
|
background: #2e2e2e;
|
|
padding: 15px 15px;
|
|
border-radius: 6px;
|
|
min-height: 150px; }
|
|
.main #other-content .sqr h4 {
|
|
font-size: 18px;
|
|
margin: 15px; }
|
|
.main #other-content .sqr:hover {
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
|
|
transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); }
|
|
.main #other-content .sqr a {
|
|
color: #9E9E9E;
|
|
font-size: 16px;
|
|
transition: .1s ease-in;
|
|
display: block;
|
|
text-decoration: none;
|
|
line-height: 22px; }
|
|
.main #other-content .sqr a:hover {
|
|
color: #fff;
|
|
text-decoration: none;
|
|
transition: .1s ease-in; }
|
|
.main #other-content .media h4, .main #other-content .media a:hover {
|
|
color: #4DD0E1; }
|
|
.main #other-content .work h4, .main #other-content .work a:hover {
|
|
color: #F06292; }
|
|
.main #other-content .social h4, .main #other-content .social a:hover {
|
|
color: #FFF176; }
|
|
.main #other-content .others h4, .main #other-content .others a:hover {
|
|
color: #81C784; }
|