Browse Source

Merge branch 'master' of github.com:finalsclubdev/FinalsClub

* 'master' of github.com:finalsclubdev/FinalsClub:
  more styling, fix to main.js login div
  more styling to content pages
  Fix asset link so it links from root and not relative
chapel 12 years ago
parent
commit
eca809aa9c
3 changed files with 162 additions and 12 deletions
  1. 154 1
      public/assets/css/screen.css
  2. 7 9
      public/index.html
  3. 1 2
      public/stylesheets/fc2.css

+ 154 - 1
public/assets/css/screen.css

@@ -315,7 +315,8 @@ body {
 
 .content {
   background-color: #fff;
-  padding: 1em 3%; }
+  padding: 1em 3%;
+  min-height: 25em; }
 
 /* 2.`navigation
 ============================================== */
@@ -610,3 +611,155 @@ div.school div.desc {
 }
 
 
+div.course {
+	margin: 1em 0;
+}
+
+
+div.press {
+	margin: 2em 0;
+}
+img.press {
+	height: 2.5em;
+	float: left;
+	zborder: solid 1px #aaa;
+	margin: 0 2em 1em 0;
+}
+
+div.press p.date {
+	font-size: 90%;
+	color: #68a;
+}
+
+div.press p.readmore {
+	font-size: 90%;
+	font-style: italic;
+}
+
+div.press p.readmore a {
+	color: #48c;
+}
+
+div.conduct { text-align: center; }
+div.conduct p.academic {
+	padding: 2em 0;
+}
+div.conduct img {
+	display: inline;
+	padding: 20px; 
+	border: solid 1px #888;
+	background: -webkit-gradient(linear, left top, left bottom, from(#fdfdfd), to(#f8f8f8));
+	background: -moz-linear-gradient(top,  #fdfdfd,  #f8f8f8);
+	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fcfcff', endColorstr='#f4f4ff');
+	-webkit-border-radius: .2em; 
+	-moz-border-radius: .2em;
+	border-radius: .2em;
+	-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.5);
+	-moz-box-shadow: 0 1px 2px rgba(0,0,0,.5);
+	box-shadow: 0 1px 2px rgba(0,0,0,.5);
+}
+div.conduct p.vague {
+	font-style: italic;
+	font-size: 80%;
+	color: #888;
+}
+
+
+
+.row {
+	display: table-row;
+}
+.row .label {
+	width: 50%;
+	text-align: right;
+	display: table-cell;
+	padding: 0.8em 3% 0.8em 0%;
+	white-space: nowrap;
+	font-weight: bold;
+}
+.row .field {
+	width: 300px;
+
+	display: table-cell;
+	padding: 0.2em 0;
+}
+.row .field input {
+	width: 90%;
+}
+
+div.content h1 {
+	color: #000;
+	text-align: left;
+	font-weight: bold;
+	font-family: Georgia, Helvetica;
+}
+
+.content h1 {
+	border-bottom: 2px solid #5c6572;
+	zbackground: transparent url("/images/bg_main-heading.gif") 0 100% repeat-x;
+	font-family: Georgia, helvetica;
+	font-weight: normal;
+	font-size: 140%;
+	padding: 0.2em 0;
+	margin-bottom: 1em;
+}
+
+.note, .notes_instructor, .notes_head {
+	margin: 1.0em 0;
+}
+
+.notes_head {
+	font-weight: bold;
+}
+
+.notes_instructor, .notes_head {
+	color: #888;
+}
+
+.notes_instructor {
+	padding-bottom: 1.0em;
+	border-bottom: solid 1px #aaa;
+}
+
+.note .name {
+	font-size: 110%;
+}
+.note .visits {
+	font-style: italic;
+	color: #aaa;
+}
+
+
+.lecture, .lectures_instructor, .lectures_head {
+	margin: 1.0em 0;
+}
+
+.lectures_head {
+	font-weight: bold;
+}
+
+.lectures_instructor, .lectures_head {
+	color: #888;
+}
+
+.lectures_instructor {
+	padding-bottom: 1.0em;
+	border-bottom: solid 1px #aaa;
+}
+
+.lecture .name {
+	font-size: 110%;
+}
+.lecture .created {
+	font-style: italic;
+	color: #aaa;
+}
+
+.lecture {
+	margin: 0.5em 0;
+	padding: 0.5em 1em;
+	border: solid 1px #888;
+	-moz-border-radius: 0.20em;
+	-webkit-border-radius: 0.20em;
+}
+

+ 7 - 9
public/index.html

@@ -6,7 +6,6 @@
 		<link rel="stylesheet" href="/assets/css/include.css" type="text/css" media="screen" />
 		<script type="text/javascript" src="/assets/js/modernizr.custom.js"></script>
 		<script type="text/javascript" src="/assets/js/load.js"></script>
-
 		<script type="text/javascript" src="http://use.typekit.com/cbx6gxx.js"></script>
 		<script type="text/javascript">try{Typekit.load();}catch(e){}</script>
 
@@ -29,7 +28,7 @@
 					<div class="grid-9">
 						<nav id="user-nav" class="small">
 							<ul>
-								<li>Hi, <span class="username">Guest</span></li>
+								<li><span class="username">Guest</span></li>
 								<li><a id=login_link href="/login">Login</a></li>
 							</ul>
 						</nav>
@@ -52,7 +51,6 @@
 		<div id="messages" class="page"><span id="PROTO_message" class="__type__">__msg__</span></div>
 		<div class="content">
 
-
 			<style>
 				/* The is here is because it's related less to "styling" and more to UI "behavior" */
 				.page { display: none; }
@@ -106,7 +104,7 @@
 					<div class="grid-6">
 						<h3 class="heading">Check out our Screencasts</h3>
 						<div class="video-wrapper">
-									</div>
+							<iframe src="http://player.vimeo.com/video/30647271?title=0&amp;byline=0&amp;portrait=0&amp;color=367da9" width="460" height="259" frameborder="0" webkitAllowFullScreen allowFullScreen></iframe>		</div>
 						</div>
 					<div class="grid-6">
 						<h3 class="heading">We currently support the following schools</h3>
@@ -688,11 +686,11 @@
 				<div class="grid-12">
 					<nav id="footer-nav">
 						<ul>
-							<li><a href="#">Code of Conduct</a></li>
-							<li><a href="#">About</a></li>
-							<li><a href="#">Contact</a></li>
-							<li><a href="#">Legal</a></li>
-							<li><a href="#">Team</a></li>
+							<li><a href="/conduct">Code of Conduct</a></li>
+							<li><a href="http://blog.finalsclub.org/about.html">About</a></li>
+							<li><a href="http://blog.finalsclub.org/contact.html">Contact</a></li>
+							<li><a href="http://blog.finalsclub.org/legal.html">Legal</a></li>
+							<li><a href="http://blog.finalsclub.org/team.html">Team</a></li>
 						</ul>
 					</nav>
 					<p>Copyright 2011 Finals Club.  All rights reserved.</p>

+ 1 - 2
public/stylesheets/fc2.css

@@ -631,8 +631,6 @@ div.school {
 	-moz-box-shadow: 0 0.2em 0.3em rgba(0, 0, 0, .1);
 	/*
 	*/
-
-
 }
 
 /*
@@ -873,6 +871,7 @@ div.conduct p.academic {
 	padding: 2em 0;
 }
 div.conduct img {
+	display: inline;
 	padding: 20px; 
 	border: solid 1px #888;
 	background: -webkit-gradient(linear, left top, left bottom, from(#fcfcff), to(#f4f4ff));