-
Notifications
You must be signed in to change notification settings - Fork 0
/
fas.css.php
152 lines (137 loc) · 4.08 KB
/
fas.css.php
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
146
147
148
149
150
151
152
<style type="text/css">
*{
box-sizing: border-box;
}
:root{
--btn-width-100: 100px;
}
body{
margin: 0;
padding: 0;
}
nav{
margin: 0;
padding: 0;
}
nav ul {
margin: 0;
padding: 8px 15px;
list-style: none;
display: flex;
box-shadow: 0 1px 8px rgba(0,0,0,0.3);
}
nav ul li {
padding: 3px;
}
nav ul li a{
display: inline-block;
text-decoration: none;
}
nav ul li #fb{
background: #0B84ED;
color: #fff;
width: 40px;
height: 40px;
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
font-size: 2rem;
}
nav ul li #search_btn{
border: none;
outline: none;
background: rgba(0, 0, 0, 0.068);
padding: 8px;
color: #888;
width: 40px;
height: 40px;
font-size: 1rem;
border-radius: 50%;
cursor: pointer;
}
nav ul li#space1{
flex: 1;
}
nav ul li#space2{
flex: 2;
}
nav ul li a{
height: 40px;
width: var(--btn-width-100);
font-size: 1.5rem;
display: flex;
justify-content: center;
align-items: center;
color: rgb(158, 158, 158);
transition: .5s;
}
nav ul li #btn_plus,
nav ul li #btn_msg,
nav ul li #btn_bell,
nav ul li #btn_profile{
height: 40px;
width: 40px;
display: flex;
justify-content: center;
align-items: center;
font-size: 1rem;
color: #444;
background: rgba(0, 0, 0, 0.068);
border: none;
outline: none;
border-radius: 50%;
cursor: pointer;
}
nav ul li:hover #home,
nav ul li:hover #group,
nav ul li:hover #tv,
nav ul li:hover #friend{
background: rgba(0, 0, 0, 0.138);
color: #444;
border-radius: 5px;
}
.active{
color: #0B84ED!important;
}
.tooltip{
position: relative;
}
.tooltip::after{
content: attr(data-tooltip);
height: 30px;
background: rgba(0,0,0,0.4);
color: #fff;
font-size: 1rem;
text-align: center;
position: absolute;
bottom: -150%;
padding: 5px 12px;
line-height: 30px;
border-radius: 3px;
opacity: 0;
transition: .3s;
pointer-events: none;
user-select: none;
}
.tooltip:hover::after{
opacity: 1;
}
nav ul li #btn_profile::after{
margin-left: -20px;
}
@media screen and (max-width: 700px){
nav ul li#space1,
nav ul li#space2{
display: none;
}
nav ul{
min-width: 600px;
padding: 8px 12px;
justify-content: space-between;
}
:root{
--btn-width-100: 60px;
}
}
</style>