Skip to content

Commit

Permalink
Deploying to gh-pages from @ 1c5a6b3 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
beumsk committed Mar 21, 2024
1 parent 81ce827 commit 1fb769e
Show file tree
Hide file tree
Showing 105 changed files with 333 additions and 286 deletions.
2 changes: 1 addition & 1 deletion 404.html

Large diffs are not rendered by default.

File renamed without changes.
File renamed without changes.
File renamed without changes.

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

2 changes: 2 additions & 0 deletions _next/static/css/dbaf21950d88f081.css

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions _next/static/css/f8a030165156903a.css

This file was deleted.

2 changes: 1 addition & 1 deletion blog.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions blog/change-nextjs-error-pages.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions blog/css-only-accordion.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions blog/css-only-responsive-navbar.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions blog/css-only-toggle-switch-button.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions blog/fix-the-window-is-not-defined-error.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions blog/generate-a-sitemap-in-nextjs.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions blog/get-web-analytics-in-nextjs-with-goatcounter.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions blog/markdown-tutorial.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions blog/nextjs-dark-mode.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions blog/set-nextjs-lang.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions blog/set-up-eslint-into-nextjs.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions blog/set-up-sass-in-the-best-way.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion projects.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion projects/brick-breaker.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion projects/calculator.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion projects/clock.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion projects/color-game.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion projects/connect-4.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion projects/dad-jokes.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion projects/date-counter.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion projects/drum-machine.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion projects/eli-paris.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion projects/etch-a-sketch.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion projects/giphy-search.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion projects/hangman.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion projects/higher-or-lower.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion projects/kpmg-careers.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion projects/kpmg-law.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion projects/memory.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion projects/minesweeper.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion projects/movies.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion projects/omega.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion projects/onomo.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion projects/padel.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion projects/pokemon.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion projects/quiz.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion projects/quotes.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion projects/recipes.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion projects/shop.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion projects/simon-game.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion projects/sliding-puzzle.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion projects/snake.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion projects/star-match.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion projects/tetris.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion projects/tic-tac-toe.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion projects/timer.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion projects/whack-a-donkey-kong.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion resume-remy-beumier.html

Large diffs are not rendered by default.

227 changes: 18 additions & 209 deletions styles/base/_general.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ body {
font-family: system-ui;
font-size: 1rem;
min-width: 320px;
color-scheme: light dark;
scroll-behavior: smooth;
}

#__next main {
Expand All @@ -19,6 +21,8 @@ main {
font-family: var(--font-body);
background-color: var(--bg);
color: var(--text2);
display: flex;
flex-direction: column;
}

h1 {
Expand Down Expand Up @@ -109,6 +113,7 @@ a {
&:hover,
&:focus {
color: var(--primary);
transition: all var(--transition);
}
}

Expand All @@ -122,6 +127,10 @@ p {
}
}

strong {
color: var(--primary);
}

ul,
ol {
margin: 0;
Expand Down Expand Up @@ -154,147 +163,18 @@ figure {
button {
line-height: 1.4;
color: inherit;
border: solid 1px var(--text);
background: none;
margin: 0;
padding: 0.25rem 0.5rem;
cursor: pointer;

&:hover,
&:focus {
color: var(--primary);
}
}

strong {
color: var(--primary);
}

main {
display: flex;
flex-direction: column;
}

.sr-only {
text-indent: -10000px;
height: 0;
}

.ch-80 {
max-width: 80ch;
}

.container {
width: 100%;
max-width: calc(100% - 40px);
margin: 0 auto;

@media screen and (min-width: 768px) {
max-width: 720px;
}

@media screen and (min-width: 992px) {
max-width: 960px;
}

@media screen and (min-width: 1200px) {
max-width: 1140px;
}

&.narrow {
@media screen and (min-width: 768px) {
max-width: 80ch;
}
}
}

.cols {
display: flex;
margin-left: -1rem;
margin-right: -1rem;

&.cols-md,
&.cols-lg,
&.cols-xl {
display: block;
}

.col {
flex-basis: 0;
flex-grow: 1;
flex-shrink: 1;
padding-left: 1rem;
padding-right: 1rem;

&.is-3 {
flex: none;
width: 25%;
}

&.is-4 {
flex: none;
width: 33.33333%;
}

&.is-6 {
flex: none;
width: 50%;
}

&.is-8 {
flex: none;
width: 66.66667%;
}

&.is-9 {
flex: none;
width: 75%;
}
}
}

@media screen and (min-width: 768px) {
.cols.cols-md {
display: flex;
}
}

@media screen and (min-width: 992px) {
.cols.cols-lg {
display: flex;
}
}

@media screen and (min-width: 1200px) {
.cols.cols-xl {
display: flex;
&:disabled {
cursor: not-allowed;
opacity: 0.5;
}
}

.over-h {
overflow: hidden;
}

.centered {
display: flex;
justify-content: center;
align-items: center;
}

.centered-v {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}

.space-between-x {
display: flex;
flex-direction: row;
justify-content: space-between;
}

.space-between-y {
display: flex;
flex-direction: column;
justify-content: space-between;
}

.btn,
button {
color: var(--text2);
Expand All @@ -309,7 +189,7 @@ button {
left: -0.125rem;
box-shadow: 4px 4px var(--primary-light);
cursor: pointer;
transition: all 0.2s;
transition: all var(--transition);

@media screen and (min-width: 768px) {
top: 0;
Expand All @@ -323,82 +203,11 @@ button {
border-color: var(--text2);
}


&:not(.active):hover,
&:not(.active):focus {
color: var(--primary);
top: -0.125rem;
left: -0.125rem;
box-shadow: 4px 4px var(--primary-light);
}
}

.t-center {
text-align: center;
}

.t-ellipsis {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 100%;
}

.skewed {
position: relative;

&:nth-of-type(even)::before {
background: var(--bg2);
}

&::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
transform: skewY(2deg);
z-index: 0;
}
}

/* target IE10 & IE11 */
#ie-banner {
display: none;
}

@media all and (-ms-high-contrast: none),
(-ms-high-contrast: active) {
#ie-banner {
display: block;
position: fixed;
left: 0;
right: 0;
bottom: 0;
z-index: 100;
background: #009688;
color: #ffffff;
height: 60px;
line-height: 60px;
font-size: 20px;
text-align: center;
}

.grid .card {
margin-bottom: 32px;
}

@media screen and (min-width: 768px) {
.grid {
display: flex;
flex-direction: row;
justify-content: space-between;
flex-wrap: wrap;

.card {
width: 30%;
}
}
}
}
Loading

0 comments on commit 1fb769e

Please sign in to comment.