Skip to content

Commit

Permalink
Merge pull request #2 from W0x3R/dev-page
Browse files Browse the repository at this point in the history
feat: moved the header from the footer to the main (Sun, Jan 14, 2024…
  • Loading branch information
W0x3R authored Jan 14, 2024
2 parents bcbf17f + 7bb0e0a commit 0489d1a
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 20 deletions.
2 changes: 1 addition & 1 deletion css/style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 3 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@
<body>
<div class="container">
<main class="main">
<h1 class="main__title"><a href="https://github.com/W0x3R" target="_blank">Naughts
and
crosses</a></h1>
<div class="main__res"></div>
<div class="main__square">
<div class="main__square-item"></div>
Expand All @@ -35,11 +38,6 @@
</div>
<button class="main__button">NEW GAME</button>
</main>
<div class="footer">
<h1 class="footer__title"><a href="https://github.com/W0x3R" target="_blank">Naughts
and
crosses</a></h1>
</div>
</div>
<script src="./js/index.js"></script>
</body>
Expand Down
27 changes: 13 additions & 14 deletions src/sass/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,19 @@ body {
@include flexBox(column, center, center);
justify-content: center;
flex: 1;
gap: 20px;
gap: 10px;

&__title {
font-size: clamp(22px, 5vw, 35px);
transition: 0.3s;
color: #ffffff;

@media (hover: hover) {
&:hover {
color: #e2dcdc;
}
}
}

&__res {
@include flexBox(column, center, center);
Expand Down Expand Up @@ -106,17 +118,4 @@ body {
}
}

.footer__title {
margin-top: 0;
font-size: clamp(22px, 5vw, 35px);
transition: 0.3s;
color: #ffffff;

@media (hover: hover) {
&:hover {
color: #e2dcdc;
}
}
}

@import 'adaptive';

0 comments on commit 0489d1a

Please sign in to comment.