Commit 856a284c by Kyle Fiedler

Fix bugs with link styles

--HG--
branch : kf-links
parent d82cc563
...@@ -61,7 +61,7 @@ a { ...@@ -61,7 +61,7 @@ a {
text-decoration:none; text-decoration:none;
} }
p &, li > &, .inline { p &, li > &, span > &, .inline {
border-bottom: 1px solid #bbb; border-bottom: 1px solid #bbb;
font-style: italic; font-style: italic;
} }
......
...@@ -186,6 +186,7 @@ h1.top-header { ...@@ -186,6 +186,7 @@ h1.top-header {
a { a {
color: darken(#F6EFD4, 80%); color: darken(#F6EFD4, 80%);
border-bottom: 0;
&:hover { &:hover {
color: darken(#F6EFD4, 60%); color: darken(#F6EFD4, 60%);
......
...@@ -224,14 +224,14 @@ section.course-content { ...@@ -224,14 +224,14 @@ section.course-content {
ul { ul {
@extend .clearfix; @extend .clearfix;
background-color: darken(#F6EFD4, 5%);
border: 1px solid darken(#f6efd4, 20%); border: 1px solid darken(#f6efd4, 20%);
border-bottom: 0; border-bottom: 0;
@include border-radius(3px 3px 0 0); @include border-radius(3px 3px 0 0);
@include box-shadow(inset 0 0 0 1px lighten(#f6efd4, 5%));
margin: lh() auto 0; margin: lh() auto 0;
overflow: hidden; overflow: hidden;
width: 106px; width: 106px;
background-color: darken(#F6EFD4, 5%);
@include box-shadow(inset 0 0 0 1px lighten(#f6efd4, 5%));
li { li {
float: left; float: left;
...@@ -242,22 +242,23 @@ section.course-content { ...@@ -242,22 +242,23 @@ section.course-content {
a { a {
background-position: center center; background-position: center center;
background-repeat: no-repeat; background-repeat: no-repeat;
border-bottom: none;
display: block;
padding: lh(.75) 4px; padding: lh(.75) 4px;
text-indent: -9999px; text-indent: -9999px;
width: 45px; width: 45px;
display: block;
&:hover { &:hover {
text-decoration: none; background-color: darken(#F6EFD4, 10%);
color: darken(#F6EFD4, 60%); color: darken(#F6EFD4, 60%);
text-decoration: none;
opacity: .5; opacity: .5;
background-color: darken(#F6EFD4, 10%); text-decoration: none;
text-decoration: none;
} }
&.disabled { &.disabled {
opacity: .4;
background-color: lighten(#F6EFD4, 10%); background-color: lighten(#F6EFD4, 10%);
opacity: .4;
} }
} }
} }
......
...@@ -95,6 +95,7 @@ section.course-content { ...@@ -95,6 +95,7 @@ section.course-content {
a { a {
@include box-shadow(1px 0 0 #555); @include box-shadow(1px 0 0 #555);
border-bottom: none;
border-right: 1px solid #000; border-right: 1px solid #000;
display: block; display: block;
cursor: pointer; cursor: pointer;
......
...@@ -125,6 +125,7 @@ div.paginator { ...@@ -125,6 +125,7 @@ div.paginator {
a { a {
color: #555; color: #555;
text-decoration: none; text-decoration: none;
border-bottom: none;
} }
} }
} }
......
...@@ -64,7 +64,6 @@ div.question-header { ...@@ -64,7 +64,6 @@ div.question-header {
overflow: hidden; overflow: hidden;
padding: 5px 0 10px; padding: 5px 0 10px;
div.tag-list { div.tag-list {
display: inline-block; display: inline-block;
float:left; float:left;
...@@ -80,6 +79,7 @@ div.question-header { ...@@ -80,6 +79,7 @@ div.question-header {
a { a {
// color: darken(#F6EFD4, 50%); // color: darken(#F6EFD4, 50%);
border-bottom: none;
&.question-delete { &.question-delete {
color: $mit-red; color: $mit-red;
...@@ -121,6 +121,11 @@ div.question-header { ...@@ -121,6 +121,11 @@ div.question-header {
width: 20%; width: 20%;
border-left: 1px dashed #ddd; border-left: 1px dashed #ddd;
a {
border-bottom: none;
font-style: normal;
}
div.post-update-info { div.post-update-info {
@include box-sizing(border-box); @include box-sizing(border-box);
padding: 10px; padding: 10px;
...@@ -139,10 +144,6 @@ div.question-header { ...@@ -139,10 +144,6 @@ div.question-header {
} }
} }
a {
color:$mit-red ;
}
div.change-date { div.change-date {
font-size: 12px; font-size: 12px;
margin-bottom: 2px; margin-bottom: 2px;
...@@ -326,6 +327,7 @@ div.question-header { ...@@ -326,6 +327,7 @@ div.question-header {
div.controls { div.controls {
border-top: 1px solid #efefef; border-top: 1px solid #efefef;
text-align: right; text-align: right;
a { a {
display: inline-block; display: inline-block;
font-size: 12px; font-size: 12px;
......
...@@ -51,6 +51,8 @@ ul.tags { ...@@ -51,6 +51,8 @@ ul.tags {
a { a {
color: #555; color: #555;
text-decoration: none; text-decoration: none;
border-bottom: none;
font-style: normal;
} }
} }
} }
......
...@@ -72,6 +72,7 @@ footer { ...@@ -72,6 +72,7 @@ footer {
height: 29px; height: 29px;
width: 28px; width: 28px;
text-indent: -9999px; text-indent: -9999px;
border-bottom: 0;
&:hover { &:hover {
opacity: .8; opacity: .8;
......
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