Browse Source

slider Francesca Bria (#1020)

master
Susanne Eiswirt 1 month ago
parent
commit
4061b30288
3 changed files with 80 additions and 0 deletions
  1. BIN
      graphics/slider-banner-FrancescaBria.png
  2. 69
    0
      look/fsfe.less
  3. 11
    0
      tools/frontpage/20_bria.en.xml

BIN
graphics/slider-banner-FrancescaBria.png View File


+ 69
- 0
look/fsfe.less View File

@@ -206,6 +206,75 @@ img.signatory-logo {
}
}

#slidbria {
background: url('/graphics/slider-banner-FrancescaBria.png') left 33% no-repeat #666;
background-size: cover;
text-shadow: 0px 1px 8px rgb(0, 0, 0);

.author:before {
content: "– ";
}

.author, .text {
display: block;
}

.author {
font-size: 0.8em;
}

.text {
.quote;
padding: 40% 0 4%;
font-size: 1em;
}

@media (min-width: 480px) {
.text {
margin-left: 48%;
padding: 0 0 4%;
}
}

@media (min-width:525px) {
.text {
padding: 0 0 8%;
}
}

@media (min-width:550px) {
.author {
margin-left: 40%;
}
.author, .text {
padding: 0.5em;
}
.text {
margin-left: 50%;
}
}

@media (min-width: @screen-md-min) {
.author {
font-size: 1em;
padding-top: 0;
}
.author, .text {
margin-left: 48%;
}
.text {
font-size: 1.25em;
}
}

.copyright {
font-size: 0.6em;
position: absolute;
bottom: 4px;
right: 4px;
}
}

#amaelle {
background: url('/graphics/amaelle.jpg') center 33% no-repeat #666;
background-size: cover;

+ 11
- 0
tools/frontpage/20_bria.en.xml View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<campaigns>
<campaign running="yes" id="slidbria">
<text>
The Barcelona City Council supports the FSFE&#39;s campaign &#39;Public Money? Public Code!&#39; because we need alliances to make Free Software the default setting in the public sector.
</text>
<author>Francesca Bria, Chief Technology and Digital Innovation Officer for the City of Barcelona</author>
<link>/contribute</link>
<copyright>Photo by Francesca Bria</copyright>
</campaign>
</campaigns>

Loading…
Cancel
Save