-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
104 lines (92 loc) · 2.04 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
body {
display: flex;
justify-content: center;
align-items: center;
background-image: url("./github.jpg");
background-position: center;
background-repeat: no-repeat;
background-size: cover;
height: 100vh;
}
.fluid-container {
display: grid;
grid-template-columns: repeat(6, minmax(0, 1fr));
grid-template-rows: repeat(1, minmax(0, 1fr));
/* spacing between the form and the result*/
gap: 20px;
background: #e2e2e2;
margin: 0 7rem;
min-height: 25rem;
border-radius: 5px;
padding: 2rem;
opacity: 0.94;
}
.search {
grid-column: span 2 / span 2;
height: 100px;
padding: 10px 40px;
}
.search-inner-container {
/* inner search container*/
background: white;
border-width: 2px;
border-color: grey;
border-radius: 10px;
padding: 30px 10px;
text-align: center;
width: fit-content;
}
.search-in {
/* search input*/
width: 100%;
}
.btn {
/* submit button*/
padding: 10px 20px;
width: 100%;
margin-top: 70px;
background-color: grey;
outline: none;
border-radius: 15px 30px 5px 20px;
border: 2px dashed darkred;
color: white;
transition: all 1s;
cursor: pointer;
}
.btn:hover {
/* submit button on hover*/
background-color: lightgoldenrodyellow;
color: black;
outline: none;
border-radius: 5px 20px 15px 30px;
}
.avatar{
height: 150px;
width: 150px;
}
.result {
/* results column gets 4 out of 6 grid parts*/
grid-column: span 4 / span 4;
height: 100px;
padding: 10px 40px;
}
.result-inner {
background: white;
border-width: 2px;
border-color: grey;
border-radius: 10px;
padding: 30px 10px;
/* column flex direction for avatar and info*/
display: flex;
flex-direction: column;
min-height: 8rem;
}
.user-info {
/* user text info column direction*/
display: flex;
flex-direction: row;
justify-content: space-between;
}
.user-information {
padding-right: 8%;
}