Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • 016967/stustanet-website
  • antodias/stustanet-website
  • ml/stustanet-website
  • 015250/stustanet-website
  • stustanet/stustanet-website
  • 010296/stustanet-website
  • 005438/stustanet-website
  • 011344/stustanet-website
  • michaelb/stustanet-website
  • 009834/stustanet-website
  • mariem/stustanet-website
  • 010699/stustanet-website
12 results
Show changes
Showing
with 430 additions and 100 deletions
...@@ -27,3 +27,21 @@ other = "To Homepage" ...@@ -27,3 +27,21 @@ other = "To Homepage"
[weekday] [weekday]
other = "Weekday" other = "Weekday"
[chairman]
other = "Chairman"
[treasurer]
other = "Treasurer"
[1stcto]
other = "1st Technical Director"
[2ndcto]
other = "2nd Technical Director"
[3rdcto]
other = "3rd Technical Director"
[validity]
other = "Validity"
{{ define "main"}}
<h1 id="title">Oops! Page not found.</h1>
<p><a class="button" href="{{ "/" | relURL }}">Go to the Homepage</a></p>
{{ end }}
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
{{- end }} {{- end }}
{{- end }} {{- end }}
</head> </head>
<body class="{{ .Params.Color | default "blue" }}"> <body class="{{ .Params.Color | default "blue" }}{{ with .Params.Class }} {{ . }}{{ end }}">
<nav id="top-bar"> <nav id="top-bar">
<div class="container"> <div class="container">
<div class="logo"> <div class="logo">
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
<ul class="menu"> <ul class="menu">
{{ $currentPage := . }} {{ $currentPage := . }}
{{ range .Site.Menus.main }} {{ range .Site.Menus.main }}
<li{{if or ($currentPage.IsMenuCurrent "main" .) ($currentPage.HasMenuCurrent "main" .) (eq .URL $.URL) }} class="active"{{end}}> <li{{if or ($currentPage.IsMenuCurrent "main" .) ($currentPage.HasMenuCurrent "main" .) (eq .URL $.RelPermalink) }} class="active"{{end}}>
<a class="menu-item" href="{{ .URL }}" title="{{ .Title }}">{{ .Name }}</a> <a class="menu-item" href="{{ .URL }}" title="{{ .Title }}">{{ .Name }}</a>
</li> </li>
{{ end }} {{ end }}
...@@ -57,7 +57,7 @@ ...@@ -57,7 +57,7 @@
<ul> <ul>
{{ $currentPage := . }} {{ $currentPage := . }}
{{ range .Site.Menus.main }} {{ range .Site.Menus.main }}
<li{{if or ($currentPage.IsMenuCurrent "main" .) ($currentPage.HasMenuCurrent "main" .) (eq .URL $.URL)}} class="active"{{end}}> <li{{if or ($currentPage.IsMenuCurrent "main" .) ($currentPage.HasMenuCurrent "main" .) (eq .URL $.RelPermalink)}} class="active"{{end}}>
<a class="menu-item" href="{{ .URL }}" title="{{ .Title }}">{{ .Name }}</a> <a class="menu-item" href="{{ .URL }}" title="{{ .Title }}">{{ .Name }}</a>
</li> </li>
{{ end }} {{ end }}
...@@ -100,11 +100,12 @@ ...@@ -100,11 +100,12 @@
<footer> <footer>
<div class="container"> <div class="container">
<div class="editPage"> <!--<div class="editPage">
<i class="fa fa-pencil"></i> <i class="fa fa-pencil"></i>
<a href="{{ .Site.Params.gitEditBaseUrl }}{{ .File.Path }}" title="{{ i18n "editPage" }}">{{ i18n "editPage" }}</a> <a href="{{ .Site.Params.gitEditBaseUrl }}{{ with .File }}{{ .Path }}{{ end }}" title="{{ i18n "editPage" }}">{{ i18n "editPage" }}</a>
</div> </div>-->
<div class="center"> <div class="spacer"></div>
<div class="links">
<a href="/impressum">{{ i18n "imprint" }}</a> <a href="/impressum">{{ i18n "imprint" }}</a>
</div> </div>
<div class="lang-dropdown-container"> <div class="lang-dropdown-container">
......
{{ define "main" }}{{.Content}}{{ end }}
\ No newline at end of file
{{ .Content }}
{{ range where .Pages "Type" "vorstands_key" -}}
{{ if (gt (len .Content) 10) -}}
<h3>PGP Key {{ .Title }}</h3>
<a href="{{ .Permalink }}" download="{{.Title}}.asc">Download</a><br>
{{ if .Param "fingerprint" -}}
Fingerprint: <code>{{ .Param "fingerprint" }}</code><br>
{{- end }}
Key Dump:
<pre>
{{ .Content }}
</pre>
{{- end }}
{{- end }}
\ No newline at end of file
{{ .Content }}
\ No newline at end of file
<address>
{{ replace (trim .Inner "\n") "\n" "<br/>" | safeHTML }}
</address>
<div class="alert">{{ .Inner | markdownify }}</div>
<p class="button-container"><a class="button" href="{{ if .Get "ref" }}{{ ref . ( .Get "ref" ) }}{{ else }}{{ .Get "href" }}{{ end }}">{{ .Get "label" }}</a></p>
<dl> <dl>
<dt>{{ .Get "title" }}</dt> <dt>{{ .Get "title" }}</dt>
<dd> <dd>
{{ replace .Inner "\n" "<br/>" | safeHTML }} {{ trim .Inner "\n" | safeHTML }}
</dd> </dd>
</dl> </dl>
<pre>
{{ if and (eq (.Get 0) "vv") ((time (.Site.GetPage "keys/board/vv.md").ExpiryDate).After now) }}
{{ (.Site.GetPage "keys/board/vv.md").Param "fingerprint" }}
{{ else if and (eq (.Get 0) "cc") ((time (.Site.GetPage "keys/board/cc.md").ExpiryDate).After now) }}
{{ (.Site.GetPage "keys/board/cc.md").Param "fingerprint" }}
{{ else if and (eq (.Get 0) "tv1") ((time (.Site.GetPage "keys/board/tv1.md").ExpiryDate).After now) }}
{{ (.Site.GetPage "keys/board/tv1.md").Param "fingerprint" }}
{{ else if and (eq (.Get 0) "tv2") ((time (.Site.GetPage "keys/board/tv2.md").ExpiryDate).After now) }}
{{ (.Site.GetPage "keys/board/tv2.md").Param "fingerprint" }}
{{ else if and (eq (.Get 0) "tv3") ((time (.Site.GetPage "keys/board/tv3.md").ExpiryDate).After now) }}
{{ (.Site.GetPage "keys/board/tv3.md").Param "fingerprint" }}
{{ end }}
</pre>
\ No newline at end of file
<div class="flex-item">{{ .Inner }}</div>
{{ .Inner }}
\ No newline at end of file
<table> <table>
<thead> <thead>
<tr> <tr>
<th>{{ i18n "weekday" }}</th> <th>{{ i18n "weekday" }}</th>
<th class="right">{{ i18n "date" }}</th> <th class="right">{{ i18n "date" }}</th>
<th class="right">{{ i18n "time" }}</th> <th class="right">{{ i18n "time" }}</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
{{ $appointments := getJSON "https://stustanet.de/api/officehours.json" }} {{ $appointments := getJSON "https://stustanet.de/api/officehours.json" }}
{{ range first 5 $appointments }} {{ range first 5 $appointments }}
<tr> <tr>
<td>{{ if (eq $.Site.Language.Lang "de") }} <td>{{ if (eq $.Site.Language.Lang "de") }}
{{ index $.Site.Data.DE.Wochentage (sub (time (int .start)).Weekday 1) }} {{ index $.Site.Data.DE.Wochentage (sub (time (int .start)).Weekday 1) }}
{{ else }} {{ else }}
{{ dateFormat "Monday" (int .start) }} {{ dateFormat "Monday" (int .start) }}
{{ end }}</td> {{ end }}</td>
<td class="right">{{ if (eq $.Site.Language.Lang "de") }} <td class="right">{{ if (eq $.Site.Language.Lang "de") }}
{{ (time (int .start)).Day }}. {{ index $.Site.Data.DE.Monate (sub (time (int .start)).Month 1) }} {{ (time (int .start)).Year }} {{ (time (int .start)).Day }}. {{ index $.Site.Data.DE.Monate (sub (time (int .start)).Month 1) }} {{ (time (int .start)).Year }}
{{ else }} {{ else }}
{{ dateFormat "January 2, 2006" (int .start) }} {{ dateFormat "January 2, 2006" (int .start) }}
{{ end }}</td> {{ end }}</td>
<td class="right">{{ dateFormat "15:04" (int .start) }} – {{ dateFormat "15:04" (int .end) }}</td> <td class="right">{{ dateFormat "15:04" (int .start) }} – {{ dateFormat "15:04" (int .end) }}</td>
</tr> </tr>
{{ end }} {{ end }}
</tbody> </tbody>
</table> </table>
<meta http-equiv="refresh" content="0; url={{.Get 0}}"/>
\ No newline at end of file
<dl class="vorstand"> <dl class="vorstand">
<dt>Vorstandsmitglieder</dt> <dt>{{ i18n "chairman" }}:</dt>
<dd> <dd>{{ .Site.Data.Vorstand.VV -}}
<ul> {{ if and (fileExists "keys/board/vv.md")
<li>Vorsitzender Vorstand: {{ .Site.Data.Vorstand.VV }}</li> ((time (.Page.Sites.First.GetPage "keys/board/vv.md").ExpiryDate).After now)
<li>Schatzmeister: {{ .Site.Data.Vorstand.CC }}</li> (gt (len (.Page.Sites.First.GetPage "keys/board/vv.md").Content) 10) -}}
<li>1. Technischer Vorstand: {{ .Site.Data.Vorstand.TV1 }}</li> &nbsp;[
<li>2. Technischer Vorstand: {{ .Site.Data.Vorstand.TV2 }}</li> <a href="{{ ref . (dict "path" "/keys/board/vv.md" "lang" "de") }}" download="{{ .Site.Data.Vorstand.VV }}.asc">PGP key</a>
<li>3. Technischer Vorstand: {{ .Site.Data.Vorstand.TV3 }}</li> {{ if (.Page.Sites.First.GetPage "keys/board/vv.md").Param "fingerprint" -}}
</ul> ,
<p> <a href="{{ ref . (dict "path" "/keys/board/fingerprints/vv.md" "lang" "de") }}">Fingerprint</a>
<i>Gültig: {{ .Site.Data.Vorstand.Valid }}</i> {{- end }}
</p> ]
{{- end }}
</dd>
<dt>{{ i18n "treasurer" }}:</dt>
<dd>{{ .Site.Data.Vorstand.CC -}}
{{ if and (fileExists "keys/board/cc.md")
((time (.Page.Sites.First.GetPage "keys/board/cc.md").ExpiryDate).After now)
(gt (len (.Page.Sites.First.GetPage "keys/board/cc.md").Content) 10) -}}
&nbsp;[
<a href="{{ ref . (dict "path" "/keys/board/cc.md" "lang" "de") }}" download="{{ .Site.Data.Vorstand.CC }}.asc">PGP key</a>
{{ if (.Page.Sites.First.GetPage "keys/board/cc.md").Param "fingerprint" -}}
,
<a href="{{ ref . (dict "path" "/keys/board/fingerprints/cc.md" "lang" "de") }}">Fingerprint</a>
{{- end }}
]
{{- end }}
</dd>
<dt>{{ i18n "1stcto" }}:</dt>
<dd>{{ .Site.Data.Vorstand.TV1 -}}
{{ if and (fileExists "keys/board/tv1.md")
((time (.Page.Sites.First.GetPage "keys/board/tv1.md").ExpiryDate).After now)
(gt (len (.Page.Sites.First.GetPage "keys/board/tv1.md").Content) 10) }}
&nbsp;[
<a href="{{ ref . (dict "path" "/keys/board/tv1.md" "lang" "de") }}" download="{{ .Site.Data.Vorstand.TV1 }}.asc">PGP key</a>
{{ if (.Page.Sites.First.GetPage "keys/board/tv1.md").Param "fingerprint" -}}
,
<a href="{{ ref . (dict "path" "/keys/board/fingerprints/tv1.md" "lang" "de") }}">Fingerprint</a>
{{- end }}
]
{{- end }}
</dd>
<dt>{{ i18n "2ndcto" }}:</dt>
<dd>{{ .Site.Data.Vorstand.TV2 -}}
{{ if and (fileExists "keys/board/tv2.md")
((time (.Page.Sites.First.GetPage "keys/board/tv2.md").ExpiryDate).After now)
(gt (len (.Page.Sites.First.GetPage "keys/board/tv2.md").Content) 10) -}}
&nbsp;[
<a href="{{ ref . (dict "path" "/keys/board/tv2.md" "lang" "de") }}" download="{{ .Site.Data.Vorstand.TV2 }}.asc">PGP key</a>
{{ if (.Page.Sites.First.GetPage "keys/board/tv2.md").Param "fingerprint" -}}
,
<a href="{{ ref . (dict "path" "/keys/board/fingerprints/tv2.md" "lang" "de") }}">Fingerprint</a>
{{- end }}
]
{{- end }}
</dd>
<dt>{{ i18n "3rdcto" }}:</dt>
<dd>{{ .Site.Data.Vorstand.TV3 -}}
{{ if and (fileExists "keys/board/tv3.md")
((time (.Page.Sites.First.GetPage "keys/board/tv3.md").ExpiryDate).After now)
(gt (len (.Page.Sites.First.GetPage "keys/board/tv3.md").Content) 10) -}}
&nbsp;[
<a href="{{ ref . (dict "path" "/keys/board/tv3.md" "lang" "de") }}" download="{{ .Site.Data.Vorstand.TV3 }}.asc">PGP key</a>
{{ if (.Page.Sites.First.GetPage "keys/board/tv3.md").Param "fingerprint" -}}
,
<a href="{{ ref . (dict "path" "/keys/board/fingerprints/tv3.md" "lang" "de") }}">Fingerprint</a>
{{- end }}
]
{{- end }}
</dd> </dd>
</dl> </dl>
<p>
<i>{{ i18n "validity" }}: {{ .Site.Data.Vorstand.Valid }}</i>
</p>
<div class="warn">{{ .Inner | markdownify }}</div>
<div class="we-are-not-stuwerk"> <div class="we-are-not-stuwerk">
<b>HINWEIS</b>: Diese Adresse kann bei Wohnungsanfragen <b>NICHT</b> helfen. <b>HINWEIS</b>: Diese Adresse kann bei Wohnungsanfragen <b>NICHT</b> helfen.
<a href="http://www.studentenwerk-muenchen.de/wohnen/bewerbung/">Hier ist die richtige Adresse</a>. <a href="http://www.studentenwerk-muenchen.de/wohnen/bewerbung/">Hier ist die richtige Adresse</a>.
<br /> <br />
<b>NOTE</b>: This contact <b>CANNOT HELP</b> you get an appartment. <b>NOTE</b>: This contact <b>CANNOT</b> help you to get an appartment.
Please see <a href="http://www.studentenwerk-muenchen.de/en/student-accommodation/application/">this page</a>. Please see <a href="http://www.studentenwerk-muenchen.de/en/student-accommodation/application/">this page instead</a>.
</div> </div>
\ No newline at end of file
...@@ -362,10 +362,14 @@ header .subtitle, ...@@ -362,10 +362,14 @@ header .subtitle,
color: #FFF; color: #FFF;
text-shadow: 0px 0px 1px rgba(0,0,0,0.8); text-shadow: 0px 0px 1px rgba(0,0,0,0.8);
} }
.wifi header h1 {
text-shadow: 0px 0px 4px rgba(0,0,0,0.8);
}
header h1 { header h1 {
margin: 0 auto 15px auto; margin: 0 auto 15px auto;
padding: 50px 0; padding: 50px 0;
font-size: 2.4em;
} }
.big-hero header { .big-hero header {
...@@ -461,7 +465,8 @@ header .subtitle { ...@@ -461,7 +465,8 @@ header .subtitle {
width: 25%; width: 25%;
} }
.two-columns .column:last-child > *:first-child { .two-columns .column:last-child > *:first-child,
.two-columns .column:last-child > .flex-item:first-child > * {
margin-top: 0em; margin-top: 0em;
} }
...@@ -514,7 +519,7 @@ h2 { ...@@ -514,7 +519,7 @@ h2 {
margin-top: 2rem; margin-top: 2rem;
} }
h3 { h3 {
font-size: 1.3rem; font-size: 1.1rem;
} }
h4 { h4 {
font-size: 0.707rem; font-size: 0.707rem;
...@@ -526,7 +531,7 @@ h6 { ...@@ -526,7 +531,7 @@ h6 {
font-size: 0.3535rem; font-size: 0.3535rem;
} }
h2 + h3 { h2 + h3 {
margin-top: 0.3rem; margin-top: 0.5rem;
} }
article { article {
...@@ -537,14 +542,25 @@ article { ...@@ -537,14 +542,25 @@ article {
flex: 1 1 0; flex: 1 1 0;
} }
address {
font-style: normal;
}
p, ul, ol { p, ul, ol {
line-height: 1.5rem; line-height: 1.5rem;
margin-top: 0.5rem; margin-top: 0.5rem;
margin-bottom: 0; margin-bottom: 0;
} }
ul, ol {
line-height: 1.5rem;
margin-top: 0.5rem;
margin-bottom: 0;
padding: 0 8px;
list-style-position: inside;
}
ul li, ul li,
ol li { ol li {
margin-left: 25px; margin-left: 0;
line-height: 1.5rem; line-height: 1.5rem;
} }
ul ul, ul ul,
...@@ -557,10 +573,34 @@ ol ol { ...@@ -557,10 +573,34 @@ ol ol {
dl { dl {
line-height: 1.2; line-height: 1.2;
display: flex;
flex-wrap: wrap;
} }
dt { dt {
font-weight: bold; font-weight: bold;
flex: 0 0 30%;
max-width: 30%;
margin: 0.5em 0 0;
}
dd {
flex: 0 0 70%;
max-width: 70%;
margin: 0.5em 0 0;
}
dt:first-of-type,
dd:first-of-type {
margin-top: 0;
}
dd dl dt {
font-weight: normal;
max-width: 40%;
flex: 0 0 40%;
margin: 0;
}
dd dl dd {
max-width: 60%;
flex: 0 0 60%;
margin: 0 0 0.5em;
} }
hr { hr {
...@@ -594,12 +634,20 @@ table th { ...@@ -594,12 +634,20 @@ table th {
text-align: left; text-align: left;
} }
.wifi table th:first-child {
width: 10em;
}
table td { table td {
vertical-align: top; vertical-align: top;
border-top: 1px solid #dee2e6; border-top: 1px solid #dee2e6;
} }
th.right, td.right { .center {
text-align: center;
}
.right {
text-align: right; text-align: right;
} }
...@@ -613,27 +661,162 @@ a { ...@@ -613,27 +661,162 @@ a {
text-decoration: none; text-decoration: none;
} }
a:hover, a:active { a:hover,
a:active {
text-decoration: underline; text-decoration: underline;
} }
a.button { .button {
display: inline-block; display: inline-block;
border: 2px solid #1b54ac; padding: 6px 8px 2px;
border-radius: 6px; background: #4f76b1;
padding: 6px; border: 1px solid #4f76b1;
border-radius: 5px;
color: #fff;
cursor: pointer;
white-space: nowrap;
line-height: 1.5;
font-weight: 600;
text-align: center;
text-decoration: none;
} }
.button.outline {
a.button:hover { background: #fff;
border: 1px solid #1b54ac;
color: #1b54ac;
}
.button:hover,
.button-container .button:hover {
background-color: #1b54ac; background-color: #1b54ac;
color: #fff; color: #fff;
text-decoration: none; text-decoration: none;
} }
.button-container {
text-align: center;
margin: 0.8em 0 2em;
}
.button-container .button {
min-width: 40%;
}
#main { #main {
margin-top: 30px; margin-top: 30px;
} }
div.alert,
div.warn,
div.success {
position: relative;
padding: .5rem .8rem;
margin: .5rem 0;
line-height: 1.5;
border: 1px solid #dee2e6;
border-radius: .25rem;
}
div.alert {
color: #721c24;
background: #f8d7da;
border-color: #f5c6cb;
}
div.warn {
color: #856404;
background: #fff3cd;
border-color: #f2d376;
}
div.success {
background: #e1f6e1;
border-color: #a9deaa;
}
.callout {
padding: 20px;
margin: 20px 0;
border: 1px solid #eee;
border-left-width: 0.25rem;
border-radius: 0.25rem;
}
.callout:after {
content: "";
clear: both;
display: table;
}
.callout img.router {
max-width: 40%;
float: right;
}
.callout img.router.small {
max-width: 33%;
}
.callout ul {
list-style-position: outside;
}
.callout ul {
list-style: none;
padding: 0;
}
.callout li {
padding: 0.2em;
padding-left: 2.2em;
}
.callout li i.fa {
text-align: center;
display: inline-block;
margin-left: -2em;
width: 2em;
}
.callout h3,
.callout h4 {
margin-top: 0;
margin-bottom: 5px;
display: inline;
}
.callout p:last-child {
margin-bottom: 0;
}
.callout code {
border-radius: 3px;
}
.callout+.callout {
margin-top: -5px;
}
.callout-default {
border-left-color: #777;
}
.callout-default h4 {
color: #777;
}
.callout-primary {
border-left-color: #428bca;
}
.callout-primary h4 {
color: #428bca;
}
.callout-success {
border-left-color: #5cb85c;
}
.callout-success h4 {
color: #5cb85c;
}
.callout-danger {
border-left-color: #d9534f;
}
.callout-danger h4 {
color: #d9534f;
}
.callout-warning {
border-left-color: #f0ad4e;
}
.callout-warning h4 {
color: #f0ad4e;
}
.callout-info {
border-left-color: #5bc0de;
}
.callout-info h4 {
color: #5bc0de;
}
footer { footer {
background: #363636; background: #363636;
flex-shrink: 0; flex-shrink: 0;
...@@ -646,26 +829,31 @@ footer .container { ...@@ -646,26 +829,31 @@ footer .container {
} }
footer .editPage { footer .editPage {
padding: 15px; padding: 15px 15px 15px 0;
flex: 1 1 0; flex: 1 1 0;
text-overflow: clip; text-overflow: clip;
overflow: hidden; overflow: hidden;
} }
footer .spacer {
flex: 1;
}
footer .container, footer .container,
footer .container a { footer .container a {
color: #EDEDED; color: #EDEDED;
} }
footer .center { footer .links {
padding: 15px; padding: 15px;
text-align: center; /*text-align: center;*/
flex: 1 1 0; /*flex: 1 1 0;*/
text-align: right;
} }
footer .lang-dropdown-container { footer .lang-dropdown-container {
flex: 1 1 0; /*flex: 1 1 0;*/
padding: 15px; padding: 14px 0 16px 15px;
text-align: right; text-align: right;
} }
...@@ -679,7 +867,6 @@ footer .lang-dropdown { ...@@ -679,7 +867,6 @@ footer .lang-dropdown {
border-radius: 2px; border-radius: 2px;
margin: 5px 0; margin: 5px 0;
padding: 10px 10px 7px 10px; padding: 10px 10px 7px 10px;
background: #ffdbdb;
line-height: 1.25; line-height: 1.25;
color: red; color: red;
} }
...@@ -688,10 +875,6 @@ footer .lang-dropdown { ...@@ -688,10 +875,6 @@ footer .lang-dropdown {
font-style: italic; font-style: italic;
} }
.vorstand ul {
padding-left: 0;
}
@media (max-width: 720px) { @media (max-width: 720px) {
main { main {
padding: 25px 0; padding: 25px 0;
...@@ -715,7 +898,8 @@ footer .lang-dropdown { ...@@ -715,7 +898,8 @@ footer .lang-dropdown {
display: block; display: block;
} }
.menu, #top-bar .lang-dropdown { .menu,
#top-bar .lang-dropdown {
display: none; display: none;
} }
...@@ -736,26 +920,6 @@ footer .lang-dropdown { ...@@ -736,26 +920,6 @@ footer .lang-dropdown {
padding: 25px 0 0; padding: 25px 0 0;
} }
#stats {
top: 25px;
right: 0;
}
#stats div {
padding: 9px 0;
font-size: 13px;
}
#stats div i {
font-size: 32px;
width: 48px;
height: 42px;
}
#stats div span {
width: 170px;
}
article > *, article > *,
article .container, article .container,
footer .container { footer .container {
...@@ -772,6 +936,8 @@ footer .lang-dropdown { ...@@ -772,6 +936,8 @@ footer .lang-dropdown {
#stats { #stats {
position: static; position: static;
top: 25px;
right: 0;
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
padding-top: 12px; padding-top: 12px;
...@@ -791,18 +957,63 @@ footer .lang-dropdown { ...@@ -791,18 +957,63 @@ footer .lang-dropdown {
margin-bottom: 4px; margin-bottom: 4px;
} }
#stats div i {
font-size: 32px;
width: 48px;
height: 42px;
}
#stats i.fa { #stats i.fa {
font-size: 28px; font-size: 28px;
width: 45px; width: 45px;
height: 32px; height: 32px;
} }
.two-columns .column:first-child { dl {
float: none; display: block;
width: 100%; }
dt,
dd dl dt,
dd dl dd {
flex: 1;
max-width: 100%;
}
dd {
flex: 1;
margin: 0.8em 1em 1.6em;
}
dd dl dd {
margin: 0.25em 0 1em;
}
.two-columns .column {
float: none !important;
width: 100% !important;
} }
.two-columns .column:last-child { .two-columns .column:last-child {
display: none; margin-top: 2rem;
display: flex;
flex-wrap: wrap;
}
.two-columns .flex-item {
flex: 1;
}
.two-columns .flex-item:first-child {
margin-right: 1.5rem;
}
.two-columns .flex-item:last-child {
margin-left: 1.5rem;
}
.two-columns .flex-item h2 {
margin-top: 0;
}
.wifi table th:first-child {
width: 8em;
} }
} }
static/figures/router_full.jpg

82.6 KiB