-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
145 lines (139 loc) · 2.6 KB
/
style.css
File metadata and controls
145 lines (139 loc) · 2.6 KB
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
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;800&display=swap');
*{
margin: 0;
padding: 0;
}
body{
font-family: 'Plus Jakarta Sans', sans-serif;
background: hsl(210, 60%, 98%);
font-size: 16px;
color: hsl(219, 12%, 42%);
}
.container{
max-height: 860px;
margin:80px auto;
}
.wrapper{
background-color: hsl(0, 0%, 100%);
padding: 40px 30px 0px;
margin: 30px;
border-radius: 15px;
box-shadow: 0px 0px 26px -13px rgba(0,0,0,.32);
}
.top-bar{
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 30px;
}
.title{
display: flex;
align-items: center;
}
p.title-text{
color: hsl(224, 21%, 14%);
font-size:28px;
font-weight:800;
}
p.num{
color: #fff;
background-color: hsl(219, 85%, 26%);
padding: 3px 12px;
border-radius: 5px;
font-weight: 800;
margin-left: 5px
}
a.read{
text-decoration: none;
color: hsl(219, 14%, 63%);
font-size: 18px;
}
.single-box{
padding: 17px;
margin: 12px 0;
display: flex;
align-items: center;
}
.single-box.unseen{
background-color: hsl(210, 60%, 98%);
border-radius: 10px;
}
.avatar img{
width: 50px;
margin-right: 15px;
}
a{
text-decoration: none;
}
a.name{
color:hsl(224, 21%, 14%);
font-weight: 800;
}
a.post{
color: hsl(219, 12%, 42%);
font-weight: 800;
}
a.group{
font-weight: 800;
}
a.name:hover,
a.post:hover,
a.group:hover,
a.read:hover{
color:hsl(219, 85%, 26%);
}
span.dot{
display: inline-block;
background-color: hsl(1, 90%, 64%);
height: 9px;
width: 9px;
border-radius: 50%;
margin-left: 7px;
}
.message{
border: 2px solid hsl(205, 33%, 90%);
padding: 12px;
font-size: 18px;
margin-top: 13px;
border-radius: 5px;
}
.with-message{
align-items: flex-start;
}
.left{
display: flex;
align-items: center ;
}
.single-box.comment{
justify-content: space-between;
}
.right-img img{
width: 50px;
}
@media only screen and(max-width:600px){
body{
font-size:14px;
line-height: 1.4;
}
.container{
margin: 20px auto;
}
.wrapper{
margin: 10px;
padding: 25px 15px 0px;
}
p.title-text{
font-size: 20px;
}
p.num{
padding: 1px 10px;
margin-left: 5px;
}
p.read{
font-style: 15px;
}
.message p{
font-size: 14px;
padding: 9px;
}
}