mirror of
https://github.com/tjsga/website-2018.git
synced 2025-04-21 03:30:16 -04:00
update new font and clean up styling
This commit is contained in:
parent
73fdb22b8a
commit
5042eba053
|
@ -8,28 +8,28 @@
|
||||||
"last": "Begotka",
|
"last": "Begotka",
|
||||||
"year": 2018,
|
"year": 2018,
|
||||||
"title": "",
|
"title": "",
|
||||||
"intro": "Welcome to Thomas Jefferson High School for Science and Technology's Student Government Association"
|
"intro": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"first": "Sherry",
|
"first": "Sherry",
|
||||||
"last": "Xie",
|
"last": "Xie",
|
||||||
"year": 2018,
|
"year": 2018,
|
||||||
"title": "",
|
"title": "",
|
||||||
"intro": "Welcome to Thomas Jefferson High School for Science and Technology's Student Government Association"
|
"intro": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"first": "Shreya",
|
"first": "Shreya",
|
||||||
"last": "Chappidi",
|
"last": "Chappidi",
|
||||||
"year": 2018,
|
"year": 2018,
|
||||||
"title": "",
|
"title": "",
|
||||||
"intro": "Welcome to Thomas Jefferson High School for Science and Technology's Student Government Association"
|
"intro": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"first": "Sitara",
|
"first": "Sitara",
|
||||||
"last": "Uppalapati",
|
"last": "Uppalapati",
|
||||||
"year": 2019,
|
"year": 2019,
|
||||||
"title": "",
|
"title": "",
|
||||||
"intro": "Welcome to Thomas Jefferson High School for Science and Technology's Student Government Association"
|
"intro": ""
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,7 +3,8 @@
|
||||||
<button id="menu-toggle">
|
<button id="menu-toggle">
|
||||||
<i></i>
|
<i></i>
|
||||||
</button>
|
</button>
|
||||||
<h1>TJ STUDENT GOVERNMENT ASSOCIATION</h1>
|
<div id="logo">
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<nav id="menu">
|
<nav id="menu">
|
||||||
<a class="menu-item" href="index.html">
|
<a class="menu-item" href="index.html">
|
||||||
|
|
|
@ -40,8 +40,8 @@ orgs: ["officers", "excomm", "senators", "sponsors"]
|
||||||
<div class="{{ org.username }}-text">
|
<div class="{{ org.username }}-text">
|
||||||
{% assign year = member.year | downcase %}
|
{% assign year = member.year | downcase %}
|
||||||
<span>{{ member.first }} {{ member.last }}</span>
|
<span>{{ member.first }} {{ member.last }}</span>
|
||||||
{% if name != "sponsors" %}
|
{% if name != "sponsors" and name != "senators" %}
|
||||||
<span>'{{ year | slice: 2, 3 }}</span>
|
<span>{{ year }}</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if name != "officers" %}
|
{% if name != "officers" %}
|
||||||
<span>{{ member.title }}</span>
|
<span>{{ member.title }}</span>
|
||||||
|
|
|
@ -1,5 +1,11 @@
|
||||||
|
/*#excomm:after {
|
||||||
|
content: '';
|
||||||
|
flex: auto;
|
||||||
|
}*/
|
||||||
|
|
||||||
#contact {
|
#contact {
|
||||||
max-width: 1200px;
|
width: 1200px;
|
||||||
|
max-width: 100vw;
|
||||||
display: block;
|
display: block;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
@ -20,15 +26,16 @@
|
||||||
.senators-image,
|
.senators-image,
|
||||||
.sponsors-image {
|
.sponsors-image {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 20vh;
|
height: calc(25vh - 4vw);
|
||||||
|
margin-bottom: 1vh;
|
||||||
}
|
}
|
||||||
|
|
||||||
.officers-image:after,
|
.officers-image:after,
|
||||||
.excomm-image:after,
|
.excomm-image:after,
|
||||||
.senators-image:after,
|
.senators-image:after,
|
||||||
.sponsors-image:after {
|
.sponsors-image:after {
|
||||||
width: 20vh;
|
width: calc(25vh - 4vw);
|
||||||
height: 20vh;
|
height: calc(25vh - 4vw);
|
||||||
content: '';
|
content: '';
|
||||||
display: block;
|
display: block;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
@ -68,7 +75,6 @@
|
||||||
text-align: center;
|
text-align: center;
|
||||||
margin: 2vw;
|
margin: 2vw;
|
||||||
flex-basis: calc(25% - 4vw);
|
flex-basis: calc(25% - 4vw);
|
||||||
display: flex;
|
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -14,14 +14,22 @@ header {
|
||||||
z-index: 3;
|
z-index: 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
#banner h1 {
|
#banner #logo {
|
||||||
display: table-cell;
|
content: '';
|
||||||
|
height: 10vh;
|
||||||
|
width: 10vh;
|
||||||
|
display: inline-block;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
font-size: 2.5em;
|
font-size: 2.5em;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
background-image: url('../img/logo.png');
|
||||||
|
background-size: 90%;
|
||||||
|
background-position: center;
|
||||||
|
background-repeat: no-repeat;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#menu-toggle {
|
#menu-toggle {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
|
|
11
css/main.css
11
css/main.css
|
@ -1,4 +1,4 @@
|
||||||
@font-face {
|
/*@font-face {
|
||||||
font-family: OpenSans;
|
font-family: OpenSans;
|
||||||
src: url('../fonts/OpenSans/OpenSans-Regular.ttf')
|
src: url('../fonts/OpenSans/OpenSans-Regular.ttf')
|
||||||
}
|
}
|
||||||
|
@ -7,12 +7,14 @@
|
||||||
font-family: OpenSans;
|
font-family: OpenSans;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
src: url('../fonts/OpenSans/OpenSans-Bold.ttf')
|
src: url('../fonts/OpenSans/OpenSans-Bold.ttf')
|
||||||
}
|
}*/
|
||||||
|
|
||||||
|
@import url('https://fonts.googleapis.com/css?family=Lato');
|
||||||
|
|
||||||
/*http://meyerweb.com/eric/tools/css/reset/*/
|
/*http://meyerweb.com/eric/tools/css/reset/*/
|
||||||
html,body,div,span,button,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video {
|
html,body,div,span,button,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video {
|
||||||
font: inherit;
|
font: inherit;
|
||||||
font-family: 'Segoe UI', 'Open Sans', 'Helvetica Neue', Helvetica, sans-serif;
|
font-family: 'Lato', 'Helvetica Neue', Helvetica, sans-serif;
|
||||||
font-size: 100%;
|
font-size: 100%;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
@ -211,9 +213,6 @@ section h2,
|
||||||
margin: 0 2vw;
|
margin: 0 2vw;
|
||||||
}
|
}
|
||||||
|
|
||||||
#logo {
|
|
||||||
display: inline-block;
|
|
||||||
}
|
|
||||||
|
|
||||||
#letter {
|
#letter {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
|
@ -43,6 +43,9 @@
|
||||||
position: fixed;
|
position: fixed;
|
||||||
box-shadow: 0 28rem 79rem 0 rgba(91, 194, 182, .08), 0 40rem 32rem 0 rgba(0, 0, 0, .04);
|
box-shadow: 0 28rem 79rem 0 rgba(91, 194, 182, .08), 0 40rem 32rem 0 rgba(0, 0, 0, .04);
|
||||||
}
|
}
|
||||||
|
#banner #logo {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
#menu-toggle {
|
#menu-toggle {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 0;
|
left: 0;
|
||||||
|
|
|
@ -15,9 +15,6 @@ permalink: /
|
||||||
<section id="intro">
|
<section id="intro">
|
||||||
<div id="intro-text" class="fluid">
|
<div id="intro-text" class="fluid">
|
||||||
<h2 id="intro-title">Welcome!</h2>
|
<h2 id="intro-title">Welcome!</h2>
|
||||||
<div id="logo">
|
|
||||||
<img src="img/logo.png" alt="TJSGA Logo" />
|
|
||||||
</div>
|
|
||||||
<div id="letter">
|
<div id="letter">
|
||||||
<p>
|
<p>
|
||||||
Welcome to Thomas Jefferson High School for Science and Technology's school-wide Student Government
|
Welcome to Thomas Jefferson High School for Science and Technology's school-wide Student Government
|
||||||
|
|
Loading…
Reference in New Issue
Block a user