mirror of
https://github.com/tjsga/website-2018.git
synced 2025-04-16 01:00:17 -04:00
cleanup
This commit is contained in:
parent
7fa65b8e3f
commit
ca51221a6e
|
@ -16,4 +16,4 @@
|
|||
</button>
|
||||
</a>
|
||||
</footer>
|
||||
<script src="js/sidebar.js"></script>
|
||||
<script src="js/sidebar-min.js"></script>
|
||||
|
|
|
@ -1,8 +1,3 @@
|
|||
/*#excomm {
|
||||
content: '';
|
||||
flex: auto;
|
||||
}*/
|
||||
|
||||
#contact {
|
||||
width: 100%;
|
||||
display: block;
|
||||
|
|
|
@ -11,14 +11,6 @@ footer {
|
|||
z-index: 2;
|
||||
}
|
||||
|
||||
/*footer>span {
|
||||
width: 100vw;
|
||||
height: 2em;
|
||||
font-size: 1.1em;
|
||||
display: table-cell;
|
||||
vertical-align: middle;
|
||||
}*/
|
||||
|
||||
button.social {
|
||||
cursor: pointer;
|
||||
outline: none;
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
header {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
/*height: calc(10vh + 50px);*/
|
||||
}
|
||||
|
||||
#banner {
|
||||
|
@ -20,7 +19,7 @@ header {
|
|||
#logo {
|
||||
width: 15vh;
|
||||
height: 12vh;
|
||||
background-image: url('../img/logo.jpg');
|
||||
background-image: url('../img/logo.png');
|
||||
background-size: 100%;
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
|
@ -58,8 +57,6 @@ nav#menu {
|
|||
flex-wrap: nowrap;
|
||||
justify-content: center;
|
||||
border-bottom: 3px solid rgb(164, 38, 44);
|
||||
|
||||
/*box-shadow: 0 28px 79px 0 rgba(66, 129, 121, .27);*/
|
||||
}
|
||||
|
||||
a.menu-item {
|
||||
|
|
11
css/main.css
11
css/main.css
|
@ -135,19 +135,10 @@ span>a:active {
|
|||
#wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
|
||||
/*min-height: calc(60vh - 42px - 2.75em);
|
||||
min-height: calc(100vh - 55px - 280px - 86px);
|
||||
*/
|
||||
z-index: 1;
|
||||
background-color: #4C4A48;
|
||||
/*display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
*/
|
||||
height: auto;
|
||||
min-height: 100%;
|
||||
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
|
@ -236,8 +227,6 @@ section h2,
|
|||
|
||||
#tweets, #feedback {
|
||||
text-align: center;
|
||||
/*flex-grow: calc(50% - 8vw);
|
||||
*/
|
||||
margin: 0 2vw;
|
||||
}
|
||||
|
||||
|
|
|
@ -138,10 +138,6 @@
|
|||
display: none;
|
||||
}
|
||||
#wrapper {
|
||||
/*min-height: 100%calc(100vh - 90px - 2.75em);
|
||||
*/
|
||||
/*flex-grow: 1;*/
|
||||
/*flex-shrink: 0;*/
|
||||
height: auto;
|
||||
min-height: calc(100vh - 130px);
|
||||
}
|
||||
|
|
2
js/sidebar-min.js
vendored
Normal file
2
js/sidebar-min.js
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
function toggleSidebar(e){""!=sb.style.left&&"-30vw"!=sb.style.left||!e?(sb.style.disabled=!0,sb.style.left="-30vw"):(sb.style.disabled=!1,sb.style.left="0px")}var mb=document.querySelector("#menu-toggle"),sb=document.querySelector("nav#menu"),tb=document.querySelector("#logo"),dm=document.querySelector("#dome"),wr=document.querySelector("#wrapper")
|
||||
mb.addEventListener("click",function(){toggleSidebar(!0)},!1),wr.addEventListener("click",function(){toggleSidebar(!1)},!1),tb.addEventListener("click",function(){toggleSidebar(!1)},!1),dm.addEventListener("click",function(){toggleSidebar(!1)},!1),mb.addEventListener("touchleave",function(){toggleSidebar(!0)},!1),wr.addEventListener("touchleave",function(){toggleSidebar(!1)},!1),tb.addEventListener("touchleave",function(){toggleSidebar(!1)},!1),dm.addEventListener("touchleave",function(){toggleSidebar(!1)},!1),sb.style.disabled=!0
|
Loading…
Reference in New Issue
Block a user