Skip to content

Commit 2d13df6

Browse files
committed
improvements for live deployment
1 parent 6377494 commit 2d13df6

File tree

5 files changed

+34
-13
lines changed

5 files changed

+34
-13
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ build-manual:
1616
--cleanDestinationDir \
1717
--environment manual \
1818
--destination ../build/manual \
19-
--verbose
19+
--verbose \
2020
--baseURL https://docs.contao.org/manual/
2121

2222
# Start a live reload server

page/config/manual/config.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
contentDir: '../docs/manual'
22
title: 'Contao Manual'
33
#defaultContentLanguageInSubdir: true
4+
5+
# temporary
6+
DefaultContentLanguage: de
7+
disableLanguages: ['en']
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
<p>
2-
More about Contao on <a href="https://contao.org">contao.org</a>.
2+
More about Contao on <a href="https://contao.org">contao.org</a>.<br>
3+
More documentation on <a href="https://docs.contao.org">docs.contao.org</a>.
34
</p>

page/layouts/partials/menu.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ <h3>{{ if not $disableShortcutsTitle}}{{ T "Shortcuts-Title"}}{{ end }}</h3>
4141

4242
{{ if or .Site.IsMultiLingual $showvisitedlinks }}
4343
<section id="prefooter">
44-
<hr/>
4544
<ul>
4645
{{ if and .Site.IsMultiLingual (not .Site.Params.DisableLanguageSwitchingButton)}}
4746
<li>

page/static/css/theme-contao.css

Lines changed: 27 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,14 @@ a:hover {
115115
border-color: var(--MENU-SECTION-HR-color);
116116
}
117117

118+
#body .tags a.tag-link {
119+
background-color: var(--MENU-HEADER-BG-color);
120+
}
121+
122+
#body .tags a.tag-link:before {
123+
border-right-color: var(--MENU-HEADER-BG-color);
124+
}
125+
118126
/**
119127
* Custom
120128
*/
@@ -133,9 +141,9 @@ a:hover {
133141
}
134142

135143
#footer {
136-
padding: 15px;
137-
border-top: 1px solid #3a454d;
138-
background: #172b3b;
144+
/*padding: 15px;
145+
/*border-top: 1px solid #3a454d;*/
146+
/*background: #172b3b;*/
139147
}
140148

141149
#header a#logo {
@@ -231,13 +239,6 @@ h1 {
231239
opacity: 1;
232240
}
233241

234-
.fa-language:before {
235-
content: none;
236-
}
237-
.fa-language.fa-fw {
238-
width: 0;
239-
}
240-
241242
/*
242243
* A little ugly hack: I want only the subpages of /reference/hooks/
243244
* to not have text-transform: uppercase; on the h1,
@@ -346,3 +347,19 @@ body[data-url="/cookbook/namespaces/"] #body .padding {
346347
page-break-inside: avoid;
347348
}
348349
}
350+
351+
#prefooter {
352+
padding-top: 1rem;
353+
}
354+
355+
#footer {
356+
padding: 2rem 1rem;
357+
}
358+
359+
html[lang="de"] div.notices.warning p:first-child:after {
360+
content: 'Warnung';
361+
}
362+
363+
html[lang="de"] div.notices.note p:first-child:after {
364+
content: 'Notiz';
365+
}

0 commit comments

Comments
 (0)