File tree 5 files changed +27
-16
lines changed
5 files changed +27
-16
lines changed Original file line number Diff line number Diff line change 35
35
< div id= " special" >
36
36
< h3> Special Sponsor< / h3>
37
37
< % var specialSponsor = theme .special [0 ]; % >
38
- < a href= " <%- specialSponsor.url %>" target= " _blank" rel= " noopener sponsored" >
39
- < img src= " <%- logo(specialSponsor.img) %>" style = " width:160px " alt= " Special sponsor <%- specialSponsor.name %>" >
38
+ < a href= " <%- specialSponsor.url %>" target= " _blank" rel= " noopener sponsored" class = " sponsor " style = " width: 160px; height: 80px; line-height: 80px; " >
39
+ < img src= " <%- logo(specialSponsor.img) %>" alt= " Special sponsor <%- specialSponsor.name %>" >
40
40
< br>
41
41
<!-- < span>< %- specialSponsor .description % >< / span> -->
42
42
< / a>
Original file line number Diff line number Diff line change 3
3
<h3 >Patreon Sponsors</h3 >
4
4
5
5
<% _ for (const sponsor of theme .platinum ) {_% >
6
- < a href= " <%- sponsor.url %>" target= " _blank" rel= " sponsored noopener" style= " width: 160px;" >
7
- < img src= " <%- logo(sponsor.img) %>" style = " width: 160px; " alt= " <%-sponsor.name-%>" >
6
+ < a href= " <%- sponsor.url %>" target= " _blank" rel= " sponsored noopener" class = " sponsor " style= " width: 160px; height: 80px; line-height: 80px ;" >
7
+ < img src= " <%- logo(sponsor.img) %>" alt= " <%-sponsor.name-%>" >
8
8
< / a>
9
9
< % _ } _%>
10
10
<br >
11
11
<br >
12
12
<% _ for (const sponsor of theme .gold ) {_% >
13
- < a href= " <%- sponsor.url %>" target= " _blank" rel= " sponsored noopener" style= " width: 120px;" >
14
- < img src= " <%- logo(sponsor.img) %>" style = " width:auto;max-width:120px;max-height:60px; " alt= " <%-sponsor.name-%>" >
13
+ < a href= " <%- sponsor.url %>" target= " _blank" rel= " sponsored noopener" class = " sponsor " style= " width: 120px; height: 60px; line-height: 60px ;" >
14
+ < img src= " <%- logo(sponsor.img) %>" alt= " <%-sponsor.name-%>" >
15
15
< / a>
16
16
< % _ } _%>
17
17
<br >
Original file line number Diff line number Diff line change 11
11
a
12
12
margin : 20px 15px 0
13
13
position : relative
14
- a , img
15
- width : 100px
16
14
display : inline-block
17
- vertical-align : middle
15
+ & .sponsor
16
+ width : 100px
17
+ height : 60px
18
+ line-height : 60px
18
19
img
20
+ max-width : 100%
21
+ max-height : 100%
22
+ vertical-align : middle
19
23
transition : all .3s ease
20
24
filter : grayscale (100% )
21
25
opacity : 0.66
26
30
display : block
27
31
margin : 30px auto 15px
28
32
width : 200px
29
- img
30
- width : 200px
33
+ height : auto
31
34
.become-sponsor
32
35
margin-top : 40px
33
36
font-size : .9em
Original file line number Diff line number Diff line change 3
3
font-size : .85em
4
4
.logo
5
5
color : $light
6
- margin-top : 10 px
7
- text-align : center
6
+ width : 125 px
7
+ height : 50 px
8
8
font-weight : bold
9
- display block
9
+ display flex
10
+ align-items center
11
+ justify-content center
10
12
& :first-child
11
13
margin-top : 18px
12
14
& :last-child
13
15
margin-bottom : 20px
14
- img , a
15
- width : 125px
16
+ img
17
+ max-width : 125px
18
+ max-height : 50px
16
19
17
20
.become-backer
18
21
border : 1px solid $green
Original file line number Diff line number Diff line change @@ -120,11 +120,16 @@ body
120
120
margin 0
121
121
a
122
122
color $light
123
+ width : 160px
124
+ height : 80px
125
+ line-height : 80px
123
126
a , span , img
124
127
display : inline-block
125
128
vertical-align : middle
126
129
img
127
130
margin : 15px 0 0
131
+ max-width : 100%
132
+ max-height : 100%
128
133
129
134
#highlights
130
135
background-color : #f f f
You can’t perform that action at this time.
0 commit comments