/
tastestyleamalia.css
186 lines (148 loc) · 2.81 KB
/
tastestyleamalia.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
body {
background-color: white;
font-family: Arial;
margin: 0;
}
img {
vertical-align: middle;
}
/* Position the image container (needed to position the left and right arrows) */
.container {
width: 900px;
position: relative;
}
/* Hide the images by default */
.mySlides {
display: none;
}
/* Add a pointer when hovering over the thumbnail images */
.cursor {
cursor: pointer;
}
.prev{
margin-left: -50%;
}
/* Next & previous buttons */
.prev,
.next {
cursor: pointer;
position: absolute;
top: 40%;
width: auto;
padding: 16px;
margin-top: -50px;
color: white;
font-weight: bold;
font-size: 20px;
border-radius: 0 3px 3px 0;
user-select: none;
-webkit-user-select: none;
background-color: rgba(0, 0, 0, 0.4);
}
/* Position the "next button" to the right */
.next {
right: 0;
border-radius: 3px 0 0 3px;
}
/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
background-color: rgba(0, 0, 0, 0.8);
}
/* Number text (1/3 etc) */
.row:after {
content: "";
display: table;
clear: both;
}
/* Six columns side by side */
.column {
float: left;
width: 16.66%;
}
/* Add a transparency effect for thumnbail images */
.demo {
opacity: 0.6;
}
.active,
.demo:hover {
opacity: 1;
}
body {
font-family: 'Source Sans Pro', sans-serif;
}
header {
background:
linear-gradient(
rgba(0, 0, 0, 0.5),
rgba(0, 0, 0, 0.5)
),
url(https://phgcdn.com/images/uploads/experiences/Art_n_Culture_Masthead_1200x645.jpg);
background-size: cover;
height: 30vh;
margin-top:-60px;
}
.title {
position: absolute;
top: 10%;
left: 50%;
transform: translate(-50%, -50%);
color: white;
text-align: center;
}
h1 {
color: white;
font-family: Arial;
font-size: 40px;
}
h2 {
font-family: arial;
font-size: 20px;
color: white;
}
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
* {box-sizing: border-box}
body {font-family: Arial;}
/* Style the tab */
.tab {
overflow: hidden;
border: 6px solid white;
background-color: #FFC300;
float:center;
width:100%;
text-align: center;
}
/* Style the buttons inside the tab */
.tab button {
background-color: inherit;
float: center;
border: none;
outline: none;
cursor: pointer;
transition: 0.2s;
font-size: 17px;
font-family: arial;
text-align: center;
padding:10px;
margin-left: 20px;
margin-right: 20px;
}
/* Change background color of buttons on hover */
.tab button:hover {
background-color: white;
}
/* Create an active/current tablink class */
.tab button.active {
background-color:#FFDC86;
}
/* Style the tab content */
.tabcontent {
display: none;
padding: 6px 12px;
border: 1px solid ;
border-top: none;
}
</head>
<body>