feat: add index page
This commit is contained in:
parent
2a86ee36a0
commit
b98d0afa14
2 changed files with 63 additions and 0 deletions
23
index.html
Normal file
23
index.html
Normal file
|
@ -0,0 +1,23 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
||||
<title>Stories</title>
|
||||
<meta name="description" content="">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="stylesheet" href="src/index.css">
|
||||
</head>
|
||||
<body>
|
||||
<h1>Stories</h1>
|
||||
<ul>
|
||||
<li class="story-card">
|
||||
<a href="stories/drifting.html">Drifting</a>
|
||||
</li>
|
||||
|
||||
<li class="story-card">
|
||||
<a href="stories/drifting.html">Drifting</a>
|
||||
</li>
|
||||
</ul>
|
||||
</body>
|
||||
</html>
|
40
src/index.css
Normal file
40
src/index.css
Normal file
|
@ -0,0 +1,40 @@
|
|||
@import url(https://fonts.bunny.net/css?family=nanum-pen-script:400);
|
||||
|
||||
html, body {
|
||||
font-family: 'Nanum Pen Script', handwriting;
|
||||
font-size: 24px;
|
||||
background-color: #222034;
|
||||
color: white;
|
||||
}
|
||||
|
||||
body {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.story-card {
|
||||
display: inline-block;
|
||||
background-color: #e0c9a6;
|
||||
padding: 1rem;
|
||||
border: 1px solid black;
|
||||
border-radius: 1rem;
|
||||
}
|
||||
|
||||
a {
|
||||
font-weight: 500;
|
||||
color: #646cff;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: #535bf2;
|
||||
}
|
||||
|
||||
ul {
|
||||
list-style: none;
|
||||
display: grid;
|
||||
grid-template-columns: auto auto;
|
||||
max-width: 720px;
|
||||
width: 100%;
|
||||
gap: 1rem;
|
||||
}
|
Loading…
Reference in a new issue