You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

203 lines
3.2 KiB
Plaintext

.categories, .category > ul {
list-style-type: none;
padding: 0;
10 years ago
> li {
9 years ago
padding-top: 10px;
padding-bottom: 10px;
@media (max-width: @screen-xs-max) {
border-top: 1px solid @gray-lighter;
9 years ago
&:last-child {
border-bottom: 1px solid @gray-lighter;
9 years ago
};
}
10 years ago
min-height: 53px;
10 years ago
.content {
.icon {
font-size: 17px;
line-height: 17px;
padding: 13px;
border-radius: 50%;
margin-right: 15px;
min-width: 46px;
min-height: 46px;
margin-top: 2px;
}
10 years ago
9 years ago
img, .user-icon {
.user-icon-style(46px, 2.4rem, 50%);
}
h2 {
display: block;
word-wrap: break-word;
9 years ago
overflow: hidden;
9 years ago
font-size: 18px;
line-height: 22px;
margin: 0;
margin-left: 62px;
10 years ago
strong {
color: @gray-dark;
}
}
@media (max-width: @screen-sm-max) {
.user-img, .user-icon {
.user-icon-style(@border-radius: 50%);
margin-right: 8px;
}
h2 {
margin-left: 40px;
}
}
}
10 years ago
10 years ago
@media (max-width: 500px) {
.teaser {
position: absolute;
right: 4px;
}
}
9 years ago
.mobile-stat {
padding-left: 0px;
}
.card {
border-left: 4px solid #ccc;
text-align: left;
margin-top: 2px;
overflow: hidden;
10 years ago
height: 53px;
9 years ago
font-size: 12px;
line-height: 14px;
> * {
padding-left: 20px;
}
img {
border-radius: 50%;
9 years ago
width: 24px;
height: 24px;
}
10 years ago
p {
margin: 0;
.emoji {
max-width: 12px;
max-height: 12px;
}
}
.post-content {
9 years ago
overflow: hidden;
blockquote {
display: none;
}
}
.user-icon {
display: inline-block;
.user-icon-style(24px, 1.5rem, 50%);
}
}
9 years ago
.category-children {
.category-children-item {
margin-right: 10px;
}
.icon {
7 years ago
min-width: 23px;
min-height: 23px;
font-size: 10px;
7 years ago
line-height: 11px;
padding: 5px;
margin-right: 5px;
9 years ago
}
}
10 years ago
}
}
.category-header {
width: 100%;
height: 110px;
text-align: center;
margin: 0;
padding-top:25px;
.pointer;
margin-bottom: 10px;
overflow:hidden;
&:hover {
filter: brightness(115%);
-webkit-filter: brightness(115%);
}
.category-box {
height:90px;
.post-preview {
padding-left:10px;
padding-right:10px;
text-align:left;
img {
width:60px;
height:60px;
padding-right:5px;
}
p {
overflow: hidden;
text-overflow:ellipsis;
height:60px;
}
}
}
}
.category-header-image-auto {
-webkit-background-size: auto!important;
-moz-background-size: auto!important;
-o-background-size: auto!important;
background-size: auto!important;
background-position: 0% 0% !important;
}
.category-header-image-cover {
-webkit-background-size: cover!important;
-moz-background-size: cover!important;
-o-background-size: cover!important;
background-size: cover!important;
background-position: center!important;
}
.category-header-image-contain {
-webkit-background-size: contain!important;
-moz-background-size: contain!important;
-o-background-size: contain!important;
background-size: contain!important;
background-position: center!important;
}
.stats {
font-size: 20px;
text-align: center;
margin-top: 7px;
line-height: 22px;
small {
text-transform: uppercase;
color: @gray-light;
font-weight: 300;
font-size: 12px;
}
}