-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
122 lines (113 loc) · 3.03 KB
/
index.html
File metadata and controls
122 lines (113 loc) · 3.03 KB
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
---
layout: blank
title: Platforma a dansului contemporan românesc
---
<div class="sections">
<div class="section section-ieri"
style="background-image: url({{ site.baseurl }}/assets/bg-ieri.jpg)">
<a href="{{ site.baseurl }}/ieri/">
<span class="section-years" aria-hidden="true"> </span>
<h4 class="section-name">Ieri</h4>
<p class="section-description">Secţiune dedicată trecutului dansului contemporan românesc, IERI propune spre consultare o selecţie de documente inedite.</p>
</a>
</div>
<div class="section"
style="background-image: url({{ site.baseurl }}/assets/bg-azi.jpg)">
<a href="{{ site.baseurl }}/azi/">
<span class="section-years" aria-hidden="true"> </span>
<h4 class="section-name">Azi</h4>
<p class="section-description">AZI se află într-un proces continuu de conectare a artiştilor şi evenimentelor care au contribuit şi contribuie la vizibilitatea dansului contemporan din Romania.</p>
</a>
</div>
<div class="section"
style="background-image: url({{ site.baseurl }}/assets/bg-maine.jpg)">
<a href="{{ site.baseurl }}/maine/">
<span class="section-years" aria-hidden="true"> </span>
<h4 class="section-name">Mâine</h4>
<p class="section-description">Secțiune de calendar/ agendă culturală, care înglobează evenimentele viitoare din domeniul dansului contemporan.</p>
</a>
</div>
</div>
<style>
.section {
overflow: hidden;
text-align: center;
background-repeat: none;
background-position: center;
background-size: auto 100%;
}
.section-ieri{
background-position: right;
}
.section a {
box-sizing: border-box;
padding: 1rem;
background: rgba(0,0,0,.2);
color: #fff;
text-decoration: none !important;
}
.section-name {
font-size: 6rem;
font-weight: 900;
letter-spacing: .2em;
text-transform: uppercase;
}
.section-years {
font-size: 6rem;
white-space: nowrap;
letter-spacing: -.02em;
visibility: hidden;
}
.section-years,
.section-name,
.section-description {
transition: transform 2s;
}
.section:hover .section-years {
transform: translate(0, -10%);
}
.section:hover .section-name {
transform: scale(1.1);
}
.section:hover .section-description {
transform: translate(0, 10%);
}
@media (max-width: 480px) {
.section {
background-size: cover;
}
}
@media (max-width: 768px) {
.section a {
display: block;
display: flex;
flex-direction: column;
justify-content: space-around;
min-height: 30rem;
}
}
@media (min-width: 768px) {
.sections {
overflow: hidden;
}
.section {
float: left;
width: 33.33334%;
}
.section a {
display: block;
display: flex;
flex-direction: column;
justify-content: space-around;
height: 100vh;
min-height: 50rem;
}
.section-description {
min-height: 7.5em;
}
}
.inviz {
opacity: 0;
user-select: none;
}
</style>