From 6327a77cb5f00f713153afe4a818835e21f14b74 Mon Sep 17 00:00:00 2001 From: Tancre Date: Thu, 9 Sep 2021 13:42:46 +0200 Subject: [PATCH] border-radius: 25px; --- open/index.html | 4 +- open/scripts/App.js | 17 ++-- open/styles/style.css | 181 ++++++++++++++++++++++++++++++++++-------- 3 files changed, 164 insertions(+), 38 deletions(-) diff --git a/open/index.html b/open/index.html index 49e6a1d..9ac255e 100644 --- a/open/index.html +++ b/open/index.html @@ -25,8 +25,8 @@
-
-

10 Sept 21

+
+

10 Sept 21

  • 12:00-17:00:
    • XPUB Bookshop
  • 12:00-14:00: XPUB3
  • diff --git a/open/scripts/App.js b/open/scripts/App.js index c39071d..f0df8e5 100644 --- a/open/scripts/App.js +++ b/open/scripts/App.js @@ -21,13 +21,20 @@ $(document).ready(function(){ Object.values(corpi).forEach(corpus => { $('#dragZone' ).append(` -
    -

    ${corpus['title']}

    -

    ${corpus['content']}

    - +
    +

    ${corpus['title']}

    +

    ${corpus['content']}

    +
    `) - $('#icons').append(``) + $('#icons').append(` + + `) }); // Start mouse UI diff --git a/open/styles/style.css b/open/styles/style.css index 5712f43..9b5d75b 100644 --- a/open/styles/style.css +++ b/open/styles/style.css @@ -3,29 +3,24 @@ src: url(../fonts/AC1-SemiLightDots.ttf); } - body { max-width: 100vw; background-color: blue; color: white; font-family: Arial, Helvetica, sans-serif; + padding: 0; + margin: 0; } h1 { font-family: points; - font-size: 60px; + font-size: 40px; color: white; + margin-top: 8px; } -button { - user-select: none; - display: inline-block; - padding: 3px 1em; - color: currentColor; - font-weight: var(--bold); +.innerLink { text-decoration: none; - margin-bottom: 4px; - background-color: rgba(0, 0, 0, 0); } .draggable { @@ -33,8 +28,9 @@ button { position: absolute; border: 2px white solid; background: black; - -webkit-box-shadow: 0px 10px 13px -7px #000000, 5px 5px 15px 5px rgba(0,0,0,0.49); - box-shadow: 0px 10px 13px -7px #000000, 5px 5px 15px 5px rgba(0,0,0,0.49); + -webkit-box-shadow: 0px 10px 13px -7px #000000, + 5px 5px 15px 5px rgba(0, 0, 0, 0.49); + box-shadow: 0px 10px 13px -7px #000000, 5px 5px 15px 5px rgba(0, 0, 0, 0.49); } .draggable p, @@ -78,23 +74,14 @@ button { .hover { font-weight: bolder; -} - -.icon { - width: 70px; - height: 70px; - border: none; - z-index: 1; - font-size: 30px; - cursor: pointer; - /* font-size: 50px ; */ + color: white !important; } .icon:hover { font-size: 35px; } -#bar{ +#bar { z-index: 10; position: fixed; bottom: 0; @@ -102,11 +89,11 @@ button { width: 100%; height: 5%; border: solid 2px white; - background-color: rgba(19, 19, 156, .9); + background-color: rgba(19, 19, 156, 0.9); } -#colophon{ - margin: auto; +#colophon { + margin: auto; width: 50%; /* position: fixed; */ z-index: 5; @@ -117,21 +104,20 @@ button { padding: 1% 5%; } -#colophon h1{ +#colophon h1 { color: blue; } -.bottoneCose{ +.bottoneCose { width: 10%; height: 100%; } - -.bottoneCose:active{ +.bottoneCose:active { background-color: rgb(113, 113, 226); } -.clicked{ +.clicked { background-color: white; color: blue; } @@ -139,3 +125,136 @@ button { .visible { display: inline; } + +.corpi { + padding: 15px; + min-width: 200px; +} + +#program { + min-width: 180px; + max-width: 250px; + height: 1400px; +} + +#collectiveioning { + min-width: 320px; +} + +/* ICONS NAVIGATION */ +.iconContainer { + display: inline-block; + margin: 10px; + padding: 5px; + position: relative; + text-align: center; + border-radius: 6px; +} + +.iconContainer:hover { + background-color: rgba(0, 0, 0, 0.1); +} + +.iconContainer a p { + margin: 0; + padding: 0; +} + +.icon { + width: 70px; + height: 70px; + border: none; + z-index: 1; + cursor: pointer; + font-size: 30px; +} + +.icon:hover { + font-size: 30px; +} + +button { + padding: 0; + margin: 0; + display: inline-block; + text-decoration: none; + background-color: rgba(0, 0, 0, 0); +} + +.textIcon { + margin-top: -20px; +} + +/* FOOTER */ +.bottoneCose { + user-select: none; + display: inline-block; + padding: 3px 1em; + color: currentColor; + font-weight: var(--bold); + text-decoration: none; + margin-bottom: 4px; + background-color: rgba(0, 0, 0, 0); +} + +/* MEDIA QUERIES */ + +/* On screens that are 992px or less, set the background color to blue */ +@media screen and (max-width: 700px) { + body { + background-color: red; + font-size: 16px; + } + + h1 { + font-size: 30px; + } + + ul { + padding-left: 0; + } + + .corpi { + min-width: unset !important; + max-width: unset !important; + width: unset !important; + height: auto !important; + top: unset !important; + right: unset !important; + left: unset !important; + border: unset !important; + display: block !important; + position: unset !important; + margin-bottom: 40px; + cursor: unset !important; + } + + .closable { + display: none; + } + + #program { + text-align: center; + } + + /* #program { + min-width: unset !important; + max-width: unset !important; + width: 95% !important; + height: auto !important; + top: unset !important; + right: unset !important; + left: unset !important; + border: unset !important; + } */ + + /* FOOTER */ + + #bar { + text-align: center; + } + + .bottoneCose { + width: unset; + } +}