Compare commits
5 Commits
master
...
developmen
Author | SHA1 | Date |
---|---|---|
Ugo Finnendahl | 58aa5df430 | 5 years ago |
Ugo Finnendahl | 12a5cb383e | 5 years ago |
Ugo Finnendahl | 088bb10805 | 5 years ago |
Ugo Finnendahl | a18d6e0599 | 5 years ago |
Ugo Finnendahl | c717501c24 | 5 years ago |
@ -0,0 +1,77 @@ |
|||||||
|
* { |
||||||
|
margin: 0; |
||||||
|
padding: 0; |
||||||
|
} |
||||||
|
|
||||||
|
body { |
||||||
|
margin: 0; |
||||||
|
padding: 0; |
||||||
|
font-family: sans-serif; |
||||||
|
} |
||||||
|
|
||||||
|
#container { |
||||||
|
height: 100vh; |
||||||
|
position: relative; |
||||||
|
} |
||||||
|
|
||||||
|
#canvas { |
||||||
|
height: 100%; |
||||||
|
} |
||||||
|
|
||||||
|
nav { |
||||||
|
position: absolute; |
||||||
|
top: 10px; |
||||||
|
left: 10px; |
||||||
|
} |
||||||
|
|
||||||
|
.absolute { |
||||||
|
position: absolute; |
||||||
|
top: 0; |
||||||
|
left: 0; |
||||||
|
} |
||||||
|
|
||||||
|
.plot { |
||||||
|
position: absolute; |
||||||
|
top: 2vh; |
||||||
|
right: 2vw; |
||||||
|
width: 20vw; |
||||||
|
height: 10vw; |
||||||
|
} |
||||||
|
|
||||||
|
.sliders { |
||||||
|
position: absolute; |
||||||
|
top: 20vh; |
||||||
|
left: 2vw; |
||||||
|
width: 20vw; |
||||||
|
} |
||||||
|
|
||||||
|
#formula { |
||||||
|
position: absolute; |
||||||
|
top: 71.5vh; |
||||||
|
width: 90vw; |
||||||
|
} |
||||||
|
|
||||||
|
.score { |
||||||
|
position: absolute; |
||||||
|
top: 7vh; |
||||||
|
left: 2vw; |
||||||
|
width: 20vw; |
||||||
|
} |
||||||
|
|
||||||
|
.lightbox { |
||||||
|
padding: 2em; |
||||||
|
position: absolute; |
||||||
|
top: 0; |
||||||
|
left: 50%; |
||||||
|
transform: translateX(-50%) translateY(-100%); |
||||||
|
z-index: 10; |
||||||
|
width: 50%; |
||||||
|
height: 40%; |
||||||
|
background-color: #BBB; |
||||||
|
transition: all 1s; |
||||||
|
} |
||||||
|
|
||||||
|
.lightbox.active { |
||||||
|
top: 50%; |
||||||
|
transform: translateX(-50%) translateY(-50%); |
||||||
|
} |
@ -1 +1 @@ |
|||||||
*{margin:0;padding:0}body{font-family:sans-serif}#container{height:100vh;position:relative}#canvas{height:100%}nav{position:absolute;top:10px;left:10px}.absolute{position:absolute;top:0;left:0}.plot{position:absolute;top:2vh;right:2vw;width:20vw;height:10vw}.sliders{position:absolute;top:7vh;left:2vw;width:20vw;height:10vw} |
*{margin:0;padding:0}body{margin:0;padding:0;font-family:sans-serif}#container{height:100vh;position:relative}#canvas{height:100%}nav{position:absolute;top:10px;left:10px}button{margin:0.3em}.absolute{position:absolute;top:0;left:0}.stage{display:flex;justify-content:center;align-items:center;height:100vh}.plot{position:absolute;top:2vh;right:2vw;width:20vw;height:10vw}.sliders{position:absolute;top:20vh;left:2vw;width:20vw}#formula{position:absolute;top:71.5vh;width:90vw}.score{position:absolute;top:7vh;left:2vw;width:20vw}.lightbox{padding:2em;position:absolute;top:0;left:50%;transform:translateX(-50%) translateY(-100%);z-index:10;max-width:50%;background-color:#BBB;transition:all 1s}.lightbox.active{top:20%;transform:translateX(-50%) translateY(-50%)} |
||||||
|
After Width: | Height: | Size: 24 KiB |
After Width: | Height: | Size: 4.9 KiB |
File diff suppressed because it is too large
Load Diff
Loading…
Reference in new issue