Commit b98d8337 by Kyle Fiedler

Added some slight style and new typeface

--HG--
branch : kf-refactor
parent 47bc1b8a
<h1> ${ homework['name']} </h1> <h1> ${ homework['name']} </h1>
<ol>
% for problem in homework['problems']: % for problem in homework['problems']:
<h2> ${ problem['name'] } </h2> <li>
${ problem['html'] } <h2> ${ problem['name'] } </h2>
<br> ${ problem['html'] }
<input type="hidden" name="problem_id" value="${ problem['name'] }"> <br>
<input type="submit" value="Check"> <input type="hidden" name="problem_id" value="${ problem['name'] }">
<input type="submit" value="Check">
</li>
% endfor % endfor
</ol>
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
// ---------------------------------------- // // ---------------------------------------- //
// fonts // fonts
$body-font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Verdana, sans-serif;; $body-font-family: "Droid Sans", "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Verdana, sans-serif;;
$body-font-size: 14px; $body-font-size: 14px;
// grid // grid
......
...@@ -4,7 +4,6 @@ div#accordion { ...@@ -4,7 +4,6 @@ div#accordion {
border-right: 1px solid #d3d3d3; border-right: 1px solid #d3d3d3;
display: table-cell; display: table-cell;
font-family: $body-font-family; font-family: $body-font-family;
// padding: $body-line-height 0;
text-shadow: 0 1px 0 #f6f6f6; text-shadow: 0 1px 0 #f6f6f6;
vertical-align: top; vertical-align: top;
width: 280px; width: 280px;
...@@ -33,6 +32,7 @@ div#accordion { ...@@ -33,6 +32,7 @@ div#accordion {
&.ui-state-active { &.ui-state-active {
background: none; background: none;
border-bottom: 1px solid #aaa;
border: 0; border: 0;
color: #000; color: #000;
font-weight: bold; font-weight: bold;
...@@ -46,8 +46,12 @@ div#accordion { ...@@ -46,8 +46,12 @@ div#accordion {
} }
ul.ui-accordion-content { ul.ui-accordion-content {
@include border-radius(0);
@include box-shadow( inset -1px 0 0 #e6e6e6);
background: #d6d6d6; background: #d6d6d6;
border: none; border: none;
border-top: 1px solid #c3c3c3;
border-bottom: 1px solid #c3c3c3;
font-size: 12px; font-size: 12px;
margin: 0; margin: 0;
} }
...@@ -56,6 +60,6 @@ div#accordion { ...@@ -56,6 +60,6 @@ div#accordion {
section.course-content { section.course-content {
@include box-sizing(border-box); @include box-sizing(border-box);
display: table-cell; display: table-cell;
padding: $gw-gutter 0 $gw-gutter $gw-gutter; padding: $gw-gutter;
vertical-align: top; vertical-align: top;
} }
@font-face {
font-family: 'Droid Sans';
font-style: normal;
font-weight: normal;
src: local('Droid Sans'), local('DroidSans'), url('http://themes.googleusercontent.com/static/fonts/droidsans/v3/s-BiyweUPV0v-yRb-cjciL3hpw3pgy2gAi-Ip7WPMi0.woff') format('woff');
}
@font-face {
font-family: 'Droid Sans';
font-style: normal;
font-weight: bold;
src: local('Droid Sans Bold'), local('DroidSans-Bold'), url('http://themes.googleusercontent.com/static/fonts/droidsans/v3/EFpQQyG9GqCrobXxL-KRMXbFhgvWbfSbdVg11QabG8w.woff') format('woff');
}
...@@ -12,23 +12,23 @@ html { ...@@ -12,23 +12,23 @@ html {
@include box-shadow(inset 0 1px 0 lighten($mit-red, 10%), 0 1px 1px #ccc); @include box-shadow(inset 0 1px 0 lighten($mit-red, 10%), 0 1px 1px #ccc);
@include linear-gradient(lighten($mit-red, 5%), darken($mit-red, 5%)); @include linear-gradient(lighten($mit-red, 5%), darken($mit-red, 5%));
border-bottom: 1px solid darken($mit-red, 10%); border-bottom: 1px solid darken($mit-red, 10%);
z-index: 99;
header { header {
@extend .clearfix; @extend .clearfix;
@extend .wrapper; @extend .wrapper;
@include box-sizing(border-box); @include box-sizing(border-box);
padding: 0 $body-line-height; padding: 0 $body-line-height;
text-shadow: 0 -1px 0 darken($mit-red, 10%);
h1 { h1 {
border-right: 1px solid $mit-red; border-right: 1px solid darken($mit-red, 5%);
font-size: $body-font-size; font-size: $body-font-size;
font-weight: bold; font-weight: bold;
margin: 0 $gw-gutter 0 0; margin: 0 $gw-gutter 0 0;
padding: 15px $gw-gutter 15px 0; padding: 15px $gw-gutter 15px 0;
display: block; display: block;
float: left; float: left;
text-shadow: 0 1px 0 lighten($mit-red, 10%); color: #fff;
} }
nav { nav {
...@@ -49,7 +49,12 @@ html { ...@@ -49,7 +49,12 @@ html {
a { a {
color: #fff; color: #fff;
text-shadow: 0 -1px 0 darken($mit-red, 10%);
&:hover {
color: rgba(#fff, .7);
background-color: none;
text-decoration: none;
}
} }
} }
} }
...@@ -60,12 +65,11 @@ html { ...@@ -60,12 +65,11 @@ html {
section.main-content { section.main-content {
@extend .clearfix; @extend .clearfix;
@extend .wrapper; @extend .wrapper;
@include box-shadow(0 0px 1px #ccc); @include box-shadow(0 1px 0 #fff);
@include box-sizing(border-box); @include box-sizing(border-box);
background: #fff; background: #fff;
border-top: 0; border-top: 0;
border: 1px solid #ccc; border: 1px solid #ccc;
z-index: 0;
} }
img { img {
......
@import "bourbon/bourbon"; @import "bourbon/bourbon";
@import "reset"; @import "reset";
@import "font-face";
// Base layout // Base layout
@import "base-variables", "base-extends", "base"; @import "base-variables", "base-extends", "base";
......
<table width=800 >
<tr><td></td>
% for t in range(1,1+len(items)): % for t in range(1,1+len(items)):
<td class="seq_inactive" id="tt_${ t }" height=10>&nbsp;</td> <ol>
<li class="seq_inactive" id="tt_${ t }" height=10>&nbsp;</li>
</ol>
% endfor % endfor
<td></td></tr> <div id="${ id }prev">Previous</div>
<tr><td align=center valign=top><br><br><br><br><br><br><br><br><br><br><br><div id="${ id }prev"><span class="ui-icon ui-icon-circle-triangle-w"></span></div></td> <div id="${ id }next">Next</div>
<td colspan=${ len(items) }><div id="seq_content"></div></td>
<td align=center valign=top><br><br><br><br><br><br><br><br><br><br><br><div id="${ id }next"><span class="ui-icon ui-icon-circle-triangle-e">&nbsp;</span></div></td> <!-- <td colspan=${ len(items) }> -->
</tr> <div id="seq_content"></div>
<tr></tr> <!-- </td> -->
</table>
<div> <ol>
% for t in items: % for t in items:
<div id="vert-${items.index(t)}"> <li id="vert-${items.index(t)}">
${t[1]['content']} ${t[1]['content']}
</div> </li>
% endfor % endfor
</div> </ol>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment