Skip to content

Commit

Permalink
Update jz.css
Browse files Browse the repository at this point in the history
  • Loading branch information
jzbz committed Aug 11, 2024
1 parent fd5ef45 commit 225be78
Showing 1 changed file with 99 additions and 75 deletions.
174 changes: 99 additions & 75 deletions assets/css/jz.css
Original file line number Diff line number Diff line change
@@ -1,109 +1,133 @@
/* jz */

@font-face {
font-family: 'Geo';
font-style: normal;
font-weight: 400;
src: url('/assets/fonts/geo.woff2') format('woff2');
/* Global Styles */

:root {
--primary-color: #A9A9B3;
--background-color: #292A2D;
--highlight-color: #DEFF85;
}

@font-face {
font-family: 'Source Code Pro';
font-style: normal;
font-weight: 400;
src: url('/assets/fonts/scp.woff2') format('woff2');
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}

body {
margin: 0;
padding: 0;
font-size: 1rem;
line-height: 1.54;
background-color: #292A2D;
color: #A9A9B3;
display: flex;
min-height: 100vh;
flex-direction: column;
font-size: 1rem;
line-height: 1.54;
background-color: var(--background-color);
color: var(--primary-color);
display: flex;
min-height: 100vh;
flex-direction: column;
}

h1 {
font-family: 'Geo';
font-size: 3em;
margin: 0.5em 0;
/* Font Faces */

@font-face {
font-family: 'Geo';
font-style: normal;
font-weight: 400;
src: url('/assets/fonts/geo.woff2') format('woff2');
}

a {
color: inherit;
background-color: transparent;
text-decoration:none;
transition:color 1.5s ease-in;
@font-face {
font-family: 'Source Code Pro';
font-style: normal;
font-weight: 400;
src: url('/assets/fonts/scp.woff2') format('woff2');
}

a:hover {
color:#A6E22E;
text-decoration:none;
/* Header Styles */

.header {
background: #252627;
padding: 18px;
}

::selection {
color:#000;
background:#DEFF85;
.header_inner {
display: flex;
align-items: center;
justify-content: space-between;
margin: 0 auto;
width: 760px;
max-width: 100%;
}

.container {
justify-content: center;
text-align: center;
.logo {
display: flex;
align-items: center;
text-decoration: none;
font-weight: 700;
font-family: 'Source Code Pro';
font-size: 1.25rem;
}

.logo_cursor {
display: inline-block;
width: 10px;
height: 1rem;
background: var(--highlight-color);
margin-left: 5px;
border-radius: 1px;
animation: cursor 1s infinite;
}

@keyframes cursor {
0% {
opacity: 0
}
50% {
opacity: 1
}
100% {
opacity: 0
}
}

/* Content Styles */

.content {
display: flex;
flex-direction: column;
flex: 1 auto;
align-items: top;
justify-content: stretch;
margin: 300px 0;
display: flex;
flex-direction: column;
flex: 1 auto;
align-items: top;
justify-content: stretch;
margin: 300px 0;
}

.header {
background: #252627;
padding: 18px;
.container {
justify-content: center;
text-align: center;
}

.header_inner {
display: flex;
align-items: center;
justify-content: space-between;
margin: 0 auto;
width: 760px;
max-width: 100%;
h1 {
font-family: 'Geo';
font-size: 3em;
margin: 0.5em 0;
}

.logo {
display: flex;
align-items: center;
text-decoration: none;
font-weight: 700;
font-family: 'Source Code Pro';
font-size: 1.25rem;
a {
color: inherit;
background-color: transparent;
text-decoration: none;
transition: color 1.5s ease-in;
}

.logo_cursor {
display: inline-block;
width: 10px;
height: 1rem;
background: #DEFF85;
margin-left: 5px;
border-radius: 1px;
animation: cursor 1s infinite;
a:hover {
color: #A6E22E;
text-decoration: none;
}

@keyframes cursor {
0% {opacity: 0}
50% {opacity: 1}
100% {opacity: 0}
::selection {
color: #000;
background: var(--highlight-color);
}

.icon {
width: 25px;
height: 25px;
padding: 0 0 0 15px;
width: 25px;
height: 25px;
padding: 0 0 0 15px;
}

0 comments on commit 225be78

Please sign in to comment.