-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
207 lines (161 loc) · 3.3 KB
/
style.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
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
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
/*SEZIONE VARI*/
/*IMPORTANTE ALTRIMENTI I MODAL FREEZANO*/
body.modal-open div.modal-backdrop {
z-index: 0;
}
body{
background-color: black;
}
.testo-primario-chiaro{
text-transform: uppercase;
font-size: 125%;
font-weight: 800;
color:white;
}
.testo-secondario-chiaro{
font-weight: 500;
color:gray;
}
.testo-primario-scuro{
text-transform: uppercase;
font-size: 125%;
font-weight: 800;
color:black;
}
.testo-secondario-scuro{
font-weight: 500;
color:darkgray;
}
.bottone-maiusc{ /*da usare in un button in combinazione con btn-success o btn-danger (e button-sm)*/
text-transform: uppercase;
font-weight: 800;
padding: 2% 4%;
}
/*usato ad es. per blocco-testo*/
.centrato-orizzontale{
left: 50%;
transform: translate(-50%)
}
.campo-form { /*da usare in combinazione con form-control(?)*/
margin: 1em 0;
border: none;
border-radius: 15px;
box-shadow: none;
border-bottom: 3px solid rgb(70, 43, 4);
border-top: 1px solid rgb(82, 49, 4);
padding-left: 3%;
font-weight: normal;
background-color: black;
opacity: 0.5;
}
.campo-form:hover, .campo-form:focus {
box-shadow: none;
border-color: green;
}
/*
.campo-form::-webkit-input-placeholder {
color: #eee;
}
.campo-form::-webkit-input-placeholder {
font-weight: bold;
color: #fff;
}
*/
.container {
position: relative;
}
@media only screen and (min-width : 1200px) { /*container principale a tutto schermo*/
.container { max-width: 1500px; }
}
/*CAROSELLO*/
.carousel-item,
.carousel-inner,
.carousel-inner img {
height: 100%;
width: 100%;
}
.carousel-item {
text-align: center;
}
.carousel {
height: 750px; /*cambiare in 90% e mettere immagini con dimensioni uguali*/
width: 100%;
}
/*FINE SEZONE VARI*/
/*SEZIONE MODAL*/
.close {
color: #fff;
transform: scale(1.2)
}
.modal-content {
font-weight: bold;
background: linear-gradient(to top left,rgb(182, 122, 11),rgb(39, 27, 2));
border-radius: 15px;
}
/*FINE SEZONE MODAL*/
/*SEZONE GRIGLIE CON IMMAGINI E BLOCCHI TESTO */
/*riga con elementi(colonne) flessibili*/
.row {
display: flex;
flex-wrap: wrap;
padding: 0 4px;
}
/*colonna a metà schermo*/
.colonna-flex-piccola {
flex: 50%;
}
/*colonna a tutto schermo*/
.colonna-flex-grande {
flex: 100%;
}
.colonna-flex-grande img
{
margin-top: 5px;
margin-bottom: 5px;
vertical-align: middle;
width: 100%;
}
.colonna-flex-piccola img
{
margin-top: 5px;
margin-bottom: 5px;
vertical-align: middle;
width: 100%;
}
/* Responsive layout - makes a one column-layout instead of two columns */
@media screen and (max-width: 900px) {
.colonna-flex-piccola {
flex: 100%;
max-width: 100%;
}
}
/*BLOCCHI TESTO*/
/* Da usare in container ad es. per testo su immagini */
.blocco-testo {
display: flex;
flex-wrap: wrap;
flex: 40%;
max-width: 40%;
position: absolute;
top: 5%;
background-color: black;
padding-left: 20px;
padding-right: 20px;
border-radius: 5px;
opacity: 0.6;
text-align: center;
}
.colonna-flex-grande .blocco-testo{
top: 5%;
border-radius: 5px;
}
.colonna-flex-piccola .blocco-testo{
top: 10%;
border-radius: 3px;
}
.testo-in-blocco{
flex:100%;
max-width: 100%;
margin-top: 3%;
}
/*FINE SEZONE GRIGLIA CON IMMAGINI E BLOCCHI TESTO*/