Skip to content

Commit 74c868c

Browse files
Add basic styles
1 parent 642ccd0 commit 74c868c

2 files changed

Lines changed: 51 additions & 16 deletions

File tree

index.html

Lines changed: 26 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,13 @@
1-
<h1>Easy-deep-learning</h1>
1+
<!DOCTYPE html>
2+
<html lang="ru">
3+
<head>
4+
<meta charset="UTF-8">
5+
<title>Easy deep learning</title>
6+
<link rel="stylesheet" href="style.css">
7+
</head>
8+
<body>
9+
10+
<h1>Образование спасет мир!</h1>
211

312
<p><a href="https://github.com/easy-deep-learning">github</a></p>
413

@@ -16,7 +25,7 @@ <h2>Проекты</h2>
1625
</ul>
1726

1827
<h2>Выступления и презентации</h2>
19-
<ul>
28+
<ul class="presentations">
2029
<li>
2130
<p>
2231
<a href="https://www.slideshare.net/yandex/ss-29879522">
@@ -25,13 +34,14 @@ <h2>Выступления и презентации</h2>
2534
(BEMup в рамках YaC, Москва, 2013)
2635
</p>
2736
<iframe
28-
width="560"
29-
height="315"
37+
width="300"
38+
height="169"
3039
src="https://www.youtube.com/embed/7xBGaPFu1v4"
3140
frameborder="0"
3241
allowfullscreen
3342
></iframe>
3443
</li>
44+
3545
<li>
3646
<p>
3747
<a href="http://alexbaumgertner.github.io/presentation-bem-stack/">
@@ -40,8 +50,8 @@ <h2>Выступления и презентации</h2>
4050
(PiterJS #6, Санкт-Петербург, 2016)
4151
</p>
4252
<iframe
43-
width="560"
44-
height="315"
53+
width="300"
54+
height="169"
4555
src="https://www.youtube.com/embed/VsGl-xZtxFg"
4656
frameborder="0"
4757
allowfullscreen
@@ -54,8 +64,8 @@ <h2>Выступления и презентации</h2>
5464
(PiterJS #8, Санкт-Петербург, 2016)
5565
</p>
5666
<iframe
57-
width="560"
58-
height="315"
67+
width="300"
68+
height="169"
5969
src="https://www.youtube.com/embed/dsejpRhmRFo"
6070
frameborder="0"
6171
allowfullscreen
@@ -70,8 +80,8 @@ <h2>Выступления и презентации</h2>
7080
(PiterJS #13, Санкт-Петербург, 2017)
7181
</p>
7282
<iframe
73-
width="560"
74-
height="315"
83+
width="300"
84+
height="169"
7585
src="https://www.youtube.com/embed/0lu3WYLW4ps"
7686
frameborder="0"
7787
allowfullscreen
@@ -89,15 +99,14 @@ <h2>Выступления и презентации</h2>
8999
(PiterJS #14, Санкт-Петербург, 2017)
90100
</p>
91101
<iframe
92-
width="560"
93-
height="315"
102+
width="300"
103+
height="169"
94104
src="https://www.youtube.com/embed/2uWh7V70_d8"
95105
frameborder="0"
96106
allowfullscreen
97107
></iframe>
98108
</li>
99109

100-
101110
<li>
102111
<p>
103112
<a href="https://easy-deep-learning.github.io/structure-and-Interpretation-of-js/">
@@ -106,16 +115,17 @@ <h2>Выступления и презентации</h2>
106115
(PiterJS 15, Санкт-Петербург, 2017)
107116
</p>
108117
<iframe
109-
width="560"
110-
height="315"
118+
width="300"
119+
height="169"
111120
src="https://www.youtube.com/embed/Kh7s5he0Yto"
112121
frameborder="0"
113122
allowfullscreen
114123
></iframe>
115124
</li>
116125

117-
118126
<li><a href="./es2015-in-practice/">es2015-in-practice</a></li>
119127

120128
<li><a href="./event-emitter/">event-emitter</a></li>
121129
</ul>
130+
</body>
131+
</html>

style.css

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
html,
2+
body {
3+
margin: 0;
4+
padding: 0;
5+
background-color: #fff;
6+
}
7+
8+
body {
9+
width: 80%;
10+
margin-left: auto;
11+
margin-right: auto;
12+
}
13+
14+
.presentations {
15+
display: flex;
16+
flex-wrap: wrap;
17+
flex-direction: row;
18+
justify-content: space-between;
19+
}
20+
21+
.presentations li {
22+
width: 30%;
23+
min-width: 330px;
24+
margin-top: 25px;
25+
}

0 commit comments

Comments
 (0)