Skip to content

Commit 2c25643

Browse files
author
Sascha Müller zum Hagen
committed
Use of a material themed flag
1 parent b9bc710 commit 2c25643

File tree

4 files changed

+32
-5
lines changed

4 files changed

+32
-5
lines changed

docs/css/extra.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,13 @@
1313

1414
.large_width {
1515
width: 100%
16+
}
17+
18+
.language_flag {
19+
padding-left: 0px;
20+
padding-right: 0px;
21+
}
22+
23+
.language_flag img {
24+
width: 24px;
1625
}

docs/images/germany-flag.png

-42.3 KB
Loading
-59.5 KB
Loading

docs/index.html

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,24 @@
2222
height: 48px;
2323
}
2424

25+
#content {
26+
margin: 8px;
27+
text-align: center;
28+
min-width: 300px;
29+
}
30+
31+
#content img {
32+
max-width: 800px;
33+
display: block;
34+
margin-left: auto;
35+
margin-right: auto;
36+
}
37+
38+
#content figure {
39+
width: 200px;
40+
display: inline-block;
41+
}
42+
2543
footer {
2644
background-color: black;
2745
width: 100%;
@@ -50,22 +68,22 @@
5068
<div id="headerLable">HuCon</div>
5169
</header>
5270

53-
<center style="margin: 8px;">
54-
<img style=" max-width: 800px;" src="en/images/logo.svg" alt="Hucon"/>
71+
<div id="content">
72+
<img src="en/images/logo.svg" alt="Hucon"/>
5573
<h1>Choose your language</h1>
56-
<figure style="width: 200px;">
74+
<figure>
5775
<a href="en/index.html"><img src="en/images/united-kingdom-flag.png" alt="English" style="width: 200px;"/></a>
5876
<figcaption>
5977
<center><a href="en/index.html">English</a><center>
6078
</figcaption>
6179
</figure>
62-
<figure style="width: 200px;">
80+
<figure>
6381
<a href="de/index.html"><img src="en/images/germany-flag.png" alt="Deutsch" style="width: 200px;"/></a>
6482
<figcaption>
6583
<center><a href="de/index.html">Deutsch</a><center>
6684
</figcaption>
6785
</figure>
68-
</center>
86+
</div>
6987

7088
<footer>
7189
<div id="footerLable">Basler AG 2020</div>

0 commit comments

Comments
 (0)