Browse Source

Exchange first slide on front page with PMPC (#432)

This involves a new possible XML value called text2 which we need in this slide.
pull/435/head
alex.busch 3 years ago
committed by Gogs
parent
commit
712de0ee43
7 changed files with 44 additions and 6 deletions
  1. BIN
      graphics/pmpc_slider.jpg
  2. +4
    -0
      index.xsl
  3. +29
    -3
      look/fsfe.less
  4. +1
    -1
      look/fsfe.min.css
  5. +1
    -1
      look/valentine.min.css
  6. +8
    -0
      tools/frontpage/30_pmpc.en.xml
  7. +1
    -1
      tools/frontpage/90_15years.en.xml

BIN
graphics/pmpc_slider.jpg View File

Before After
Width: 1170  |  Height: 300  |  Size: 93 KiB

+ 4
- 0
index.xsl View File

@ -138,6 +138,10 @@
<xsl:if test=" text != '' ">
<p class="text"><xsl:value-of select="text" /></p>
</xsl:if>
<xsl:if test=" text2 != '' ">
<p class="text2"><xsl:value-of select="text2" /></p>
</xsl:if>
<!-- Author (if existing) -->
<xsl:if test="author != ''">


+ 29
- 3
look/fsfe.less View File

@ -219,9 +219,35 @@ img.signatory-logo {
#summit16 img:last-of-type { bottom: 10%; right: 5%; width: 50%; max-width: 400px; }
@media (min-width: 800px) { #summit16 img:first-of-type {top: 20%;} }
#box15years {
.campaign-box-center;
background: url('/graphics/15years-campaignbox.png') center no-repeat #666;
#boxpmpc {
background: url('/graphics/pmpc_slider.jpg') left 33% no-repeat #666;
background-size: cover;
text-shadow: 0px 1px 8px rgb(0,0,0);
.text, .text2 {
.quote;
}
.text, .text2 {
display: block;
padding: 1.25em;
min-width: 120px;
font-size: 1.25em;
hyphens: none;
text-align: center;
}
@media (min-width: @screen-sm) {
.text {
float: left;
width: 30%;
}
.text2 {
float: right;
width: 30%;
}
background-position: center;
}
}
#dfd {


+ 1
- 1
look/fsfe.min.css
File diff suppressed because it is too large
View File


+ 1
- 1
look/valentine.min.css
File diff suppressed because it is too large
View File


+ 8
- 0
tools/frontpage/30_pmpc.en.xml View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<campaigns>
<campaign running="yes" id="boxpmpc">
<text>Why is software created using taxpayers' money not released as Free Software?</text>
<text2>If it is public money, it should be public code as well.</text2>
<link>/campaigns/pmpc</link>
</campaign>
</campaigns>

tools/frontpage/30_15years.en.xml → tools/frontpage/90_15years.en.xml View File


Loading…
Cancel
Save