mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy.org.git
synced 2024-09-07 20:46:57 +00:00
Revert "Merge branch 'master' into set-img-size"
This reverts commita0c32c0b4f
, reversing changes made toc46e9bb2ac
.
This commit is contained in:
parent
24a86fbea9
commit
5abf9a38f7
|
@ -73,23 +73,10 @@
|
|||
|
||||
.sp-service-icon {
|
||||
margin-top: -4rem;
|
||||
min-height: 6rem;
|
||||
min-width: 4rem;
|
||||
max-width: 12rem;
|
||||
max-height: 8rem;
|
||||
margin-left: 2rem;
|
||||
width: max-content;
|
||||
& > .error {
|
||||
min-height: 6rem;
|
||||
min-width: 6rem;
|
||||
}
|
||||
}
|
||||
|
||||
.sp-feature-img {
|
||||
min-height: 20rem;
|
||||
min-width: 20rem;
|
||||
max-width: 40rem;
|
||||
max-height: 40rem;
|
||||
}
|
||||
|
||||
.sp-service-card {
|
||||
|
@ -104,9 +91,8 @@
|
|||
}
|
||||
|
||||
.sp-supported-by-img {
|
||||
pointer-events: none;
|
||||
max-width: 15rem;
|
||||
margin: 1rem;
|
||||
width: 10rem;
|
||||
}
|
||||
|
||||
.sp-supported-by-list {
|
||||
|
@ -176,19 +162,3 @@ a, a.btn-link {
|
|||
padding-left: 0 !important;
|
||||
padding-right: 0 !important;
|
||||
}
|
||||
|
||||
.error {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
text-align: center;
|
||||
font-size: 2rem;
|
||||
padding: 1rem;
|
||||
background-color: transparent;
|
||||
border: lightgray solid .25rem;
|
||||
border-radius: .5rem;
|
||||
& > i {
|
||||
color: lightgray;
|
||||
}
|
||||
}
|
|
@ -10,7 +10,7 @@ linkTitle = "SelfPrivacy"
|
|||
<div class="container rounded">
|
||||
<div id="screenshotsCarouselControls" class="carousel slide" data-bs-ride="carousel">
|
||||
<div class="carousel-inner rounded">
|
||||
<div class="carousel-item active">
|
||||
<div class="carousel-item">
|
||||
<img class="d-block w-100" src="/images/screenshots/1-en.png" alt="First slide">
|
||||
</div>
|
||||
<div class="carousel-item">
|
||||
|
@ -32,15 +32,15 @@ linkTitle = "SelfPrivacy"
|
|||
<img class="d-block w-100" src="/images/screenshots/7-en.png" alt="Seventh slide">
|
||||
</div>
|
||||
</div>
|
||||
<div class="carousel-indicators">
|
||||
<button type="button" data-bs-target="#screenshotsCarouselControls" data-bs-slide-to="0" class="active" aria-current="true"></button>
|
||||
<button type="button" data-bs-target="#screenshotsCarouselControls" data-bs-slide-to="1"></button>
|
||||
<button type="button" data-bs-target="#screenshotsCarouselControls" data-bs-slide-to="2"></button>
|
||||
<button type="button" data-bs-target="#screenshotsCarouselControls" data-bs-slide-to="3"></button>
|
||||
<button type="button" data-bs-target="#screenshotsCarouselControls" data-bs-slide-to="4"></button>
|
||||
<button type="button" data-bs-target="#screenshotsCarouselControls" data-bs-slide-to="5"></button>
|
||||
<button type="button" data-bs-target="#screenshotsCarouselControls" data-bs-slide-to="6"></button>
|
||||
</div>
|
||||
<ol class="carousel-indicators">
|
||||
<li data-bs-target="#screenshotsCarouselControls" data-slide-to="0" class="active"></li>
|
||||
<li data-bs-target="#screenshotsCarouselControls" data-bs-slide-to="1"></li>
|
||||
<li data-bs-target="#screenshotsCarouselControls" data-bs-slide-to="2"></li>
|
||||
<li data-bs-target="#screenshotsCarouselControls" data-bs-slide-to="3"></li>
|
||||
<li data-bs-target="#screenshotsCarouselControls" data-bs-slide-to="4"></li>
|
||||
<li data-bs-target="#screenshotsCarouselControls" data-bs-slide-to="5"></li>
|
||||
<li data-bs-target="#screenshotsCarouselControls" data-bs-slide-to="6"></li>
|
||||
</ol>
|
||||
<button class="carousel-control-prev" type="button" data-bs-target="#screenshotsCarouselControls" data-bs-slide="prev">
|
||||
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
|
||||
<span class="visually-hidden">Previous</span>
|
||||
|
@ -192,20 +192,10 @@ linkTitle = "SelfPrivacy"
|
|||
<div class="container-fluid">
|
||||
<div class="sp-supported-by-list">
|
||||
<a href="https://nlnet.nl/project/SelfPrivacy/" target="_blank" rel="noopener noreferrer">
|
||||
<object role="img" aria-label="NLnet foundation" class="d-flex justify-content-center align-items-center sp-supported-by-img" type="image/svg+xml" data="/images/logos/nlnet.svg">
|
||||
<div class="error">
|
||||
<i class="fa-solid fa-triangle-exclamation"></i>
|
||||
NLnet foundation
|
||||
</div>
|
||||
</object>
|
||||
<img class="sp-supported-by-img" src="/images/logos/nlnet.svg" alt="NLnet foundation">
|
||||
</a>
|
||||
<a href="https://privacyaccelerator.org" target="_blank" rel="noopener noreferrer">
|
||||
<object role="img" aria-label="Privacy Accelerator" class="d-flex justify-content-center align-items-center sp-supported-by-img" type="image/svg+xml" data="/images/logos/PrivacyAcceleratorLogo.svg">
|
||||
<div class="error">
|
||||
<i class="fa-solid fa-triangle-exclamation"></i>
|
||||
Privacy Accelerator
|
||||
</div>
|
||||
</object>
|
||||
<img class="sp-supported-by-img" src="/images/logos/PrivacyAcceleratorLogo.svg" alt="Privacy Accelerator">
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
{{ $side := .Get 3 }}
|
||||
{{ if eq $side "right" }}
|
||||
<div class="d-flex flex-column flex-lg-row flex-xl-row justify-content-center align-items-center sp-feature sp-feature{{ $bg }} my-auto">
|
||||
<div class="col-xl-4 col-lg-6 col-md-8 col-xs-12 px-5">
|
||||
<div class="flex-none col-xl-4 col-lg-6 col-md-8 col-xs-12 px-5">
|
||||
{{ if $title }}
|
||||
<h2 class="sp-feature-title">{{ $title }}</h2>
|
||||
{{ end }}
|
||||
|
@ -12,22 +12,14 @@
|
|||
</div>
|
||||
{{ if $illustration }}
|
||||
<div class="col-lg-4 col-md-6 col-sm-8 col-xs-12">
|
||||
<object role="img" class="my-auto d-flex justify-content-center align-items-center card-img-top" type="image/svg+xml" data="{{ $illustration.RelPermalink }}">
|
||||
<div class="error sp-feature-img">
|
||||
<i class="fa-solid fa-triangle-exclamation"></i>
|
||||
</div>
|
||||
</object>
|
||||
<img class="card-img-top rounded-img" src="{{ $illustration.RelPermalink }}">
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ else }}
|
||||
<div class="d-flex flex-column-reverse flex-lg-row flex-xl-row justify-content-center align-items-center sp-feature sp-feature{{ $bg }}">
|
||||
{{ if $illustration }}
|
||||
<div class="col-lg-4 col-md-6 col-sm-8 col-xs-12">
|
||||
<object role="img" class="col-lg-4 col-md-6 col-sm-8 col-xs-12 my-auto d-flex justify-content-center align-items-center card-img-top" type="image/svg+xml" data="{{ $illustration.RelPermalink }}">
|
||||
<div class="error sp-feature-img">
|
||||
<i class="fa-solid fa-triangle-exclamation"></i>
|
||||
</div>
|
||||
</object>
|
||||
<img class="card-img-top rounded-img" src="{{ $illustration.RelPermalink }}">
|
||||
</div>
|
||||
{{ end }}
|
||||
<div class="col-xl-4 col-lg-6 col-md-8 col-xs-12 px-5">
|
||||
|
|
|
@ -1,11 +1,7 @@
|
|||
{{ $illustration := .Get 0 }}
|
||||
{{ $title := .Get 1 }}
|
||||
<div class="card sp-service-card h-100">
|
||||
<object class="d-flex justify-content-center align-items-center card-img-top sp-service-icon" type="image/svg+xml" data="{{ $illustration }}">
|
||||
<div class="error">
|
||||
<i class="fa-solid fa-triangle-exclamation"></i>
|
||||
</div>
|
||||
</object>
|
||||
<img class="card-img-top rounded-img sp-service-icon" src="{{ $illustration }}" alt="">
|
||||
<div class="card-body">
|
||||
<h4 class="card-title">{{ $title }}</h4>
|
||||
{{ .Inner }}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
|
||||
<!-- Created using Karbon14, part of koffice: http://www.koffice.org/karbon -->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="449px" height="170px" viewBox="0 0 449 168">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="449px" height="168px">
|
||||
<defs>
|
||||
</defs>
|
||||
<g id="Layer">
|
||||
|
|
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 20 KiB |
Loading…
Reference in a new issue