-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.css
108 lines (97 loc) · 1.6 KB
/
index.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
body {
box-sizing: border-box;
margin :0;
padding: 0;
font-family :'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background-color: #f7f7f7;
}
.heading-wrapper {
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
gap: 10px;
width: auto;
margin: 0 auto;
height : auto;
padding: 20px 10px;
background-color: #20232a;
}
.logo-wrapper {
max-width: 400px;
display: flex;
align-items: center;
justify-content: space-between;
}
img {
height : 40px;
width : 40px;
padding : 10px;
}
.logo-name {
font-size : 18px;
color: #61dafb;
letter-spacing: 1px;
}
.search {
max-width: 400px;
}
input{
height: 25px;
width: 300px;
appearance: none;
border: 0px inset rgba(0, 0, 0, 0.4);
border-radius: 7px;
outline: none;
}
/* User icon */
.avatar{
overflow:hidden;
}
.user-icon{
font-size:6px;
float:left; margin:1em;
border-radius:4em;
border:1px solid skyblue;
height:6em;
width:6em;
background:none;padding:0.1em;
}
.user-icon::before{
content:" ";
display:block;
height:2em;
width:2em;
background:skyblue;
position:relative;
left:2em;
top:0.8em;
border-radius:2em;
}
.user-icon::after{
content:" ";
display:block;
height:2em;
width:4em;
background:skyblue;
position:relative;
left:1em;
top:1em;
border-radius:2em 2em 0 0;
}
/*Assignment 1 */
.title {
color : #343a40;
border : skyblue 1px solid;
}
.title a {
color : #343a40;
}
/* Responsive layout */
@media (max-width: 800px) {
.heading-wrapper {
flex-direction: column;
width : auto;
height : auto;
}
}