1
0
mirror of https://github.com/Pomax/BezierInfo-2.git synced 2025-08-31 03:59:58 +02:00

localizing is now pretty nice

This commit is contained in:
Pomax
2017-02-18 13:45:26 -08:00
parent 0fda4e7ab0
commit 4808a59357
53 changed files with 3428 additions and 1748 deletions

View File

@@ -0,0 +1,37 @@
.locale-switcher {
text-align: center;
margin-bottom: 2em;
section { margin: 0 }
p {
margin: 0;
display: inline-block;
& + ul + p {
display: block;
margin-top: 0.5em;
font-size: 80%;
color: rgb(80,80,80);
text-align: center;
}
}
ul {
display: inline-block;
list-style: none;
margin: 0 0.5em;
padding: 0;
li {
display: inline-block;
& + li {
&:before {
content: "-";
margin-right: 0.5em;
}
margin-left: 0.5em;
}
}
}
}

View File

@@ -61,6 +61,40 @@ footer {
position: relative;
z-index: 999;
}
.locale-switcher {
text-align: center;
margin-bottom: 2em;
}
.locale-switcher section {
margin: 0;
}
.locale-switcher p {
margin: 0;
display: inline-block;
}
.locale-switcher p + ul + p {
display: block;
margin-top: 0.5em;
font-size: 80%;
color: #505050;
text-align: center;
}
.locale-switcher ul {
display: inline-block;
list-style: none;
margin: 0 0.5em;
padding: 0;
}
.locale-switcher ul li {
display: inline-block;
}
.locale-switcher ul li + li {
margin-left: 0.5em;
}
.locale-switcher ul li + li:before {
content: "-";
margin-right: 0.5em;
}
navigation {
font-family: Georgia;
display: block;

View File

@@ -53,6 +53,7 @@ footer {
}
@import "ribbon.less";
@import "locale-switcher.less";
@import "navigation.less";
@import "section.less";
@import "howtocode.less";