Skip to content

Commit

Permalink
Scope vcard styles closes #365
Browse files Browse the repository at this point in the history
  • Loading branch information
zachwise committed May 24, 2016
1 parent c3ecd17 commit c21901b
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 73 deletions.
10 changes: 1 addition & 9 deletions compiled/css/themes/timeline.theme.dark.css

Large diffs are not rendered by default.

10 changes: 1 addition & 9 deletions compiled/css/timeline.css

Large diffs are not rendered by default.

53 changes: 52 additions & 1 deletion source/less/Typography.less
Original file line number Diff line number Diff line change
Expand Up @@ -171,12 +171,63 @@
//margin-left:18px;
}


/* VCard
================================================== */
.vcard {
font-family: @font-main;
font-size: @base-font-size;
line-height:@base-font-size;

.clearfix();
margin-bottom:@base-spacing;
margin-top:10px;
.twitter-date {
text-align:left;
font-size:@base-font-size-small;
}
.author {
float:right;
//text-align:right;
}
a {
color: lighten(@color-dark, 20%);
text-decoration:none;
}
a:hover {
text-decoration: none;
.fn, .nickname {
color:@color-theme;
//text-decoration: underline;
}
}
.fn, .nickname {

padding-left: 42px;
}
.fn {
display:block;
font-weight: bold;

}
.nickname {
margin-top:1px;
display:block;
color: lighten(@color-dark, 40%);
}

.avatar {
float:left;
display: block;
width: 32px;
height: 32px;
img {
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 5px;
}
}
}

.tl-text {
ul {
padding:0px;
Expand Down
54 changes: 0 additions & 54 deletions source/less/media/TL.Media.less
Original file line number Diff line number Diff line change
Expand Up @@ -74,60 +74,6 @@

}

/* VCard
================================================== */
.vcard {
//float:right;

.clearfix();
margin-bottom:@base-spacing;
margin-top:10px;
.twitter-date {
text-align:left;
font-size:@base-font-size-small;
}
.author {
float:right;
//text-align:right;
}
a {
color: lighten(@color-dark, 20%);
text-decoration:none;
}
a:hover {
text-decoration: none;
.fn, .nickname {
color:@color-theme;
//text-decoration: underline;
}
}
.fn, .nickname {

padding-left: 42px;
}
.fn {
display:block;
font-weight: bold;

}
.nickname {
margin-top:1px;
display:block;
color: lighten(@color-dark, 40%);
}

.avatar {
float:left;
display: block;
width: 32px;
height: 32px;
img {
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 5px;
}
}
}
.tl-slide.tl-full-image-background, .tl-slide.tl-full-color-background {
a, .vcard a {
.slide-text-shadow();
Expand Down

0 comments on commit c21901b

Please sign in to comment.