Added styles for image alignment and other css bug fixes

This commit is contained in:
Shashank Mehta
2014-02-05 21:56:55 +05:30
parent c286958b84
commit fe6eeed937
2 changed files with 35 additions and 13 deletions

View File

@ -232,6 +232,7 @@ header {
width: 30%;
margin: 0 1.5%;
margin-bottom: 50px;
float: left;
@include box-sizing();
}
@ -245,6 +246,9 @@ header {
&:hover {
color: #333;
img.article-cover {
opacity: 1;
}
}
a:hover {
@ -271,11 +275,6 @@ header {
width: 100%;
opacity: 0.8;
@include transition(all, 0.2s, ease-in);
&:hover {
opacity: 1;
@include transition(all, 0.2s, ease-in);
}
}
.tag {
@ -389,4 +388,20 @@ footer {
font-size: 0.9em;
}
// ============== /TEAM ============== //
// ============== /TEAM ============== //
.img {
padding: 10px 0px 10px 10px;
&.right img{
float: right;
width: 300px;
}
&.left img{
float: left;
width: 300px;
}
&.center {
text-align: center;
}
}