parent
3cb7c290d2
commit
a2768d3b7f
3 changed files with 41 additions and 28 deletions
|
@ -17,6 +17,7 @@
|
||||||
<link rel="stylesheet" href="{{ static('style.css') }}">
|
<link rel="stylesheet" href="{{ static('style.css') }}">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
<div id="page-content">
|
||||||
<article id="post">
|
<article id="post">
|
||||||
<header>
|
<header>
|
||||||
<p id="title">
|
<p id="title">
|
||||||
|
@ -46,6 +47,8 @@
|
||||||
{{ article.htmlContent | raw }}
|
{{ article.htmlContent | raw }}
|
||||||
</div>
|
</div>
|
||||||
</article>
|
</article>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
<p>Last modified {{ article.modifiedAt | date("dd.MM.yyyy HH:mm") }} UTC by {{ article.modifiedBy }}</p>
|
<p>Last modified {{ article.modifiedAt | date("dd.MM.yyyy HH:mm") }} UTC by {{ article.modifiedBy }}</p>
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
<link rel="stylesheet" href="{{ static('style.css') }}">
|
<link rel="stylesheet" href="{{ static('style.css') }}">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
<div id="page-content">
|
||||||
<div style="margin-top: 30vh;"></div>
|
<div style="margin-top: 30vh;"></div>
|
||||||
|
|
||||||
<img id="current-blurred" src="{{ asset(articles[0].custom.photo) }}">
|
<img id="current-blurred" src="{{ asset(articles[0].custom.photo) }}">
|
||||||
|
@ -26,6 +27,7 @@
|
||||||
</article>
|
</article>
|
||||||
</a></a>
|
</a></a>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
</div>
|
||||||
|
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
<p>Content on m724.eu is licensed under <a href="https://creativecommons.org/licenses/by/4.0" target="_blank" rel="license noopener noreferrer">CC BY 4.0</a></p>
|
<p>Content on m724.eu is licensed under <a href="https://creativecommons.org/licenses/by/4.0" target="_blank" rel="license noopener noreferrer">CC BY 4.0</a></p>
|
||||||
|
|
|
@ -6,9 +6,17 @@ html {
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column; /* Arrange children vertically */
|
||||||
|
min-height: 100vh; /* Ensure body is at least the viewport height */
|
||||||
|
margin: 0; /* Reset default body margin */
|
||||||
|
}
|
||||||
|
|
||||||
|
#page-content {
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
min-width: min(calc(100vw - 40px), 1000px);
|
min-width: min(calc(100vw - 40px), 1000px);
|
||||||
width: calc(50vw - 20px);
|
width: calc(50vw - 20px);
|
||||||
|
flex-grow: 1; /* Allow content to take up available space */
|
||||||
|
|
||||||
@media screen and (max-width: 1200px) {
|
@media screen and (max-width: 1200px) {
|
||||||
width: calc(100vw - 40px);
|
width: calc(100vw - 40px);
|
||||||
|
|
Loading…
Add table
Reference in a new issue