File tree Expand file tree Collapse file tree 8 files changed +38
-32
lines changed Expand file tree Collapse file tree 8 files changed +38
-32
lines changed Original file line number Diff line number Diff line change 8
8
margin : 0 ;
9
9
}
10
10
11
- .wrapper {
11
+ ._content {
12
12
13
13
margin : 0 auto ;
14
14
margin-bottom : -50px ;
@@ -22,20 +22,13 @@ body {
22
22
height : 75px ;
23
23
}
24
24
25
- .punchcard-logomark {
26
- display : block ;
27
- margin : 0 auto ;
28
- margin-top : 75px ;
29
- width : 250px ;
30
- }
31
-
32
25
}
33
26
34
- .base--a {
35
- color : color (' teal' , 60 );
36
- text-decoration : none ;
37
27
38
- & :hover {
39
- text-decoration : underline ;
40
- }
28
+ .content--logomark {
29
+ display : block ;
30
+ margin : 0 auto ;
31
+ margin-top : 75px ;
32
+ width : 250px ;
41
33
}
34
+
Original file line number Diff line number Diff line change
1
+ .base--a {
2
+ color : color (' teal' , 60 );
3
+ text-decoration : none ;
4
+
5
+ & :hover {
6
+ text-decoration : underline ;
7
+ }
8
+ }
9
+
10
+ .base--ul {
11
+ list-style-type : none ;
12
+ padding : 1em ;
13
+ }
Original file line number Diff line number Diff line change 11
11
{% include "_header.html" %}
12
12
{% endblock %}
13
13
14
- < main class ="wrapper ">
14
+ < main class ="_content ">
15
15
{% block main %}
16
16
< div > < h1 > Original MAIN</ h1 > </ div >
17
17
{% endblock %}
Original file line number Diff line number Diff line change 7
7
{% endblock %}
8
8
9
9
{% block main %}
10
- < h1 > {{title}}</ h1 >
11
- < div > {{description}}</ div >
10
+ < h1 class =" base--h1 " > {{title}}</ h1 >
11
+ < div class =" content--description " > {{description}}</ div >
12
12
{% endblock %}
13
13
Original file line number Diff line number Diff line change 9
9
{% endblock %}
10
10
11
11
{% block main %}
12
- < h1 > {{type.name}}</ h1 >
13
- < p > {{type.description}}</ p >
12
+ < h1 class =" base--h1 " > {{type.name}}</ h1 >
13
+ < p class =" base--p " > {{type.description}}</ p >
14
14
{% include "content/form.html" %}
15
15
{% endblock %}
16
16
Original file line number Diff line number Diff line change 2
2
3
3
{{form.html | safe}}
4
4
5
- < fieldset id ="sunrise-sunset ">
6
- < legend > Select Sunrise and Sunset</ legend >
7
- < label for ="sunrise-date "> < input type ="date " name ="sunrise-date " id ="sunrise-date " value ="{{data['sunrise-date'].value}} "> </ label >
8
- < label for ="sunrise-time "> < input type ="time " name ="sunrise-time " id ="sunrise-time " value ="{{data['sunrise-time'].value}} "> </ label >
9
- < label for ="sunset-date "> < input type ="date " name ="sunset-date " id ="sunset-date " value ="{{data['sunset-date'].value}} "> </ label >
10
- < label for ="sunset-time "> < input type ="time " name ="sunset-time " id ="sunset-time " value ="{{data['sunset-time'].value}} "> </ label >
5
+ < fieldset id ="sunrise-sunset " class =" base--FORM " >
6
+ < legend class =" base--legend " > Select Sunrise and Sunset</ legend >
7
+ < label for ="sunrise-date " class =" base--label " > < input type ="date " name ="sunrise-date " id ="sunrise-date " value ="{{data['sunrise-date'].value}} " class =" base--date-input "> </ label >
8
+ < label for ="sunrise-time " class =" base--label " > < input type ="time " name ="sunrise-time " id ="sunrise-time " value ="{{data['sunrise-time'].value}} " class =" base--time-input "> </ label >
9
+ < label for ="sunset-date " class =" base--label " > < input type ="date " name ="sunset-date " id ="sunset-date " value ="{{data['sunset-date'].value}} " class =" base--date-input "> </ label >
10
+ < label for ="sunset-time " class =" base--label " > < input type ="time " name ="sunset-time " id ="sunset-time " value ="{{data['sunset-time'].value}} " class =" base--time-input "> </ label >
11
11
</ fieldset >
12
12
13
- < button type ="submit "> Submit</ button >
14
- < button type ="cancel "> Cancel</ button >
13
+ < button type ="submit " class =" base--button " > Submit</ button >
14
+ < button type ="cancel " class =" base--button " > Cancel</ button >
15
15
</ form >
Original file line number Diff line number Diff line change 10
10
{% endblock %}
11
11
12
12
{% block main %}
13
- < h1 class ="sub-title "> {{content.home.title}}</ h1 >
14
- < ul class ="base--STYLED ">
13
+ < h1 class ="base--h1 "> {{content.home.title}}</ h1 >
14
+ < ul class ="base--ul ">
15
15
{% for type in content.types %}
16
- < li > < a href ="/{{content.base}}/{{type.id}} " class ="base--a "> {{type.name}}</ a > </ li >
16
+ < li class =" base--li " > < a href ="/{{content.base}}/{{type.id}} " class ="base--a "> {{type.name}}</ a > </ li >
17
17
{% endfor %}
18
18
</ ul >
19
19
{% endblock %}
Original file line number Diff line number Diff line change 5
5
{% endblock %}
6
6
7
7
{% block main %}
8
- < h1 > {{siteName}}</ h1 >
9
- < img src ="/images/punchcard-image.svg " alt ="punchcard-logomark " class ="punchcard -logomark ">
8
+ < h1 class =" content--title " > {{siteName}}</ h1 >
9
+ < img src ="/images/punchcard-image.svg " alt ="punchcard-logomark " class ="content- -logomark ">
10
10
{% endblock %}
11
11
12
12
{% block footer %}
You can’t perform that action at this time.
0 commit comments