-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
116 lines (116 loc) · 2.58 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
@font-face {
font-family: 'Quicksand';
src: url('./assets/quicksand/Quicksand-Light.ttf') format('truetype');
font-weight: 300;
font-style: normal;
}
@font-face {
font-family: 'Quicksand';
src: url('./assets/Quicksand\ -\ Google\ Fonts.webloc') format('truetype');
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: 'Quicksand';
src: url('./assets/quicksand/Quicksand-Medium.ttf') format('truetype');
font-weight: 500;
font-style: normal;
}
@font-face {
font-family: 'Quicksand';
src: url('./assets/quicksand/Quicksand-SemiBold.ttf') format('truetype');
font-weight: 600;
font-style: normal;
}
@font-face {
font-family: 'Quicksand';
src: url('./assets/quicksand/Quicksand-Bold.ttf') format('truetype');
font-weight: 700;
font-style: normal;
}
body {
margin: 0;
background-color: #004098;
color: #fff;
font-family: 'Quicksand', PingFang SC, sans-serif;
}
a:hover, a:active{
color:#E7ECEF;
background-color: transparent;
}
.cosmos {
display: flex;
flex-direction: column;
align-items: center;
}
.title {
font-weight: 600;
text-align: center;
}
.desc {
color: #4FA147;
font-weight: 600;
}
.email {
background:none;
outline:none;
border:none;
border-bottom: 2px solid #fff;
color: #fff;
text-align: center;
}
.email::placeholder {
color: rgba(255, 255, 255, 0.20);
text-align: center;
font-style: normal;
font-weight: 500;
}
.submit-email {
border:0;
outline:none;
background-color: transparent;
background: #4FA147;
color: #fff;
text-align: center;
}
.pic {
position: relative;
padding-bottom: 65%;
text-align: center;
background-image: url('./assets/rows-cucumbers-grown-greenhouse-web.jpg');
background-repeat: no-repeat;
background-position: center;
background-size: contain;
}
.pic::before {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
text-align: center;
content: "COSMOS is a digital agriculture venture incubated by Bayer since 2020. Based in China and Europe, COSMOS has a multi-disciplinary team of crop scientists, data scientists, product managers, growers and engineers.";
}
.footer {
width: 100%;
text-align: center;
background-image: url('./assets/pattern_bottom.svg');
background-repeat: no-repeat;
background-position: center;
background-size: cover;
}
.footer-email {
display: block;
text-decoration: none;
color: inherit;
}
.submit-result {
display: none;
position: fixed;
left: 50%;
padding: 5px 30px;
transform: translateX(-50%);
white-space: nowrap;
background-color: #fff;
/* color: #fff; */
border-radius: 40px;
}