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

157 lines
2.9 KiB
SCSS
Raw Normal View History

2024-01-09 16:13:20 +01:00
ul,
ol {
margin: 0;
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-14 17:12:37 +01:00
padding: 0;
2024-01-09 16:13:20 +01:00
}
@media screen {
.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;
2024-03-14 20:54:11 +01:00
border: $border__line;
background-color: none;
font-size: $font__size-body*0.8;
}
}
.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;
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-size: $font__size-body*1.1;
text-transform: uppercase;
}
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;
}
}
}
2024-03-13 21:27:01 +01:00
ul[id*="menu-footer"] {
column-count: 3;
a {
text-decoration: underline;
}
}
ul[id*="menu-legal"] li {
float: left;
padding-left: 0.8em;
font-size: 0.8em;
}
ul[id*="menu-social-media"] {
display:flex;
flex-flow: row;
li {
height: 1.5em;
width: 1.5em;
background-color: $color__white;
border-radius: 5em;
margin-right: 0.3em;
position: relative;
//&:before {
// content:"";
// display: block;
// color: $color__black;
// font-size: 1em;
// width: 2em;
// height: 2em;
// text-align:center;
//}
a {
margin-left: -10000em;
&:before {
content:"";
display: inline-flex;
align-content: center;
justify-content: center;
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 100%;
color: $color__black;
font-size: 1em;
font-weight: 900;
}
&[href*="instagram.com"]:before{
content: "in";
}
&[href*="youtube.com"]:before{
content: "yt";
}
&[href*="facebook.com"]:before{
content: "fb";
}
&[href*="twitter.com"]:before{
content: "tw";
}
&[href*="mastodon"]:before{
content: "mt";
}
}
}
}
2024-01-14 17:12:37 +01:00
}