-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle_sito(1).css
159 lines (137 loc) · 2.21 KB
/
style_sito(1).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
*{
margin: 0;
padding: 0;
font-family: 'poppins', sans-serif;
box-sizing: border-box;
}
.hero {
background: #1d2026;
min-height: 100vh; /*viewport height = viewable screen's height*/
width: 100%;
color: white;
position: relative;
}
nav {
display: flex;
align-items: center;
padding: 20px 8%;
}
nav .menu-img {
width: 25px;
margin-right: 20px;
cursor: pointer;
}
nav .logo-img {
width: 160px;
cursor: pointer;
}
nav ul {
flex: 1;
text-align: right;
}
nav ul li {
display: inline-block;
list-style: none;
margin: 0 20px;
}
nav ul li a {
text-decoration: none;
color: white;
}
button {
background: white;
height: 30px;
width: 60px;
border-radius: 20px;
border: 0;
outline: 0;
cursor: pointer;
margin-right: 30px;
transition: background 0.5s;
}
button span {
display: block;
background: #999;
height: 26px;
width: 26px;
border-radius: 50%; /*circle*/
margin-left: 2px;
transition: background 0.5s, margin-left 0.5s;
}
.lamp-container {
position: absolute;
top: -20px;
left: 24%;
width: 200px;
}
.lamp-img {
width: 100%;
}
.light-img {
position: absolute;
width: 700px;
top: 99%;
left: 47%;
transform: translateX(-50%);
opacity: 0;
transition: opacity 0.5s;
}
.text-container {
max-width: 600px;
margin-top: 7%;
margin-left: 50%;
}
.text-container h1 {
font-size: 80px;
font-weight: 400px;
}
.text-container a {
text-decoration: none;
background: #00986f;
padding: 14px 40px;
display: inline-block;
color: #fff;
font-size: 18px;
margin-top: 30px;
border-radius: 30px;
}
.arrow {
color: green;
border: solid black;
border-width: 0 3px 3px 0;
display: inline-block;
padding: 3px;
transform: rotate(135deg);
-webkit-transform: rotate(135deg);
}
.control {
display: flex;
align-items: center;
justify-content: flex-end;
margin-top: 150px;
}
.control .line {
width: 250px;
height: 4px;
background: white;
margin: 0 20px;
border-radius: 2px;
}
.control .line span {
width: 50%;
height: 8px;
margin-top: -2px;
border-radius: 4px;
background: #00986f;
display: block;
}
.active {
background: green;
}
.active span {
background: white;
margin-left: 31px;
}
.on {
opacity: 1;
}