Skip to content

Commit

Permalink
Update styles and add font stylesheet
Browse files Browse the repository at this point in the history
  • Loading branch information
renorari committed Jan 24, 2024
1 parent 8e82341 commit d637625
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 9 deletions.
59 changes: 52 additions & 7 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
<meta name="twitter:site" content="@gbudou">
<meta name="theme-color" content="#c866e8">

<link rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@24,400,0,0" />
<link rel="stylesheet" href="/styles/main.css">

<style>
Expand Down Expand Up @@ -51,28 +53,71 @@
}

#logo {
width: 5em;
width: 5rem;
height: auto;
margin: 0 auto;
display: block;
}

header > div {
header>#logo-container {
display: flex;
align-items: center;
justify-content: center;
}

header>#buttons {
font-family: 'Noto Sans JP', sans-serif;
margin-top: 10%;
}

header>*:first-child {
margin-top: 10%;
}

header>#more-icon {
position: absolute;
bottom: 1.5rem;
left: 50%;
transform: translateX(-50%);
font-size: 3rem;
color: var(--text-color);
animation: more-icon-animation 1s infinite;
text-shadow: 0 .25em .5em var(--shadow-color-light);
}

@keyframes more-icon-animation {
0% {
transform: translateX(-50%) translateY(0);
}

50% {
transform: translateX(-50%) translateY(1rem);
}

100% {
transform: translateX(-50%) translateY(0);
}
}
</style>
</head>

<body>
<header>
<div>
<div id="logo-container">
<img id="logo" src="/images/logo1.svg" alt="logo">
<h1>PioneOS</h1>
</div>
<br>
<p>Be stable, be nimble, be Pione.</p>

<div id="buttons">
<a href="./get.html" class="button rainbow-hover">PioneOSを入手</a>
<a href="https://github.com/pione-os" class="button secondary rainbow-hover">GitHubを見る</a>
</div>

<span id="more-icon" class="material-symbols-rounded">
expand_more
</span>
</header>

<!--<nav>
Expand All @@ -88,11 +133,11 @@ <h1>PioneOS</h1>
<img id="laptop" src="/images/laptop.png" alt="Laptop">
</div>
<p class="center">
<a href="./get.html" class="button rainbow-hover">PioneOSを入手する</a>
<a href="https://github.com/pione-os" class="button secondary rainbow-hover">GitHub</a>
<a href="./get.html" class="button rainbow-hover">PioneOSを入手</a>
<a href="https://github.com/pione-os" class="button secondary rainbow-hover">GitHubを見る</a>
<!--<a class="button secondary button-disabled">
開発者を応援する-->
</a>
開発者を応援
</a>-->
</p>
</div>
</section>
Expand Down
8 changes: 6 additions & 2 deletions styles/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@ h6 {
box-shadow: 0 .25em .5em var(--shadow-color-light);
}

.button:visited {
color: #fff;
}

.button.secondary {
background: var(--secondary-theme-color);
}
Expand Down Expand Up @@ -170,13 +174,13 @@ header {
}

header h1 {
font-size: 4rem;
font-size: 5rem;
text-shadow: 0 .25em .5em var(--shadow-color);
margin-bottom: 0;
}

header p {
font-size: 1.5rem;
font-size: 2rem;
text-shadow: 0 .25em .5em var(--shadow-color);
margin-top: 0;
}
Expand Down

0 comments on commit d637625

Please sign in to comment.