divers css

This commit is contained in:
2024-11-07 23:26:33 +01:00
parent ea811fccb5
commit 69d8e216cf
5 changed files with 80 additions and 84 deletions

View File

@@ -3019,10 +3019,6 @@ body {
.node-type-site .layout--threecol-25-50-25 .layout__region--first div:has(.field_field_liens_site) h2, .node-type-site .layout--threecol-25-50-25 .layout__region--first div:has(.field_field_liens_site) .visually-hidden, .node-type-site .layout--threecol-25-50-25 .layout__region--first div:has(.field_field_liens_site) .field--label-above, .node-type-site .layout--threecol-25-50-25 .layout__region--first div:has(.field_field_liens_site) span:not(.file) {
display: none;
}
.node-type-site .layout--threecol-25-50-25 .layout__region--first div:has(.field_field_liens_site) .field_field_liens_site {
background: black;
padding-left: 0.5rem;
}
@media (max-width: 810px) {
.node-type-site .layout--threecol-25-50-25 .layout__region--first div:has(.field_field_liens_site) .field_field_liens_site {
max-width: 50%;
@@ -3033,6 +3029,8 @@ body {
display: inline-flex;
align-items: center;
color: white;
background: black;
padding-left: 0.5rem;
text-transform: uppercase;
font-size: 0.6rem;
}

View File

@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="18.174984"
height="14.947381"
viewBox="0 0 5.4690765 4.497851"
version="1.1"
id="svg1"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs1" />
<g
id="layer1"
transform="translate(-102.27891,-146.15662)">
<path
d="m 105.44397,146.39759 1.82265,1.86476 h -4.84236 a 0.14436835,0.14436835 0 1 0 0,0.28873 h 4.84236 l -1.82265,1.86476 a 0.14436835,0.14436835 0 0 0 0,0.19851 0.1503837,0.1503837 0 0 0 0.20452,0 l 2.06326,-2.10537 a 0.1624144,0.1624144 0 0 0 0,-0.20452 l -2.06326,-2.10538 a 0.14436835,0.14436835 0 0 0 -0.20452,0 0.14436835,0.14436835 0 0 0 0,0.19851 z"
id="path2-2"
style="fill:#ffffff;stroke-width:0.0601533" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 871 B

View File

@@ -2,8 +2,8 @@
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="7mm"
height="7mm"
width="35px"
height="35px"
viewBox="0 0 10.531931 10.531931"
version="1.1"
id="svg1"
@@ -39,12 +39,7 @@
inkscape:groupmode="layer"
id="layer1"
transform="translate(-99.747912,-143.13958)">
<circle
style="fill:#000000;fill-rule:evenodd;stroke:#000000;stroke-width:0.529167;stroke-linecap:round;stroke-linejoin:round;paint-order:stroke fill markers"
id="path3-3"
cx="105.01388"
cy="148.40555"
r="5.0013819" />
<path
d="m 105.44397,146.39759 1.82265,1.86476 h -4.84236 a 0.14436835,0.14436835 0 1 0 0,0.28873 h 4.84236 l -1.82265,1.86476 a 0.14436835,0.14436835 0 0 0 0,0.19851 0.1503837,0.1503837 0 0 0 0.20452,0 l 2.06326,-2.10537 a 0.1624144,0.1624144 0 0 0 0,-0.20452 l -2.06326,-2.10538 a 0.14436835,0.14436835 0 0 0 -0.20452,0 0.14436835,0.14436835 0 0 0 0,0.19851 z"
id="path2-2"

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

@@ -74,6 +74,7 @@
color: white;
text-transform: uppercase;
font-size: 0.6rem;
svg{
display: none;
}
@@ -99,8 +100,6 @@
display: none;
}
.field_field_liens_site{
background: black;
padding-left: 0.5rem;
@media (max-width:810px) {
// margin-left: 0;
max-width: 50%;
@@ -111,8 +110,11 @@
display: inline-flex;
align-items: center;
color: white;
background: black;
padding-left: 0.5rem;
text-transform: uppercase;
font-size: 0.6rem;
svg{
display: none;
}