first few things
This commit is contained in:
parent
c0e7721a87
commit
e3fff66bf6
4 changed files with 77 additions and 2 deletions
1
.gitattributes
vendored
Normal file
1
.gitattributes
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
BIN
assets/monogram.ttf
(Stored with Git LFS)
Normal file
BIN
assets/monogram.ttf
(Stored with Git LFS)
Normal file
Binary file not shown.
11
index.html
11
index.html
|
@ -4,16 +4,23 @@
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
|
||||||
<title>A Page - My Site</title>
|
<title>0x76.dev</title>
|
||||||
<meta name="description" content="Page description">
|
<meta name="description" content="Page description">
|
||||||
|
|
||||||
<link rel="stylesheet" href="/style.css">
|
<link rel="stylesheet" href="/style.css">
|
||||||
<link rel="icon" href="/favicon.ico">
|
<link rel="icon" href="/favicon.ico">
|
||||||
<link rel="icon" href="/favicon.svg" type="image/svg+xml">
|
<link rel="icon" href="/favicon.svg" type="image/svg+xml">
|
||||||
<meta name="theme-color" content="#8000FF">
|
<meta name="theme-color" content="#0FO">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<script src="/script.js" type="module"></script>
|
<script src="/script.js" type="module"></script>
|
||||||
|
<main>
|
||||||
|
<section id="main">
|
||||||
|
<h1>0x76.dev</h1>
|
||||||
|
<p>Hiiiii~</p>
|
||||||
|
<span class="blinking-cursor"></span>
|
||||||
|
</section>
|
||||||
|
</main>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
64
style.css
64
style.css
|
@ -0,0 +1,64 @@
|
||||||
|
:root {
|
||||||
|
--color: #7fffbf;
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: "monogram";
|
||||||
|
src: url("./assets/monogram.ttf");
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
background-color: black;
|
||||||
|
color: var(--color);
|
||||||
|
font-family: "monogram", monospace;
|
||||||
|
|
||||||
|
/* x-offset y-offset blur color */
|
||||||
|
text-shadow: 0 0 2px #0f0, -2px 0 2px #f00, 2px 0 2px #00f;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
font-size: 6rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
p {
|
||||||
|
font-size: 2rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
main {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
|
||||||
|
display: grid;
|
||||||
|
column-gap: 3rem;
|
||||||
|
row-gap: 3rem;
|
||||||
|
|
||||||
|
grid-template-columns: 1fr 1fr 1fr;
|
||||||
|
grid-template-rows: 25% 1fr 1fr;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
main>section#main {
|
||||||
|
grid-column: 2;
|
||||||
|
grid-row: 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
main>section {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
main>section>p:after {
|
||||||
|
content: "";
|
||||||
|
width: 1ch;
|
||||||
|
height: 0.6em;
|
||||||
|
background: var(--color);
|
||||||
|
display: inline-block;
|
||||||
|
|
||||||
|
animation: blink 1.5s steps(2) infinite;
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes blink {
|
||||||
|
0% {
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue