Skip to content

Commit 6c57416

Browse files
authored
update sponsors block (Codeception#512)
1 parent 91f42a8 commit 6c57416

File tree

4 files changed

+79
-89
lines changed

4 files changed

+79
-89
lines changed

_includes/sponsors.html

Lines changed: 23 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,40 @@
1-
<div class="sponsors-wrapper">
1+
<div class="support-wrapper">
22
<div class="container">
33
<div class="row">
4-
<div class="col-sm-12 col-md-offset-3 col-md-6 text-center">
4+
<div class="col-sm-12 col-md-12 text-center">
55
<a href="https://opencollective.com/codeception/contribute/premium-partner-11916/checkout">
66
<h3>Premium Sponsors</h3>
77
</a>
88

9+
<div class="support">
10+
<a href="https://somewherewarm.com/" rel="nofollow" class="support-item support-item--premium">
11+
<img src="https://images.opencollective.com/somewherewarmgr/f8b567b/logo/256.png" alt="SomewhereWarm" title="SomewhereWarm - Living and breathing all things WooCommerce.">
12+
</a>
13+
</div>
914

10-
<a href="https://somewherewarm.com/" rel="nofollow" class="sponsors-item">
11-
<img src="https://images.opencollective.com/somewherewarmgr/f8b567b/logo/256.png" alt="SomewhereWarm" title="SomewhereWarm - Living and breathing all things WooCommerce. " class="sponsors sponsors--somewherewarm">
12-
</a>
15+
</div>
16+
</div>
17+
18+
<div class="row">
19+
<div class="col-sm-12 col-md-12 text-center">
1320

1421
<a href="https://opencollective.com/codeception/contribute/sponsor-11887/checkout">
1522
<h4>Sponsors</h4>
1623
</a>
1724

18-
<a href="https://themeisle.com/" rel="nofollow" class="sponsors-item">
19-
<img src="/images/support/themeisle.png" class="sponsors sponsors--themeisle" title="themeisle" alt="Themeisle - Premium WordPress themes, Templates &amp; Plugins">
20-
</a>
25+
<div class="support">
26+
<a href="https://themeisle.com/" rel="nofollow" class="support-item">
27+
<img src="/images/support/themeisle.png" title="themeisle" alt="Themeisle - Premium WordPress themes, Templates &amp; Plugins">
28+
</a>
2129

22-
<a href=" https://en.vpnwelt.com/ " rel="nofollow" class="sponsors-item">
23-
<img src="/images/support/vpnwelt.png" class="sponsors sponsors--vpnwelt" title="VPNwelt" alt="VPNwelt - Privacy Protection on the Internet 2021">
24-
</a>
30+
<a href=" https://en.vpnwelt.com/ " rel="nofollow" class="support-item">
31+
<img src="/images/support/vpnwelt.png" title="VPNwelt" alt="VPNwelt - Privacy Protection on the Internet 2021">
32+
</a>
2533

26-
<a href="https://translationreport.com/" rel="nofollow" class="sponsors-item">
27-
<img src="/images/support/translationreport.png" class="sponsors sponsors--translationreport" title="translation report" alt="Best Translation Site Reviews by TranslationReport">
28-
</a>
34+
<a href="https://translationreport.com/" rel="nofollow" class="support-item">
35+
<img src="/images/support/translationreport.png" title="translation report" alt="Best Translation Site Reviews by TranslationReport">
36+
</a>
37+
</div>
2938

3039
</div>
3140
</div>

_scss/_all.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
@import "main";
22
@import "algolia";
33
@import "contributors";
4+
@import "support";
45
@import "highlight";

_scss/_main.scss

Lines changed: 2 additions & 75 deletions
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ body {
401401
width: 60px;
402402
}
403403

404-
.sponsors--rebilly, .sponsors--themeisle, .sponsors--vpnwelt {
404+
.sponsors--rebilly, {
405405
width: 100px;
406406
background: #fff;
407407
border-radius: 20px;
@@ -416,28 +416,13 @@ body {
416416
&:hover {
417417
opacity: 1;
418418
}
419-
420-
&.sponsors--themeisle {
421-
width: 150px;
422-
height: auto;
423-
}
424419
}
425420

426421
.sponsors-item:hover {
427422
text-decoration: none;
428423
}
429424

430425
#footer {
431-
.sponsors-item .sponsors.sponsors--somewherewarm {
432-
height: 150px;
433-
opacity: 0.9;
434-
width: auto;
435-
436-
&:hover {
437-
opacity: 1;
438-
}
439-
}
440-
441426
a {
442427
color: #fff;
443428
}
@@ -1481,7 +1466,7 @@ body #footer .links {
14811466
width: 100px;
14821467
}
14831468

1484-
.sponsors--rebilly, .sponsors--themeisle, .sponsors--vpnwelt, .sponsors--translationreport {
1469+
.sponsors--rebilly {
14851470
width: 150px;
14861471
}
14871472

@@ -1704,64 +1689,6 @@ body #footer .links {
17041689
}
17051690
}
17061691

1707-
.sponsors-wrapper {
1708-
.sponsors-item .sponsors {
1709-
height: 80px;
1710-
border-radius: 20px;
1711-
opacity: 0.8;
1712-
transition: opacity .2s ease;
1713-
1714-
&.sponsors--vpnwelt, &.sponsors--translationreport {
1715-
height: auto;
1716-
border-radius: inherit;
1717-
}
1718-
1719-
&:hover {
1720-
opacity: 1;
1721-
}
1722-
1723-
&.sponsors--themeisle {
1724-
width: 150px;
1725-
height: auto;
1726-
}
1727-
1728-
&.sponsors--somewherewarm {
1729-
height: 150px;
1730-
opacity: 0.9;
1731-
width: auto;
1732-
1733-
&:hover {
1734-
opacity: 1;
1735-
}
1736-
}
1737-
}
1738-
1739-
.sponsors {
1740-
zoom: 0.8;
1741-
filter: grayscale(0.3);
1742-
opacity: 0.5;
1743-
transition: opacity .2s ease;
1744-
1745-
&:hover {
1746-
opacity: 1;
1747-
text-decoration: none;
1748-
}
1749-
}
1750-
1751-
.container {
1752-
padding-bottom: 50px;
1753-
}
1754-
1755-
h4 {
1756-
margin-top: 40px;
1757-
margin-bottom: 15px;
1758-
}
1759-
1760-
h3 {
1761-
margin-bottom: 15px;
1762-
}
1763-
}
1764-
17651692
.partners-block {
17661693
font-size: 18px;
17671694
margin-bottom: 30px;

_scss/_support.scss

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
.support-wrapper {
2+
3+
.support {
4+
display: flex;
5+
flex-wrap: wrap;
6+
align-items: center;
7+
justify-content: center;
8+
}
9+
10+
.support-item {
11+
margin: 10px;
12+
width: 180px;
13+
padding: 10px;
14+
border-radius: 4px;
15+
display: flex;
16+
align-items: center;
17+
justify-content: center;
18+
19+
img {
20+
max-width: 160px;
21+
transition: all .15s ease;
22+
opacity: .5;
23+
filter: grayscale(1);
24+
}
25+
26+
&:hover {
27+
img {
28+
opacity: 1;
29+
filter: grayscale(0);
30+
}
31+
}
32+
}
33+
34+
.support-item--premium {
35+
width: 240px;
36+
img {
37+
max-width: 220px;
38+
}
39+
}
40+
41+
.container {
42+
padding-bottom: 50px;
43+
}
44+
45+
h4 {
46+
margin-top: 40px;
47+
margin-bottom: 15px;
48+
}
49+
50+
h3 {
51+
margin-bottom: 15px;
52+
}
53+
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy