-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathperson.html
45 lines (45 loc) · 1.09 KB
/
person.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<!DOCTYPE html charset="utf-8">
<html>
<head>
<meta charset="utf-8">
<script src="bower_components/webcomponentsjs/webcomponents.min.js"></script>
<link rel="import" href="x-people.html">
<style shim-shadowdom>
.column {
max-width: 400px;
}
x-people {
display: block;
}
x-people::shadow x-person {
display: block;
margin: 5px;
}
h2.cardsName {
background-color: #03A9F4;
color: #FFF;
padding: 10px;
margin: 5px;
}
x-people.fancyCard::shadow x-person::shadow .content {
background-color: #03A9F4;
color: #FFF;
padding: 10px;
}
x-people::shadow x-person::shadow h2, h2.cardsName {
font-family: 'Playfair Display SC', serif;
font-weight: 200;
}
x-people::shadow x-person::shadow h2 {
margin: 0px;
}
</style>
</head>
<body>
<div class="column">
<h2 class="cardsName">Депутаты Одесского областного совета</h2>
</div>
<x-people url="people.json" class="fancyCard column">
</x-people>
</body>
</html>