-
Notifications
You must be signed in to change notification settings - Fork 3
/
styles.css
128 lines (108 loc) · 1.94 KB
/
styles.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
@import url('https://fonts.googleapis.com/css2?family=Rubik&display=swap');
:root{
--background: #0C0B0B;
--primary: #0F0E0E;
--font-color: #B7B7B7;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
background-color: var(--background);
font-family: 'Rubik', sans-serif;
}
.container{
background-color: var(--primary);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
margin: 5em auto;
width: 100%;
height: 80%;
color: var(--font-color);
}
.profile{
display: flex;
flex-direction: column;
text-align: center;
width: 90%;
margin-bottom: 2em;
}
.info img{
border-radius: 50%;
height: 5em;
width: 5em;
}
.user h1{
font-size: 2em;
}
.user p{
font-size: 1.5em;
}
.profile .edit {
text-align: center;
display: flex;
justify-content: center;
align-self: center;
font-size: 1.2em;
margin-top: 0.6em;
background-color: #1B1B1B;
padding: 0.7em;
border-radius: 8px;
}
.insights{
width: 100%;
display: flex;
flex-direction: column;
}
.insights div{
width: 90%;
height: 6em;
margin: 0 auto 1em;
border-radius: 8px;
display: flex;
flex-direction: column;
justify-content: center;
padding: 2em;
font-size: 1.2em;
}
.insights div h1{
font-size: 2.5em;
}
.projects{
background-color: #046313;
}
.stars{
background-color: #044A7D;
}
.followers{
background-color: #725200;
}
@media screen and (min-width:1120px){
.container{
width: 60%;
padding: 1em;
}
.profile{
flex-direction: row;
justify-content: space-between;
margin-top: 2em;
}
.profile .info{
display: flex;
text-align: left;
}
.info img{
margin-right: 1em;
}
.insights{
flex-direction: row;
padding: 2em;
}
.insights div{
margin: 1em;
}
}