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

113 lines
2.0 KiB
SCSS
Raw Normal View History

2024-01-09 16:13:20 +01:00
ul,
ol {
margin: 0 0 0.5em 0.5em;
padding: 0;
2024-01-09 16:13:20 +01:00
}
ul {
list-style: none;
2024-01-09 16:13:20 +01:00
}
ol {
list-style: decimal;
2024-01-09 16:13:20 +01:00
}
li > ul,
li > ol {
margin-bottom: 0;
margin-left: 0.5em;
2024-01-09 16:13:20 +01:00
}
dt {
font-weight: 700;
2024-01-09 16:13:20 +01:00
}
dd {
margin: 0 0 0.5em 0.5em;
2024-01-09 16:13:20 +01:00
padding: 0;
}
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__white;
background-color: $color__black;
font-family: $font__black;
font-size: $font__size-body*0.7;
text-transform: uppercase;
}
}
.item-os_fund_target li {
background-color: $color__orange;
}
.item-os_fund_source li {
background-color: $color__lightblue;
}
.item-os_fund_field li {
background-color: $color__yellow;
}
.item-os_fund_dates li {
background-color: $color__green;
}
.item-os_fund_call {
display: block;
margin:0.2rem 0;
li {
font-size: $font__size-body*1.2;
}
}
.item-os_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;
}
2024-01-09 16:13:20 +01:00
}
.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;
}
}
2024-01-09 16:13:20 +01:00
}
.single-xarxaprod-ajut {
article:not(.type-post) {
.xarxaprod-label {
li {
font-size: $font__size-body*1.1;
}
}
.item-os_fund_apply_text {
font-size: $font__size-body*1.1;
}
}
2024-01-09 16:13:20 +01:00
}