blob: f75fa9c45d9f926bbb34d23729a7d51d8affc812 (
plain)
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
|
/**
@license
Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/
import { html } from '@polymer/lit-element';
export const SharedStyles = html`
<style>
:host {
display: block;
box-sizing: border-box;
}
section {
padding: 24px;
background: var(--app-section-odd-color);
}
section > * {
max-width: 80%;
margin-right: auto;
margin-left: auto;
}
section:nth-of-type(even) {
background: var(--app-section-even-color);
}
h2 {
font-size: 24px;
text-align: center;
color: var(--app-dark-text-color);
}
.img-section {
max-width: 100%;
width: 100%;
padding: 0;
margin: 0;
line-height: 0;
}
.img-section > div {
max-width: 100%;
width: 100%;
margin-bottom: 0;
}
.container > img {
width:100%;
}
.container {
position: relative;
text-align: center;
color: white;
margin-bottom: 0;
}
.centered {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-weight: bolder;
font-size: 200%;
line-height: normal;
}
@media (min-width: 460px) {
h2 {
font-size: 36px;
}
}
.circle {
display: block;
width: 64px;
height: 64px;
margin: 0 auto;
text-align: center;
border-radius: 50%;
background: var(--app-primary-color);
color: var(--app-light-text-color);
font-size: 30px;
line-height: 64px;
}
.underline {
border-bottom: 1px solid var(--app-primary-color);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
</style>
`;
|