Skip to content

Commit

Permalink
Merge branch 'main' into 191-serviceworkers-show-html-instead-of-raw
Browse files Browse the repository at this point in the history
  • Loading branch information
bsmth authored Mar 7, 2024
2 parents 13d2645 + 50234c8 commit 9b433cb
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 500 deletions.
22 changes: 3 additions & 19 deletions web-workers/simple-shared-worker/style.css
Original file line number Diff line number Diff line change
@@ -1,17 +1,8 @@
html {
background-color: #7d2663;
background-color: rgb(230, 230, 230);
font-family: sans-serif;
}

h1 {
margin: 0;
font-size: 15vw;
letter-spacing: -0.2rem;
position: absolute;
top: 0;
z-index: -1;
}

p {
margin: 0 0 1rem 0;
}
Expand All @@ -20,15 +11,8 @@ p {
padding: 4vw;
width: 75%;
margin: 3vw auto;
background-color: rgba(255, 255, 255, 0.7);
border: 5px solid black;
opacity: 0.3;
transition: 1s all;
}

.controls:hover,
.controls:focus {
opacity: 1;
border: 2px solid;
border-radius: 6px;
}

.controls label,
Expand Down
38 changes: 12 additions & 26 deletions web-workers/simple-web-worker/style.css
Original file line number Diff line number Diff line change
@@ -1,40 +1,26 @@
html {
background-color: #7D2663;
font-family: sans-serif;
}

h1 {
margin: 0;
font-size: 20vmin;
letter-spacing: -0.2rem;
position: absolute;
top: 0;
z-index: -1;
background-color: rgb(230, 230, 230);
font-family: sans-serif;
}

p {
margin: 0;
margin: 0 0 1rem 0;
}

.controls {
padding: 4vw;
width: 75%;
margin: 10vw auto;
background-color: rgba(255,255,255,0.7);
border: 5px solid black;
opacity: 0.3;
transition: 1s all;
padding: 4vw;
width: 75%;
margin: 3vw auto;
border: 2px solid;
border-radius: 6px;
}

.controls:hover, .controls:focus {
opacity: 1;
}

.controls label, .controls p, .controls input {
font-size: 3vw;
.controls label,
.controls p,
.controls input {
font-size: 3vw;
}

.controls div {
padding-bottom: 1rem;
}

15 changes: 0 additions & 15 deletions webgl-examples/tutorial/tetrahedron/index.html

This file was deleted.

Loading

0 comments on commit 9b433cb

Please sign in to comment.