-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathestil.css
114 lines (97 loc) · 1.72 KB
/
estil.css
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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
margin: 0;
padding: 0;
overflow: hidden;
font-family: Arial, sans-serif;
color: #fff;
}
.cova {
position: relative;
height: 100vh;
overflow-y: auto; /* Scroll */
background-color: #000;
}
.embolcall {
display: flex;
flex-wrap: wrap;
justify-content: space-around;
align-items: center;
padding: 20px;
margin-bottom: 80px; /*Espai peu*/
}
.contenidor-titol {
text-align: center;
margin-bottom: 20px;
}
.contenidor-titol h2 {
font-style: italic;
font-size: 1.2em;
}
.contingut {
position: relative;
flex: 0 0 45%;
margin: 10px;
padding: 20px;
background-color: #6e4343;
border-radius: 10px;
text-align: center;
overflow: hidden;
}
.contingut:hover {
background-color: #333;
}
h1 {
font-size: 2.5em;
margin-bottom: 10px;
}
h2 {
font-size: 1.5em;
margin-bottom: 10px;
}
p {
font-size: 1em;
}
a {
color: #fff;
}
ul {
list-style-type: none;
}
.capsa-img {
width: 100%;
max-height: 150px;
object-fit: cover;
margin-bottom: 10px;
transition: transform 0.3s ease-in-out;
}
/* Wiiiiii */
.contingut:hover .capsa-img {
transform: rotate(360deg);
}
/* Pantalletes */
@media (max-width: 768px) {
.contingut {
flex: 0 0 100%;
}
}
.peu-rodo {
position: fixed;
bottom: 0;
left: 0;
width: 100%;
height: 60px;
background-color: #333;
border-radius: 30px 30px 0 0;
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 20px;
}
.peu-esq p {
margin: 0;
}