diff --git a/en.htm b/en.htm index 08082ad..a68b210 100755 --- a/en.htm +++ b/en.htm @@ -82,6 +82,14 @@ +
+
+
+

In the Middle

+
+ +
+
@@ -125,7 +133,7 @@
-

Shout!

+

Warning
Message

diff --git a/pictures/semantics.svg b/pictures/semantics.svg new file mode 100644 index 0000000..66eadc5 --- /dev/null +++ b/pictures/semantics.svg @@ -0,0 +1,6 @@ + + HTML5 Semantics Logo + + + + diff --git a/ru.htm b/ru.htm index 998a6c6..6f5f865 100755 --- a/ru.htm +++ b/ru.htm @@ -82,6 +82,14 @@
+
+
+
+

Посередине

+
+ +
+
diff --git a/themes/ribbon/styles/style.css b/themes/ribbon/styles/style.css index b4adec9..8004da3 100644 --- a/themes/ribbon/styles/style.css +++ b/themes/ribbon/styles/style.css @@ -195,11 +195,15 @@ BODY { position:absolute; top:50%; left:0; - margin:-80px 0 0; width:100%; text-align:center; line-height:1; font-size:150px; + -webkit-transform:translateY(-50%); + -moz-transform:translateY(-50%); + -ms-transform:translateY(-50%); + -o-transform:translateY(-50%); + transform:translateY(-50%); } .slide.shout H2 A { margin:0; @@ -208,6 +212,18 @@ BODY { content:''; } +/* Middle */ +.middle { + position:absolute; + top:50%; + left:50%; + -webkit-transform:translate(-50%, -50%); + -moz-transform:translate(-50%, -50%); + -ms-transform:translate(-50%, -50%); + -o-transform:translate(-50%, -50%); + transform:translate(-50%, -50%); + } + /* List ---------------------------------------- */ .list {