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>
|
</button>
|
||||||
</a>
|
</a>
|
||||||
</footer>
|
</footer>
|
||||||
<script src="js/sidebar.js"></script>
|
<script src="js/sidebar-min.js"></script>
|
||||||
|
|
|
@ -1,8 +1,3 @@
|
||||||
/*#excomm {
|
|
||||||
content: '';
|
|
||||||
flex: auto;
|
|
||||||
}*/
|
|
||||||
|
|
||||||
#contact {
|
#contact {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
display: block;
|
display: block;
|
||||||
|
|
|
@ -11,14 +11,6 @@ footer {
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*footer>span {
|
|
||||||
width: 100vw;
|
|
||||||
height: 2em;
|
|
||||||
font-size: 1.1em;
|
|
||||||
display: table-cell;
|
|
||||||
vertical-align: middle;
|
|
||||||
}*/
|
|
||||||
|
|
||||||
button.social {
|
button.social {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
outline: none;
|
outline: none;
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
header {
|
header {
|
||||||
position: relative;
|
position: relative;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
/*height: calc(10vh + 50px);*/
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#banner {
|
#banner {
|
||||||
|
@ -20,7 +19,7 @@ header {
|
||||||
#logo {
|
#logo {
|
||||||
width: 15vh;
|
width: 15vh;
|
||||||
height: 12vh;
|
height: 12vh;
|
||||||
background-image: url('../img/logo.jpg');
|
background-image: url('../img/logo.png');
|
||||||
background-size: 100%;
|
background-size: 100%;
|
||||||
background-position: center;
|
background-position: center;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
|
@ -58,8 +57,6 @@ nav#menu {
|
||||||
flex-wrap: nowrap;
|
flex-wrap: nowrap;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
border-bottom: 3px solid rgb(164, 38, 44);
|
border-bottom: 3px solid rgb(164, 38, 44);
|
||||||
|
|
||||||
/*box-shadow: 0 28px 79px 0 rgba(66, 129, 121, .27);*/
|
|
||||||
}
|
}
|
||||||
|
|
||||||
a.menu-item {
|
a.menu-item {
|
||||||
|
|
11
css/main.css
11
css/main.css
|
@ -135,19 +135,10 @@ span>a:active {
|
||||||
#wrapper {
|
#wrapper {
|
||||||
position: relative;
|
position: relative;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
/*min-height: calc(60vh - 42px - 2.75em);
|
|
||||||
min-height: calc(100vh - 55px - 280px - 86px);
|
|
||||||
*/
|
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
background-color: #4C4A48;
|
background-color: #4C4A48;
|
||||||
/*display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
align-items: center;
|
|
||||||
*/
|
|
||||||
height: auto;
|
height: auto;
|
||||||
min-height: 100%;
|
min-height: 100%;
|
||||||
|
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -236,8 +227,6 @@ section h2,
|
||||||
|
|
||||||
#tweets, #feedback {
|
#tweets, #feedback {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
/*flex-grow: calc(50% - 8vw);
|
|
||||||
*/
|
|
||||||
margin: 0 2vw;
|
margin: 0 2vw;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -138,10 +138,6 @@
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
#wrapper {
|
#wrapper {
|
||||||
/*min-height: 100%calc(100vh - 90px - 2.75em);
|
|
||||||
*/
|
|
||||||
/*flex-grow: 1;*/
|
|
||||||
/*flex-shrink: 0;*/
|
|
||||||
height: auto;
|
height: auto;
|
||||||
min-height: calc(100vh - 130px);
|
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