added more stuff

This commit is contained in:
William Zhang 2017-07-04 23:10:38 -04:00
parent 8e621aedf6
commit 893b87f8fa
8 changed files with 129 additions and 45 deletions

View File

@ -20,6 +20,18 @@ html,body,div,span,button,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pr
border: 0 border: 0
} }
html {
width: 100%;
}
body {
overflow-x: hidden; /*IMPORTANT TO CHANGE IF EXPANDING*/
width: 100%;
height: 100%;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
-webkit-touch-callout: none
}
.fluid { .fluid {
-webkit-transition: all .2s ease; -webkit-transition: all .2s ease;
-moz-transition: all .2s ease; -moz-transition: all .2s ease;
@ -38,12 +50,13 @@ html,body,div,span,button,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pr
header { header {
position: relative; position: relative;
width: 100vw; width: 100%;
/*height: calc(10vh + 50px);*/ /*height: calc(10vh + 50px);*/
} }
#banner { #banner {
width: 100vw; width: 100%;
height: 10vh; height: 10vh;
text-align: center; text-align: center;
display: table; display: table;
@ -52,23 +65,24 @@ header {
#banner h1 { #banner h1 {
display: table-cell; display: table-cell;
vertical-align: middle; vertical-align: middle;
font-size: 4vw; font-size: 200%;
font-weight: bold; font-weight: bold;
} }
nav#menu { nav#menu {
width: 100vw; width: 100%;
height: 50px; height: 50px;
display: inline-flex; display: inline-flex;
flex-direction: row; flex-direction: row;
flex-wrap: nowrap; flex-wrap: nowrap;
box-shadow: 0 28px 79px 0 rgba(66,129,121,.27);
} }
#dome:before { #dome:before {
position: absolute; position: absolute;
width: 100%;
height: 40vh; height: 40vh;
min-height: 280px; min-height: 280px;
width: 100vw;
top: 0vh; top: 0vh;
content: ''; content: '';
display: block; display: block;
@ -80,19 +94,19 @@ nav#menu {
#dome { #dome {
position: relative; position: relative;
width: 100%;
height: 40vh; height: 40vh;
min-height: 280px; min-height: 280px;
width: 100vw;
color: #000; color: #000;
background-color: rgba(255, 255, 255, 0.6); background-color: rgba(255, 255, 255, 0.6);
box-shadow: 0 28px 79px 0 rgba(66,129,121,.27);
} }
#dome:after { #dome:after {
position: absolute; position: absolute;
width: 100%;
height: 40vh; height: 40vh;
min-height: 280px; min-height: 280px;
width: 100vw;
top: 0vh; top: 0vh;
content: ''; content: '';
display: block; display: block;
@ -117,21 +131,26 @@ button.social {
border-radius: 50%; border-radius: 50%;
width: 36px; width: 36px;
height: 36px; height: 36px;
margin: 0 6px; margin: 3px;
background-color: transparent; background-color: transparent;
} }
button.social#github { button.social#fb {
background: url('../icons/github.png'); background: url('../icons/fb.png');
background-size: cover; background-size: cover;
} }
button.social#keybase { button.social#tw {
background: url('../icons/keybase.png'); background: url('../icons/tw.png');
background-size: cover; background-size: cover;
} }
button.social#flickr { button.social#flickr {
background: url('../icons/flickr.png'); background: url('../icons/flickr.png');
background-size: cover; background-size: cover;
background-color: #fff;
}
button.social#mail {
background: url('../icons/mail.png');
background-size: cover;
} }
button.flip > i { button.flip > i {
height: 3vh; height: 3vh;
@ -201,18 +220,10 @@ span > a:active {
color: #212121; color: #212121;
} }
body {
overflow-x: hidden; /*IMPORTANT TO CHANGE IF EXPANDING*/
width: 100%;
height: 100vh;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
-webkit-touch-callout: none
}
footer { footer {
position: relative; position: relative;
width: 100vw; width: 100%;
height: 25px; height: calc(2.75em + 42px);
bottom: 0; bottom: 0;
left: 0; left: 0;
right: 0; right: 0;
@ -223,56 +234,101 @@ footer {
opacity: 0.9; opacity: 0.9;
} }
footer > span {
width: 100vw;
height: 2em;
font-size: 1.1em;
display: table-cell;
vertical-align: middle;
}
#wrapper { #wrapper {
position: relative; position: relative;
width: 100vw; width: 100%;
min-height: 100vh; min-height: 100vh;
z-index: 1; z-index: 1;
background-color: rgba(0, 0, 0, 0.5); background-color: rgba(0, 0, 0, 0.5);
} }
#wrapper:before { #wrapper:before {
position: absolute; position: absolute;
height: 100vh; width: 100%;
width: 100vw; min-height: 100vh;
top: 0vh; top: 0vh;
content: ''; content: '';
display: block; display: block;
} }
section { section {
width: 100vw; width: 100%;
height: 100vh; height: 100vh;
display: flex; display: flex;
} }
#intro > h1 { #about {
display: flex;
height: 100%;
justify-content: center;
padding-top: 5%;
}
#updates {
display: flex;
height: 100%;
justify-content: center;
padding: 5% 0;
}
section > h1 {
font-size: 3.5em; font-size: 3.5em;
margin-top: 0.5em; margin-top: 0.5em;
} }
#intro > h2 { section > h2 {
width: calc(100% - 1em); width: calc(100% - 1em);
font-size: 1.2em; font-size: 1.2em;
padding: 0.5em 0; padding: 0.5em 0;
display: inline-block; display: inline-block;
} }
#intro-text {
text-align: center;
width: 50%;
}
#intro-image {
text-align: center;
width: 50%;
}
#intro-image > img {
width: 90%;
}
#tweets {
text-align: center;
width: 50%;
margin: 0 3em;
}
#logo { #logo {
display: inline-block; display: inline-block;
text-align: center;
} }
#letter { #letter {
width: calc(100% - 1em); width: calc(100% - 2em);
padding: 0 0.5em; margin: 0 1em;
font-size: 1.2em; font-size: 1.1em;
display: inline-block; display: inline-block;
margin: 0.5em 0; text-align: left;
color: #fff; color: #fff;
clear: both; clear: both;
} }
#letter > p {
margin: 0.5em 0;
}
/*@media (max-height: 300px) { /*@media (max-height: 300px) {
#desc > span { #desc > span {
width: calc(100% - 1em); width: calc(100% - 1em);

View File

Before

Width:  |  Height:  |  Size: 66 KiB

After

Width:  |  Height:  |  Size: 66 KiB

BIN
icons/fb.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

BIN
icons/flickr.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
icons/mail.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

BIN
icons/tw.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

BIN
img/group.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 301 KiB

View File

@ -7,7 +7,7 @@
<meta content="William Zhang" name="author"> <meta content="William Zhang" name="author">
<meta name="theme-color" content="#1976D2" /> <meta name="theme-color" content="#1976D2" />
<meta name="viewport" content="width=device-width,height=device-height,initial-scale=1.0"/> <meta name="viewport" content="width=device-width,height=device-height,initial-scale=1.0"/>
<link href="img/favicon.ico" rel="icon" type="image/ico"> <link href="icons/favicon.ico" rel="icon" type="image/ico">
<link href="css/main.css" rel="stylesheet" /> <link href="css/main.css" rel="stylesheet" />
<title>Home - TJSGA</title> <title>Home - TJSGA</title>
</head> </head>
@ -35,24 +35,23 @@
</div> </div>
</header> </header>
<div id="wrapper" class="fluid"> <div id="wrapper" class="fluid">
<h2>Welcome!</h2>
<section id="about"> <section id="about">
<div id="intro" class="fluid">
<div id="intro-text" class="fluid">
<div id="logo"> <div id="logo">
<img src="img/logo.png" alt="TJSGA Logo" /> <img src="img/logo.png" alt="TJSGA Logo" />
</div> </div>
<div id="letter"> <div id="letter">
<p> <p>
Welcome to Thomas Jefferson High School for Science and Technology's school-wide Student Government Association's new home on the web! As you know, TJ is going through some very exciting times, and we want you to be a part of it with us. &nbsp;&nbsp;&nbsp;&nbsp;Welcome to Thomas Jefferson High School for Science and Technology's school-wide Student Government Association's new home on the web! As you know, TJ is going through some very exciting times, and we want you to be a part of it with us.
</p> </p>
<br />
<p> <p>
Here at Jefferson, we not only challenge ourselves academically, but also extracurricularly. And so, tjSGA is pushing forward this year to not only continue school-wide traditions such as Homecoming Week, Dancing with the Faculty, Service Week, and J-Day, but also both establish new and revive discontinued traditions such as the February Snow Ball and March Volleyball tournament. Moreover, as we face obstacles such as the stigma against mental illness and TJ Renovation restrictions, we hope to continually find effective solutions for the student body. &nbsp;&nbsp;&nbsp;&nbsp;Here at Jefferson, we not only challenge ourselves academically, but also extracurricularly. And so, tjSGA is pushing forward this year to not only continue school-wide traditions such as Homecoming Week, Dancing with the Faculty, Service Week, and J-Day, but also both establish new and revive discontinued traditions such as the February Snow Ball and March Volleyball tournament. Moreover, as we face obstacles such as the stigma against mental illness and TJ Renovation restrictions, we hope to continually find effective solutions for the student body.
</p> </p>
<br />
<p> <p>
Please don't hesitate to contact me or SGA at anytime with any concerns, suggestions, or questions and we'll do our best to address them. &nbsp;&nbsp;&nbsp;&nbsp;Please don't hesitate to contact me or SGA at anytime with any concerns, suggestions, or questions and we'll do our best to address them.
</p> </p>
<br />
<p> <p>
Sincerely,<br /> Sincerely,<br />
Tim Cho<br /> Tim Cho<br />
@ -60,11 +59,40 @@
</p> </p>
</div> </div>
</div> </div>
<div id="intro-image" class="fluid">
<img src="img/group.jpg" alt="TJSGA Group Photo" />
</div>
</section>
<section id="updates">
<div id="tweets">
<a class="twitter-timeline" data-height="540" data-theme="dark" data-link-color="#2B7BB9" href="https://twitter.com/tjSGA">Tweets by tjSGA</a>
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
</div>
<div id="tweets">
<a class="twitter-timeline" data-height="540" data-theme="dark" data-link-color="#2B7BB9" href="https://twitter.com/tjSGA">Tweets by tjSGA</a>
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
</div>
</section> </section>
<!--<section id="photos">
</section>-->
</div> </div>
<footer>&copy; 2017 William Zhang</footer> <footer>
<span>&copy; 2017 TJSGA</span>
<a href="https://facebook.com/tjsga" target="_blank">
<button class="social" id="fb">
</button>
</a>
<a href="https://twitter.com/tjSGA" target="_blank">
<button class="social" id="tw">
</button>
</a>
<a href="https://facebook.com/tjsga" target="_blank">
<button class="social" id="flickr">
</button>
</a>
<a href="mailto:sga.tjhsst@gmail.com" target="_blank">
<button class="social" id="mail">
</button>
</a>
</footer>
</body> </body>
</html> </html>