Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
my-cucumbers-ru-github-io
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Лотуга Данила Сергеевич
my-cucumbers-ru-github-io
Commits
2fc8a17b
Commit
2fc8a17b
authored
Jul 31, 2011
by
Vadim Makeev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
multiline support for shout; middle class added for centering anything
parent
d01db850
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
40 additions
and
2 deletions
+40
-2
en.htm
en.htm
+9
-1
semantics.svg
pictures/semantics.svg
+6
-0
ru.htm
ru.htm
+8
-0
style.css
themes/ribbon/styles/style.css
+17
-1
No files found.
en.htm
View file @
2fc8a17b
...
...
@@ -82,6 +82,14 @@
</ol>
</section>
</div></div>
<div
class=
"slide"
id=
"InTheMiddle"
><div>
<section>
<header>
<h2>
In the Middle
</h2>
</header>
<object
data=
"pictures/semantics.svg"
type=
"image/svg+xml"
width=
"300"
height=
"300"
class=
"middle"
></object>
</section>
</div></div>
<div
class=
"slide bg"
id=
"Picture"
><div>
<section>
<header>
...
...
@@ -125,7 +133,7 @@
<div
class=
"slide shout"
id=
"Shout"
><div>
<section>
<header>
<h2>
Shout!
</h2>
<h2>
Warning
<br>
Message
</h2>
</header>
</section>
</div></div>
...
...
pictures/semantics.svg
0 → 100644
View file @
2fc8a17b
<svg
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
viewBox=
"0 0 256.155 256.155"
>
<title>
HTML5 Semantics Logo
</title>
<polygon
id=
"chevron"
fill=
"#0174A7"
points=
"128.106,0 0,64.744 0,107.32 128.106,42.577 256.155,107.32 256.155,64.744"
/>
<use
xlink:href=
"#chevron"
y=
"74.316"
/>
<use
xlink:href=
"#chevron"
y=
"148.653"
/>
</svg>
ru.htm
View file @
2fc8a17b
...
...
@@ -82,6 +82,14 @@
</ol>
</section>
</div></div>
<div
class=
"slide"
id=
"InTheMiddle"
><div>
<section>
<header>
<h2>
Посередине
</h2>
</header>
<object
data=
"pictures/semantics.svg"
type=
"image/svg+xml"
width=
"300"
height=
"300"
class=
"middle"
></object>
</section>
</div></div>
<div
class=
"slide bg"
id=
"Picture"
><div>
<section>
<header>
...
...
themes/ribbon/styles/style.css
View file @
2fc8a17b
...
...
@@ -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
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment