File tree 2 files changed +46
-49
lines changed
2 files changed +46
-49
lines changed Original file line number Diff line number Diff line change 4
4
< meta charset ="UTF-8 " />
5
5
< meta http-equiv ="X-UA-Compatible " content ="IE=edge " />
6
6
< meta name ="viewport " content ="width=device-width, initial-scale=1.0 " />
7
- < link rel ="stylesheet " href ="styles .css " />
7
+ < link rel ="stylesheet " href ="style .css " />
8
8
< link rel ="preconnect " href ="https://fonts.googleapis.com " />
9
9
< link rel ="preconnect " href ="https://fonts.gstatic.com " crossorigin />
10
10
< link
17
17
href ="https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;800&display=swap "
18
18
rel ="stylesheet "
19
19
/>
20
-
20
+ < link rel =" stylesheet " href =" styles.css " >
21
21
< title > Crypto Market</ title >
22
22
</ head >
23
23
< body >
45
45
<!-- Hero Section -->
46
46
< section aria-label ="hero ">
47
47
< div class ="hero ">
48
- < h1 class ="hero-heading "> Lets build a better tomorrow, together.</ h1 >
48
+ < h1 class ="hero-heading "> Lets build a better < span > tomorrow, together.</ span > </ h1 >
49
49
< p class ="hero-description ">
50
50
Buy 1 Token. Join the DAO. Change the world
51
51
</ p >
Original file line number Diff line number Diff line change
1
+ /* You can not modify anything in the HTML */
2
+ /* You can only modify the CSS file */
1
3
* {
2
4
margin : 0 ;
3
5
padding : 0 ;
9
11
body {
10
12
max-width : 1440px ;
11
13
background-color : # 000000 ;
12
- color : # ffffff ;
14
+ color : # ffffff ;
15
+
13
16
}
14
17
/* logo */
15
18
div img {
16
19
height : auto;
17
20
width : 100px ;
18
21
position : absolute;
19
- left : 50 px ;
20
- top : 30 px ;
22
+ left : 80 px ;
23
+ top : 20 px ;
21
24
}
22
25
/* navbar */
23
- .container {
26
+ nav {
27
+ height : 10vh ;
24
28
display : flex;
25
- align-items : center ;
26
- justify-content : space-between;
27
- margin : 32 px 48 px ;
29
+ gap : 20 px ;
30
+ align-items : flex-start;
31
+ justify-content : flex-start;
28
32
}
29
- .navbar {
30
- display : flex;
33
+ nav ul {
34
+ display : flex;
35
+ gap : 50px ;
36
+ padding-left : 200px ;
37
+ margin-top : 20px ;
31
38
}
32
- .grow-list {
33
- justify-content : center;
34
- align-items : space-between;
35
- padding : 20px 40px ;
36
- }
37
- .grow-list .list {
38
- display : flex;
39
- color : black;
40
- padding-left : 4px ;
41
- }
42
- .list-item {
43
- text-decoration : none;
44
- padding-left : 4px ;
39
+
40
+ /* navbar list */
41
+ nav ul li {
42
+ list-style-type : none;
43
+ padding-top : 5px ;
45
44
}
46
- .list li {
47
- text-decoration : none;
48
- color : # b7b5b5 ;
49
- align-items : start;
50
- padding : 10px 20px ;
45
+ nav ul li : first-child ::after {
46
+ content : " \0002C7" ;
47
+ /* transform: rotate(90deg); */
48
+ position : relative;
49
+ height : 20px ;
50
+ width : 10px ;
51
+ top : 5px ;
51
52
}
52
53
.line {
53
54
border : 1px solid # ffffff ;
54
55
position : relative;
55
- left : 20 px ;
56
+ left : 200 px ;
56
57
height : 50px ;
58
+ top : 10px ;
57
59
}
60
+
58
61
button {
59
- background-color : # aa258f ;
62
+ background-color : # b01aae ;
60
63
border-radius : 5px ;
61
- padding : 15 px 40 px ;
64
+ padding : 10 px 35 px ;
62
65
color : # ffffff ;
63
66
border : 0 ;
64
- cursor : pointer;
67
+ cursor : pointer;
68
+ margin-top : -15px ;
65
69
}
66
70
.button-small {
67
71
position : absolute;
@@ -78,7 +82,7 @@ button{
78
82
.hero {
79
83
height : 90vh ;
80
84
width : 100vw ;
81
- background-image : url (" images/background-image.png" );
85
+ background-image : url (' images/background-image.png' );
82
86
background-position : center;
83
87
background-size : 100% 100% ;
84
88
background-repeat : no-repeat;
@@ -90,28 +94,21 @@ button{
90
94
91
95
}
92
96
.hero-heading {
93
- margin-top : 70px ;
94
97
font-size : 65px ;
95
- height : 30vh ;
96
- width : 50vw ;
97
98
text-align : center;
98
- padding : 5px ;
99
- margin-bottom : 25px ;
99
+ }
100
+ .hero-heading span {
101
+ display : block;
102
+ font-size : 65px ;
103
+ text-align : center;
100
104
}
101
105
.hero-description {
102
- margin-top : 45px ;
103
106
font-size : 20px ;
104
- font-weight : 500 ;
105
- text-align : center;
106
- height : 30% ;
107
- position : relative;
108
- bottom : 10% ;
109
107
110
108
}
111
109
.button-large {
112
110
font-size : 30px ;
113
111
font-weight : 500 ;
114
- position : relative;
115
- bottom : 33% ;
116
- border-radius : 15px ;
112
+ border-radius : 12px ;
113
+ margin-top : 30px ;
117
114
}
You can’t perform that action at this time.
0 commit comments