Skip to content

Commit

Permalink
Hide newsletter on kiosk mode
Browse files Browse the repository at this point in the history
  • Loading branch information
jonobr1 committed Feb 11, 2025
1 parent 7efa6e4 commit 78c00b2
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 24 deletions.
1 change: 1 addition & 0 deletions styles/main.css

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

2 changes: 1 addition & 1 deletion styles/main.css.map

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

32 changes: 9 additions & 23 deletions styles/main.less
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@body-family: 'Lucida Grande', verdana, sans-serif;
@font-family: 'Inconsolata', Menlo, Courier New, Courier, Mono, monospace;
@font-family: 'Inconsolata', Menlo, Courier New, Courier, Mono, monospace;
@font-size: 16px;
@line-height: @font-size * 2;
@ease-out-circ: cubic-bezier(0, 0.55, 0.45, 1);
Expand Down Expand Up @@ -87,7 +87,6 @@ body {
}

#content {

position: absolute;
top: 0;
left: 0;
Expand All @@ -101,11 +100,9 @@ body {
#stage {
background: rgb(181, 181, 181);
}

}

#hint {

position: absolute;
left: 0;
right: 0;
Expand Down Expand Up @@ -178,11 +175,13 @@ body {
user-select: auto;
pointer-events: all;
}

}

body.kiosk .ios-app-store {
display: none !important;
body.kiosk {
.newsletter-signup,
.ios-app-store {
display: none !important;
}
}

#embed {
Expand All @@ -208,7 +207,6 @@ body.kiosk .ios-app-store {
}

#merchandise {

position: fixed;
left: 0;
right: 0;
Expand Down Expand Up @@ -257,7 +255,6 @@ body.kiosk .ios-app-store {
// }

.container {

background: white;
overflow: auto;
padding: @line-height;
Expand Down Expand Up @@ -302,7 +299,6 @@ body.kiosk .ios-app-store {
}

ul {

@black: rgb(51, 51, 51);
text-align: center;
font-family: 'Helvetica Neue', Arial, sans-serif;
Expand All @@ -311,14 +307,12 @@ body.kiosk .ios-app-store {
color: @black;

li {

list-style: none;
display: inline-block;
margin-left: (@font-size * 0.5);
margin-right: (@font-size * 0.5);

&.poster {

@width: 170px;
@height: 312px;

Expand All @@ -336,21 +330,19 @@ body.kiosk .ios-app-store {
}

div.thumbnail {

background-color: white;
background-size: 200%;
background-position: 50% 20%;
background-repeat: no-repeat;
border-bottom: @border-width solid @border-color;
height: @width - @border-width * 2;

}

#synesthesia {
background-image: url(https://m1.behance.net/rendition/modules/102811007/disp/ba88168e188e18adb93119aec9a708c7.jpg);
}
#two-polygon {
background-image: url(https://m1.behance.net/rendition/modules/89572825/disp/283766537aa70deff9da67506f7b1508.jpg);
background-image: url(https://m1.behance.net/rendition/modules/89572825/disp/283766537aa70deff9da67506f7b1508.jpg);
}

p {
Expand Down Expand Up @@ -393,13 +385,9 @@ body.kiosk .ios-app-store {
margin-left: 15px;
}
}

}

}

}

}

.app-cta-container {
Expand Down Expand Up @@ -447,11 +435,9 @@ body.kiosk .ios-app-store {
color: #333;
}
}

}

#lobby {

position: fixed;
top: 50%;
left: 50%;
Expand All @@ -462,7 +448,8 @@ body.kiosk .ios-app-store {
position: relative;
width: @d;
height: @d;
background: rgba(255, 255, 255, 0.9) url(../images/ajax-loader.svg) center center no-repeat;
background: rgba(255, 255, 255, 0.9) url(../images/ajax-loader.svg) center
center no-repeat;
background-size: (@d * 0.5) (@d * 0.5);
margin-left: -(@d * 0.5);
margin-top: -(@d * 0.5);
Expand All @@ -483,7 +470,6 @@ body.kiosk .ios-app-store {
width: 300px;
margin-left: -150px;
}

}

@keyframes rotate {
Expand Down

0 comments on commit 78c00b2

Please sign in to comment.