add a tc class to remove some style="text-align: center"s

This commit is contained in:
fzorb 2025-05-17 07:46:16 +03:00
parent 9486195d42
commit adc2624fab
3 changed files with 7 additions and 3 deletions

View file

@ -67,4 +67,8 @@ a {
img { img {
border-radius: 4px; border-radius: 4px;
width: 100%; width: 100%;
} }
.tc {
text-align: center;
}

View file

@ -22,7 +22,7 @@
</ul> </ul>
<img src="/pictures/potn.jpg" style="width: 100%;"> <img src="/pictures/potn.jpg" style="width: 100%;">
</div> </div>
<p style="text-align: center; font-size: 12px;"><i>Unless noted otherwise, all work on this website is licenced under CC0</i></p> <p class="tc" style="font-size: 12px;"><i>Unless noted otherwise, all work on this website is licenced under CC0</i></p>
</body> </body>
</html> </html>

View file

@ -10,7 +10,7 @@
<body> <body>
<div class="container"> <div class="container">
{% include "nav.html" %} {% include "nav.html" %}
<h1>{{page.title}}</h1> <h1 class="tc">{{page.title}}</h1>
<p>Written {{page.day}}.{{page.month}}.{{page.year}}</p> <p>Written {{page.day}}.{{page.month}}.{{page.year}}</p>
{{page.content|safe}} {{page.content|safe}}
</div> </div>