-
Notifications
You must be signed in to change notification settings - Fork 0
/
notification.css
83 lines (72 loc) · 1.41 KB
/
notification.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
/* css related to notification.html, currently only for top section with navbar */
/* header css starts here */
.feed header {
border-bottom: 2px solid #eee;
}
/* header css ends here */
/* header top section css begins here */
.top-section {
display: flex;
margin-inline: 1rem;
margin-block-start: 1rem;
}
.top-section span {
font-weight: bold;
}
.top-section i {
margin-left: auto;
opacity: 0.7;
cursor: pointer;
position: relative;
}
.top-section i::after {
content: "";
position: absolute;
background-color: black;
height: 1.8rem;
width: 1.8rem;
opacity: 0;
border-radius: 50%;
top: -0.4rem;
left: -0.4rem;
}
.top-section i:hover::after {
opacity: 0.3;
}
/* header top section css ends here */
/* header navbar css starts here */
nav {
width: 100%;
/* font-size: 0.8rem; */
display: flex;
justify-content: stretch;
align-items: stretch;
}
nav a {
position: relative;
flex: 1;
padding: 1em;
cursor: pointer;
text-align: center;
text-decoration: none;
font-weight: bold;
color: rgba(90, 90, 90, 0.719);
transition: background-color 100ms linear;
}
nav a:hover {
background-color: rgba(154, 189, 209, 0.1);
}
nav a.active {
color: black;
}
nav a.active::after {
content: "";
position: absolute;
width: 20%;
height: 0.3em;
background-color: var(--twitter-color);
bottom: 0;
left: 40%;
border-radius: 15px;
}
/* header navbar css ends here */