xarxaprod-wp-theme/sass/base/elements/_lists.scss

113 lines
2.0 KiB
SCSS

ul,
ol {
margin: 0 0 0.5em 0.5em;
padding: 0;
}
ul {
list-style: none;
}
ol {
list-style: decimal;
}
li > ul,
li > ol {
margin-bottom: 0;
margin-left: 0.5em;
}
dt {
font-weight: 700;
}
dd {
margin: 0 0 0.5em 0.5em;
padding: 0;
}
.home,article:not(.type-post){
.xarxaprod-label {
margin: 0;
padding: 0;
display: inline;
li {
display:inline-block;
margin:0.1em 0;
padding: 0.2em 0.2em 0 0.2em;
color: $color__text-screen;
border: 1px solid $color__black;
background-color: none;
font-family: $font__black;
font-size: $font__size-body*0.7;
}
}
.item-xxp_fund_target li {
background-color: $color__orange;
}
.item-xxp_fund_source li {
background-color: $color__lightblue;
}
.item-xxp_fund_field li {
background-color: $color__yellow;
}
.item-xxp_fund_dates li {
background-color: $color__green;
}
.item-xxp_fund_call {
display: block;
margin:0.2rem 0;
li {
font-size: $font__size-body*1.2;
}
}
.item-xxp_fund_apply_text {
display:inline-block;
margin:0.1em 0;
padding: 0.2em 0.2em 0 0.2em;
color: $color__white;
background-color: $color__green;
font-family: $font__black;
font-size: $font__size-body*0.7;
text-transform: uppercase;
}
}
.xarxaprod-faqs-types {
ul {
margin: 0;
}
.cat-item {
display:inline-block;
margin: 0.1em 0.5em 0.1em 0;
padding: 0.2em 0.2em 0 0.2em;
color: $color__white;
background-color: $color__black;
font-family: $font__black;
font-size: $font__size-body*1.1;
text-transform: uppercase;
}
.current-cat{
background-color: $color__orange;
}
a {
color: $color__white;
text-decoration: none;
&:visited, &:hover{
color: $color__white;
}
}
}
.single-xarxaprod-ajut {
article:not(.type-post) {
.xarxaprod-label {
li {
font-size: $font__size-body*1.1;
}
}
.item-xxp_fund_apply_text {
font-size: $font__size-body*1.1;
}
}
}