Commit 6d3e6827 by Kyle Fiedler

Commented out overiding base styles from askbot and addes style for links in course pages

parent e9fd04d5
...@@ -9,96 +9,96 @@ ...@@ -9,96 +9,96 @@
color: #000; color: #000;
font-family: Arial; }*/ font-family: Arial; }*/
div { // div {
margin: 0 auto; // margin: 0 auto;
padding: 0; } // padding: 0; }
h1, h2, h3, h4, h5, h6, ul, li, dl, dt, dd, form, img, p { // h1, h2, h3, h4, h5, h6, ul, li, dl, dt, dd, form, img, p {
margin: 0; // margin: 0;
padding: 0; // padding: 0;
border: none; } // border: none; }
label { // label {
vertical-align: middle; } // vertical-align: middle; }
hr { // hr {
border: none; // border: none;
border-top: 1px dashed #ccccce; } // border-top: 1px dashed #ccccce; }
input, select { // input, select {
vertical-align: middle; // vertical-align: middle;
font-family: Trebuchet MS,"segoe ui",Helvetica,Tahoma,Verdana,MingLiu,PMingLiu,Arial,sans-serif; // font-family: Trebuchet MS,"segoe ui",Helvetica,Tahoma,Verdana,MingLiu,PMingLiu,Arial,sans-serif;
margin-left: 0px; } // margin-left: 0px; }
textarea:focus, input:focus { // textarea:focus, input:focus {
outline: none; } // outline: none; }
iframe { // iframe {
border: none; } // border: none; }
p { // p {
font-size: 14px; // font-size: 14px;
line-height: 140%; // line-height: 140%;
margin-bottom: 6px; } // margin-bottom: 6px; }
a { // a {
color: #1b79bd; // color: #1b79bd;
text-decoration: none; // text-decoration: none;
cursor: pointer; } // cursor: pointer; }
h2 { // h2 {
font-size: 21px; // font-size: 21px;
padding: 3px 0 3px 5px; } // padding: 3px 0 3px 5px; }
h3 { // h3 {
font-size: 19px; // font-size: 19px;
padding: 3px 0 3px 5px; } // padding: 3px 0 3px 5px; }
ul { // ul {
list-style: disc; // list-style: disc;
margin-left: 20px; // margin-left: 20px;
padding-left: 0px; // padding-left: 0px;
margin-bottom: 1em; } // margin-bottom: 1em; }
ol { // ol {
list-style: decimal; // list-style: decimal;
margin-left: 30px; // margin-left: 30px;
margin-bottom: 1em; // margin-bottom: 1em;
padding-left: 0px; } // padding-left: 0px; }
td ul { // td ul {
vertical-align: middle; } // vertical-align: middle; }
li input { // li input {
margin: 3px 3px 4px 3px; } // margin: 3px 3px 4px 3px; }
pre { // pre {
font-family: Consolas, Monaco, Liberation Mono, Lucida Console, Monospace; // font-family: Consolas, Monaco, Liberation Mono, Lucida Console, Monospace;
font-size: 100%; // font-size: 100%;
margin-bottom: 10px; // margin-bottom: 10px;
background-color: #F5F5F5; // background-color: #F5F5F5;
padding-left: 5px; // padding-left: 5px;
padding-top: 5px; // padding-top: 5px;
padding-bottom: 20px; } // padding-bottom: 20px; }
code { // code {
font-family: Consolas, Monaco, Liberation Mono, Lucida Console, Monospace; // font-family: Consolas, Monaco, Liberation Mono, Lucida Console, Monospace;
font-size: 100%; } // font-size: 100%; }
blockquote { // blockquote {
margin-bottom: 10px; // margin-bottom: 10px;
margin-right: 15px; // margin-right: 15px;
padding: 10px 0px 1px 10px; // padding: 10px 0px 1px 10px;
background-color: #F5F5F5; } // background-color: #F5F5F5; }
* html { // * html {
.clearfix, .paginator { // .clearfix, .paginator {
height: 1; // height: 1;
overflow: visible; } } // overflow: visible; } }
+html { // +html {
.clearfix, .paginator { // .clearfix, .paginator {
min-height: 1%; } } // min-height: 1%; } }
.clearfix:after, .paginator:after { .clearfix:after, .paginator:after {
clear: both; clear: both;
...@@ -118,9 +118,9 @@ a:hover { ...@@ -118,9 +118,9 @@ a:hover {
cursor: pointer; cursor: pointer;
text-decoration: underline; } text-decoration: underline; }
h1 { // h1 {
font-size: 24px; // font-size: 24px;
padding: 10px 0 5px 0px; } // padding: 10px 0 5px 0px; }
body.user-messages { body.user-messages {
margin-top: 2.4em; } margin-top: 2.4em; }
......
...@@ -85,6 +85,7 @@ ...@@ -85,6 +85,7 @@
margin: lh() 0 lh(.5); margin: lh() 0 lh(.5);
padding: lh(.25) lh(.5); padding: lh(.25) lh(.5);
text-decoration: none; text-decoration: none;
font-style: normal;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
&:hover { &:hover {
...@@ -114,6 +115,16 @@ body { ...@@ -114,6 +115,16 @@ body {
font-style: italic; font-style: italic;
} }
a {
color: $mit-red;
font-style: italic;
text-decoration: none;
&:hover, &:focus {
color: darken($mit-red, 10%);
}
}
#{$all-text-inputs}, textarea { #{$all-text-inputs}, textarea {
@include box-shadow(0 -1px 0 #fff); @include box-shadow(0 -1px 0 #fff);
@include linear-gradient(#eee, #fff); @include linear-gradient(#eee, #fff);
...@@ -197,6 +208,7 @@ header.announcement { ...@@ -197,6 +208,7 @@ header.announcement {
text-decoration: none; text-decoration: none;
color: #fff; color: #fff;
font-size: 12px; font-size: 12px;
font-style: normal;
&:hover { &:hover {
color: rgba(#fff, .6); color: rgba(#fff, .6);
...@@ -381,6 +393,8 @@ section.index-content { ...@@ -381,6 +393,8 @@ section.index-content {
} }
ul { ul {
list-style: none;
li { li {
img { img {
float: left; float: left;
......
...@@ -16,19 +16,13 @@ table, caption, tbody, tfoot, thead, tr, th, td { ...@@ -16,19 +16,13 @@ table, caption, tbody, tfoot, thead, tr, th, td {
font-family: inherit; font-family: inherit;
vertical-align: baseline; vertical-align: baseline;
} }
/* remember to define focus styles! */
:focus {
outline: 0;
}
body { body {
line-height: 1; line-height: 1;
color: black; color: black;
background: white; background: white;
} }
ol, ul {
list-style: none;
}
/* tables still need 'cellspacing="0"' in the markup */
table { table {
border-collapse: separate; border-collapse: separate;
border-spacing: 0; border-spacing: 0;
...@@ -37,10 +31,12 @@ caption, th, td { ...@@ -37,10 +31,12 @@ caption, th, td {
text-align: left; text-align: left;
font-weight: normal; font-weight: normal;
} }
blockquote:before, blockquote:after, blockquote:before, blockquote:after,
q:before, q:after { q:before, q:after {
content: ""; content: "";
} }
blockquote, q { blockquote, q {
quotes: "" ""; quotes: "" "";
} }
......
...@@ -129,6 +129,5 @@ div.wiki-wrapper { ...@@ -129,6 +129,5 @@ div.wiki-wrapper {
p { p {
line-height: 1.6em; line-height: 1.6em;
} }
} }
} }
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