forked from pccoe-acm-hacktoberfest-2023/Starbucks
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
143 lines (143 loc) · 2.45 KB
/
style.css
File metadata and controls
143 lines (143 loc) · 2.45 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
@import url("https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800,900display=swap");
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Poppins", sans-serif;
}
section {
position: absolute;
width: 100%;
min-height: 100vh;
padding: 100px;
display: flex;
justify-content: space-between;
align-items: center;
background: #fff;
}
header {
position: absolute;
top: 0;
left: 0;
width: 100%;
padding: 20px 100px;
display: flex;
justify-content: space-between;
align-items: center;
}
header .logo {
position: relative;
max-width: 80px;
}
header ul {
position: relative;
display: flex;
}
header ul li a {
display: inline-block;
color: #333;
font-weight: 400;
margin-left: 40px;
text-decoration: none;
margin-right: 50px;
}
.content {
position: relative;
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
}
.content .textBox {
position: relative;
max-width: 600px;
}
.content .textBox h2 {
color: #333;
font-size: 4em;
line-height: 1.4em;
font-weight: 500;
}
.content .textBox h2 span {
color: #097b59;
font-size: 1.2em;
font-weight: 900;
}
.content .textBox p {
color: #333;
}
.content .textBox a:hover {
transform: translateX(19%);
}
.content .textBox a {
display: inline-block;
margin-top: 20px;
padding: 8px 20px;
background: #017143;
color: #fff;
border-radius: 40px;
font-weight: 500;
letter-spacing: 1px;
text-decoration: none;
}
.content .imgBox {
width: 600px;
display: flex;
justify-content: flex-end;
padding-right: 50px;
margin-top: 50px;
}
.content .imgBox img {
max-width: 340px;
}
.thumb {
position: absolute;
left: 50%;
bottom: 20px;
transform: translateX(-50%);
display: flex;
}
.thumb li {
list-style: none;
display: inline-block;
margin: 0 20px;
cursor: pointer;
transition: 0.5s;
}
.thumb li:hover {
transform: translateY(-15px);
}
.thumb li img {
max-width: 60px;
}
.sci {
position: absolute;
top: 50%;
right: 30px;
transform: translate(-50%);
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
.sci li {
list-style: none;
}
.sci li a {
display: inline-block;
margin: 5px 0;
transform: scale(0.6);
filter: invert(1);
}
.sci li a:hover {
transform: translateY(-10px);
}
.circle {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: #017143;
clip-path: circle(600px at right 800px);
}