screen changes

This commit is contained in:
Patrick Tschuchnig 2020-01-25 17:37:16 +01:00
parent a447cbbe8b
commit b495a6957c
2 changed files with 2 additions and 6 deletions

View File

@ -4,7 +4,6 @@
<body> <body>
<div class="screen"> <div class="screen">
<div class="screen-image"></div> <div class="screen-image"></div>
<div class="screen-content crt"> <div class="screen-content crt">
<style> <style>
.meta { .meta {

View File

@ -5,12 +5,10 @@ layout: none
.screen{ .screen{
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
/*
background-image: url({{site.baseurl}}/assets/images/crt2.png); background-image: url({{site.baseurl}}/assets/images/crt2.png);
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: contain; background-size: contain;
background-position: center; background-position: center;
*/
align-content: center; align-content: center;
height: 700px; height: 700px;
width: 900px; width: 900px;
@ -19,15 +17,15 @@ layout: none
.screen-image{ .screen-image{
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
position: fixed;
background-image: url({{site.baseurl}}/assets/images/crt2.png); background-image: url({{site.baseurl}}/assets/images/crt2.png);
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: contain; background-size: contain;
background-position: center; background-position: center;
height: 700px; height: 700px;
width: 900px; width: 900px;
pointer-events: none; pointer-events: none;
z-index: 1;
} }
.screen-content{ .screen-content{
@ -38,6 +36,5 @@ layout: none
width: 645px; width: 645px;
overflow-y: auto; overflow-y: auto;
overflow-x: hidden; overflow-x: hidden;
z-index: -1;
pointer-events: all !important; pointer-events: all !important;
} }