forked from ojugo007/github-user-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
156 lines (146 loc) · 2.91 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
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
@import url('https://fonts.googleapis.com/css2?family=Playwrite+CU:wght@100..400&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
body{
padding: 0;
margin: 0;
box-sizing: border-box;
font-family: "Roboto", sans-serif;
width: 100vw;
height:100vh;
}
nav{
max-width: 100%;
min-height: 70px;
padding: 20px 30px;
display: flex;
align-items: center;
justify-content: space-between;
background-color: #000;
color: #fff;
}
nav ul{
list-style: none;
font-family: "Playwrite CU", cursive;
}
header{
max-width: 100%;
min-height: calc(85vh - 90px);
background: rgb(2,0,36);
background: linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(162,15,172,0.9668242296918768) 35%, rgba(231,162,242,1) 100%);
display: flex;
align-items: center;
justify-content:center;
padding: 80px 50px 0;
}
.header-image{
flex-basis: 40%;
}
.header-image img{
width: 100%;
height: 100%;
display: block;
}
.header-text{
flex-basis: 60%;
}
h1{
font-size: 85px;
font-weight: 700;
text-transform: capitalize;
color: #fff;
margin: 0;
}
.header-text p{
font-size: 20px;
font-weight: 400;
color: #fff;
padding: 20px 0 10px;
}
input{
width: 300px;
padding: 10px;
border: none;
border-radius: 5px;
font-family: "Roboto", sans-serif;
font-size: 16px;
color: grey;
}
input:focus{
outline: 0;
}
button{
font-family: "Roboto", sans-serif;
font-size: 16px;
border: none;
color: white;
background-color: #000;
padding: 10px 20px;
width: 150px;
border-radius: 5px;
margin-left: 20px;
}
section{
max-width: 100%;
min-height: calc(85vh - 90px);
background: rgb(2,0,36);
background: linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(162,15,172,0.9668242296918768) 35%, rgba(231,162,242,1) 100%);
padding: 80px 100px 0;
}
section h1{
font-size: 40px;
font-weight: 200;
padding-bottom: 30px;
}
section>div{
display: flex;
flex-direction: row-reverse;
justify-content: space-between;
align-items: center;
}
a{
text-decoration: none;
font-size: 16px;
font-weight: 200;
text-transform: uppercase;
padding: 10px 30px;
}
.btn-git{
color: #fff;
background-color:#000;
margin-left: 35px;
}
.btn{
background-color: #fff;
color:#000;
}
.btn-contact{
color: #fff;
}
section h2{
font-size: 38px;
font-weight: 400;
text-transform: capitalize;
color: #fff;
margin-bottom: 10px;
}
section p{
color: #fff;
font-size: 20px;
font-weight: 100;
padding-bottom: 25px;
width: 75%;
}
section small{
color: #fff;
font-size: 12px;
font-weight: 100;
}
section .avatar-wrapper{
width: 50%;
height: 400px;
overflow: hidden;
border-radius: 8px;
}
section .avatar-wrapper img{
width: 100%;
height: 100%;
}