Style page title
This commit is contained in:
parent
f45397a458
commit
2987726bd9
3 changed files with 26 additions and 20 deletions
24
static/src/scss/content.scss
Normal file
24
static/src/scss/content.scss
Normal file
|
@ -0,0 +1,24 @@
|
|||
a {
|
||||
color: $primary;
|
||||
|
||||
&:hover {
|
||||
@extend .grey-text, .text-lighten-3;
|
||||
transition: color 0.5s;
|
||||
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
&.colour-invert {
|
||||
@extend .grey-text, .text-lighten-3;
|
||||
|
||||
&:hover {
|
||||
color: $primary;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
h1.page-title {
|
||||
font-weight: 300;
|
||||
font-size: 4rem;
|
||||
margin-top: 1rem;
|
||||
}
|
|
@ -3,6 +3,7 @@
|
|||
@import "materialize-css/sass/materialize";
|
||||
|
||||
@import "homepage";
|
||||
@import "content";
|
||||
|
||||
body {
|
||||
@extend .grey-text, .text-lighten-3;
|
||||
|
@ -13,25 +14,6 @@ body {
|
|||
background-color: #17181C;
|
||||
}
|
||||
|
||||
a {
|
||||
color: $primary;
|
||||
|
||||
&:hover {
|
||||
@extend .grey-text, .text-lighten-3;
|
||||
transition: color 0.5s;
|
||||
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
&.colour-invert {
|
||||
@extend .grey-text, .text-lighten-3;
|
||||
|
||||
&:hover {
|
||||
color: $primary;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
main {
|
||||
flex: 1 0 auto;
|
||||
}
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
{% endblock %}
|
||||
|
||||
<div class="container">
|
||||
<h1>{% block title %}{% endblock %}</h1>
|
||||
<h1 class="page-title">{% block title %}{% endblock %}</h1>
|
||||
{% block content %}{% endblock %}
|
||||
</div>
|
||||
{% endblock%}
|
||||
|
|
Reference in a new issue