File tree 4 files changed +54
-1
lines changed
4 files changed +54
-1
lines changed Original file line number Diff line number Diff line change
1
+ {% if page.show_promotion != nil %}
2
+
3
+ <!-- Steredenn -->
4
+ {% if page.show_promotion == 'steredenn' %}
5
+ < div class ="promotion-header ">
6
+ Our game — < a href ="http://steredenn.pixelnest.io/ "> Steredenn</ a > — is on < a href ="http://steredenn-greenlight.pixelnest.io "> Steam Greenlight. < em > Help us with your vote!</ em > </ a >
7
+ </ div >
8
+ {% endif %}
9
+
10
+ {% endif %}
Original file line number Diff line number Diff line change 7
7
</ head >
8
8
< body >
9
9
< div class ="page tutorial " id ="page ">
10
+ <!-- start promotion header -->
11
+ {% include promotion-header.html %}
12
+ <!-- end promotion header -->
13
+
10
14
<!-- reduced header -->
11
15
< header class ="page-header ">
12
16
< nav >
@@ -117,7 +121,6 @@ <h3 class="entry__subtitle">
117
121
<!-- start promotion -->
118
122
{% include promotion.html %}
119
123
<!-- end promotion -->
120
-
121
124
</ div >
122
125
123
126
<!-- reduced footer -->
Original file line number Diff line number Diff line change
1
+ // -------------------------------------------------------
2
+ // Promotion header.
3
+ // -------------------------------------------------------
4
+
5
+ .promotion-header {
6
+ min-height : 23px ;
7
+ padding : 12px 10px 15px 10px ;
8
+ background : $brand1-color ;
9
+
10
+ color : white ;
11
+ font-size : 0.8em ;
12
+ text-align : center ;
13
+
14
+ a {
15
+ color : white ;
16
+ text-decoration : none ;
17
+ border-bottom : 1px dotted white ;
18
+
19
+ & :hover {
20
+ border-bottom-style : solid ;
21
+ }
22
+ }
23
+ }
24
+
1
25
// -------------------------------------------------------
2
26
// Promotion.
3
27
// -------------------------------------------------------
@@ -23,6 +47,7 @@ $promotion-margin-top: 60px;
23
47
24
48
img {
25
49
width : 700px ;
50
+ max-width : 100% ;
26
51
opacity : 0.8 ;
27
52
28
53
@include transition (opacity , 300ms , ease-out );
Original file line number Diff line number Diff line change @@ -784,6 +784,20 @@ li {
784
784
margin-top : 20px ;
785
785
text-align : center; }
786
786
787
+ .promotion-header {
788
+ min-height : 23px ;
789
+ padding : 12px 10px 15px 10px ;
790
+ background : # 00a9e0 ;
791
+ color : white;
792
+ font-size : 0.8em ;
793
+ text-align : center; }
794
+ .promotion-header a {
795
+ color : white;
796
+ text-decoration : none;
797
+ border-bottom : 1px dotted white; }
798
+ .promotion-header a : hover {
799
+ border-bottom-style : solid; }
800
+
787
801
.promotion {
788
802
margin-top : 60px ;
789
803
padding : 15px ;
798
812
margin-top : 60px ; }
799
813
.promotion-image img {
800
814
width : 700px ;
815
+ max-width : 100% ;
801
816
opacity : 0.8 ;
802
817
-webkit-transition : opacity 300ms ease-out;
803
818
-moz-transition : opacity 300ms ease-out;
You can’t perform that action at this time.
0 commit comments