-
Notifications
You must be signed in to change notification settings - Fork 1
/
lighting designer
130 lines (118 loc) · 3.61 KB
/
lighting designer
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
123
124
125
126
127
128
129
130
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<script src="/assets/jquery.js"></script>
<link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Vast+Shadow"/>
<style>
body {
font-family: courier new;
margin: 0 auto;
max-width: 900px;
background: rgba(30, 70, 70, 1);
}
div {
height: 300px;
background-repeat: no-repeat;
background-size: cover;
background-position: center;
position: relative;
margin: 40px 0 0 0;
border-radius: 12px;
}
h1 {
font-family: 'Vast Shadow', normal;
text-align: center;
font-size: 50px;
color: rgba(255, 0200, 0, 1);
margin: 60px 0 0 0;
}
h2 {
text-align: center;
color: rgba(255, 200, 150, 1);
margin: 0px 0 70px 0;
}
p {
color: rgba(255,200,200,1);
background: black;
background: linear-gradient(bottom, rgba(0,0,0,1), rgba(0,0,0,.4));
background: -webkit-linear-gradient(bottom, rgba(0,0,0,1), rgba(0,0,0,.4));
background: -moz-linear-gradient(bottom, rgba(0,0,0,1), rgba(0,0,0,.4));
padding: 18px;
line-height: 28px;
text-align: justify;
position: absolute;
bottom: 0;
margin: 0;
border-radius: 0 0 12px 12px;
height: 40px;
transition: height .7s;
-webkit-transition: height .7s;
-moz-transition: height .7s;
}
small {
opacity: 0;
}
.show-description p {
height: 150px;
}
.show-description small {
opacity: 1;
}
.xx{
background-image: url("https://img.mshanken.com/d/cao/bolt/2018-03/habanos-final-2018-2-1600.jpg");
}
.xxi{
background-image: url("https://halfwheel.com/wp-content/uploads/2019/02/Festival-del-Habano-XXI-Trinidad-Gala-Evening-Ballet-Revolution.jpg");
}
.xxii{
background-image: url("https://halfwheel.com/wp-content/uploads/2020/03/Festival-Del-Habano-XXII-Final-Gala-Drummers.jpg");
}
.edicion {
float: right;
}
@media (max-width: 600px) {
h1 {
font-size: 30px;
margin-top: 20px;
line-height: 28px;
}
h2 {
font-size: 20px;
margin: 10px 0 30px 0;
}
div {
margin: 30px 12px 0 12px;
}
p {
font-size: 16px;
line-height: 12px;
}
small {
font-size: 12px;
}
}
</style>
</head>
<body>
<h1>CARLOS CARPINTERO</h1>
<h2>Lighting Designer</h2>
<div class="xx">
<p>Festival del Habano <span class="edicion">XX</span><br />
<small>en esta edición la estrella invitada en la noche de gala fue Orishas. Pero si la descripción es muy pequeña el cintillo no cubre. Esto debe tener solución en CSS</small></p>
</div>
<div class="xxi">
<p>Festival del Habano <span class="edicion">XXI</span><br />
<small>Tri-tip capicola kielbasa salami brisket chicken rump strip steak drumstick. Meatloaf chuck boudin ribeye pork jowl. Andouille bacon jowl meatloaf pork loin prosciutto bresaola.</small></p>
</div>
<div class="xxii">
<p>Festival del Habano <span class="edicion">XXII</span><br />
<small>Lollipop tart cotton candy jell y-o carrot cake apple pmnijpiugy ufdt tfyfuyge cupcake. Jelly-o bear claw ice cream candy canes gdi6oyvo7o uihptcy fyfouyfoluyf ugup.</small></p>
</div>
<script>
$('div').on('click', function() {
$(this).toggleClass('show-description');
});
</script>
</body>
</html>