Commit bafb1ad9 authored by Tobias Buckdahn's avatar Tobias Buckdahn

Enable translations in CSS (dirty, I know)

parent d886e034
......@@ -189,10 +189,18 @@ html {
content: ' x ';
}
.shape_2D_segsize::after,
.shape_3D_segsize::after,
.pattern_1D_segsize::after,
.pattern_2D_segsize::after {
body.lang-de .shape_2D_segsize::after,
body.lang-de .shape_3D_segsize::after,
body.lang-de .pattern_1D_segsize::after,
body.lang-de .pattern_2D_segsize::after {
content: ' Teile\A';
white-space: pre;
}
body.lang-en .shape_2D_segsize::after,
body.lang-en .shape_3D_segsize::after,
body.lang-en .pattern_1D_segsize::after,
body.lang-en .pattern_2D_segsize::after {
content: ' Parts\A';
white-space: pre;
}
......
......@@ -7,7 +7,7 @@
{% include "partials/head.html.twig" %}
</head>
<body class="d-flex flex-column h-100">
<body class="d-flex flex-column h-100 lang-{{ grav.language.getActive }}">
{% block body %}
{% include "partials/header.html.twig" %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment