-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
167 lines (139 loc) · 2.56 KB
/
style.css
File metadata and controls
167 lines (139 loc) · 2.56 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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100;0,200;0,300;0,400;0,800;1,100;1,200;1,300&display=swap');
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
html, body {
width: 100%;
height: 100%;
scroll-behavior: smooth;
}
header {
background-image: linear-gradient(rgba(42, 58, 74, 0.85), rgba(42, 58, 74, 0.85)), url(resources/Bosquefondo.jpg);
height: 100vh;
background-size: cover;
background-position: center;
}
#main {
background-color: silver;
width: 100%;
height: 10%;
}
#main .logo{
float: left;
}
.logo{
background: url(resources/cuervologo.png);
width: 10.2vh;
height: 10.2vh;
background-position: center;
background-size: cover;
margin-left: 4vh;
margin-top: -0.1vh;
}
#main nav ul{
float: right;
margin-right: 2vh;
margin-top: 2vh;
}
#main nav ul li{
list-style-type: none;
display: inline-block;
margin: 0 1.5vh;
line-height: 5vh;
}
#main nav ul li a{
text-decoration: none;
color: black;
font-size: 2.1vh;
font-family: helvetica;
padding: 0.6vh 1.5vh;
}
.text {
transform: translate(-50%, -50%);
position: absolute;
top: 55%;
left: 30%;
}
.text h1{
color: white;
font-size: 10vh;
font-family: palatino, serif;
}
.text span{
with: 0.5vh;
height: 2vh;
background: silver;
transform: translate(-50%, -50%);
position: absolute;
top: 5%;
left: -15%;
}
.text p{
font-size: 1.5vh;
line-height: 2.5vh;
letter-spacing: 0.2vh;
color: white;
font-family: 'Tahoma', cursive;
}
.text a {
text-decoration: none;
color: black;
height: 3.5vh;
width: 15vh;
border: none;
background: #7596A7;
margin-top: 1vh;
font-family: 'Tahoma';
padding: 1vh 12%;
}
section{
background: #7596A7;
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
font-family: "Raleway";
}
section .container{
margin: 10vh;
}
section h2{
font-size: 6vh;
text-align: center;
margin-bottom: 5vh;
}
section h3{
font-size: 4vh;
text-align: center;
text-transform: uppercase;
margin-bottom: 2vh;
}
section .cards{
display: flex;
}
section .cards .text-card{
background: white;
margin: 2vh;
padding: 4vh;
}
section .cards .text-card h3{
text-align: center;
font-size: 2.5vh;
text-transform: uppercase;
margin-bottom: 1.5vh;
}
#section-2{
background: #8CD8FF;
}
.reveal{
position: relative;
transform: translateY(15vh);
opacity: 0;
transition: all 1s ease;
}
.reveal.active{
transform: translateY(0px);
opacity: 1;
}