-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
128 lines (110 loc) · 2.38 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
117
118
119
120
121
122
123
124
125
126
127
128
@charset "UTF-8";
* {
box-sizing: border-box;
margin: 0;
padding: 0;
font-family: 'Monospaced', "Courier New" ;
}
.navbar{
background: slateblue;
height: 80px;
display: flex;
justify-content: center;
align-items: center;
font-size: 1.2rem;
position: sticky;
top: 0;
}
.navbar__container{
display: flex;
justify-content: space-between;
height: 80px;
z-index: 1;
width: 100%;
max-width: 1300px;
margin: 0 auto;
padding: 0 50px;
}
#navbar__logo{
background-color: darkgray;
background-image: linear-gradient(to top, #ff0844 0%, #ffb199 100%);
background-size: 100%;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
display:flex;
align-items: center;
cursor: pointer;
text-decoration: none;
font-size: 2rem;
}
.fa-gem{
margin-right: 0.5rem;
}
.navbar__menu{
display: flex;
align-items:center;
list-style: none;
text-align: center;
}
.navbar__item{
height: 80px;
}
.navbar__links{
color: #fff;
display: flex;
align-items: center;
justify-content: center;
text-decoration: none;
padding: 0 1rem;
height: 100%
}
.navbar__links:hover{
color: #f77062;
transition: all 0.3s ease;
}
.main{
background-color: rgb(128, 128, 128);
}
.main__container{
display: grid;
grid-template-columns: 1fr 1fr;
align-items: center;
justify-self: center;
margin: auto;
height: 100vh;
background-color: rgb(128, 128, 128);
z-index: 1;
width: 100%;
max-width: 1300px;
padding: 0 50px;
}
.main__content h1 {
font-size: 4rem;
background-color: rgb(128, 128, 128);
background-image: linear-gradient(to top, #3F3D56 5%, #827ECA 100%);
background-size: 100%;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
#main_img{
height: 80%;
width: 80%;
}
@media screen and (max-width: 768px){
.main__container{
display: grid;
grid-template-columns: auto;
}
.main__content{
text-align: center;
margin-bottom: 4rem;
}
.main__content h1{
font-size: 2.5rem;
margin-top: 2rem;
}
.main__content p{
margin-top: 2rem;
font-size: 1.5rem;
}
}