Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
parasti committed Nov 1, 2023
1 parent 77ebc24 commit a67d5bc
Showing 1 changed file with 23 additions and 21 deletions.
44 changes: 23 additions & 21 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,27 +9,29 @@
<meta name="description" content="Play Neverball in the browser. Tilt the floor to roll a ball through an obstacle course before time runs out.">

<style>
html {
:root {
font-size: 10px;
padding: 0;
margin: 0;
background-image: linear-gradient(to bottom, black -50%, #1a6cb4 35%, #1a6cb4 65%, black 150%);
}

body {
font-size: 1.6rem;
padding: 0;
margin: 0;
font-family: Verdana, sans-serif;
font-weight: 400;
color: #fff;
background: #515158;
}

a {
color: #fff;
}

.container {
max-width: 820px;
padding: 0 8px;
max-width: 82rem;
padding: 0 0.8rem;
margin: 0 auto;
}

Expand All @@ -48,8 +50,8 @@

button#fullscreen {
display: flex;
width: 32px;
height: 32px;
width: 3.2rem;
height: 3.2rem;
padding: 0;
background: none;
border: none;
Expand All @@ -60,9 +62,9 @@
button#fullscreen::before {
content: '';
display: block;
width: 16px;
height: 16px;
border: 2px dashed #fff;
width: 1.6rem;
height: 1.6rem;
border: 0.2rem dashed #fff;
}

button#fullscreen:hover {
Expand Down Expand Up @@ -124,9 +126,9 @@
#status-line {
background: #67686d;
position: relative;
padding: 10px;
margin-bottom: 20px;
border-radius: 10px;
padding: 1rem;
margin-bottom: 2rem;
border-radius: 1rem;
overflow: hidden;
}

Expand All @@ -151,10 +153,10 @@
outline: none;
border: none;
color: #fff;
border-radius: 10px;
padding: 10px;
border-radius: 1rem;
padding: 1rem;
font-weight: bold;
font-size: 14px;
font-size: 1.4rem;
text-shadow: 0.08em 0.08em rgba(0, 0, 0, 0.5);
font-family: "DejaVu Sans", Verdana, sans-serif;
}
Expand All @@ -178,7 +180,7 @@

#screenshot {
width: 100%;
max-width: 320px;
max-width: 32rem;
height: auto;
}

Expand All @@ -194,8 +196,8 @@

.neverball-box {
background-color: rgba(25, 25, 25, 0.5);
padding: 10px;
border-radius: 10px;
padding: 1rem;
border-radius: 1rem;
}

.flex {
Expand All @@ -207,12 +209,12 @@
}

.gap-5 {
gap: 20px;
gap: 2rem;
}

.py-5 {
padding-top: 20px;
padding-bottom: 20px;
padding-top: 2rem;
padding-bottom: 2rem;
}

h1, h2 {
Expand Down

0 comments on commit a67d5bc

Please sign in to comment.