-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
135 lines (130 loc) · 2.68 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
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
*{
margin: 0;
padding: 0;
font-family: "Poppins", sans-serif;
font-weight: 500;
font-style: italic;
}
.main_box{
background-image: url(photo.jpg);
height: 100vh;
background-size: cover;
}
/* .btn_one{
color: rgb(240, 237, 237);
font-size: 30px;
font-weight: 700;
position: absolute;
/* relative to the Documents */
/* line-height: 60px;
left: 16px;
} */
.btn_one i{
color: rgb(240, 237, 237);
font-size: 20px;
font-weight: 600;
position: absolute;
/* relative to the Documents */
left:1px;
line-height: 60px;
cursor: pointer;
transition: all 0.3s linear;
}
.sidebar_menu{
position: fixed;
left: -300px;
height: 100vh;
width: 250px;
background-color: rgba(255,255,255,0.1);
box-shadow: 0 0 6px rgba(255,255,255,0.3);
transition: all 0.3s linear;
}
.sidebar_menu .logo{
position: absolute;
width: 100%;
line-height:60px ;
height: 50px;
box-shadow: 0 2px 4px rgba(255,255,255,0.2);
}
.sidebar_menu .logo a {
position: absolute;
left: 43px;
color: white;
text-decoration: none;
font-weight: 700;
}
/* .sidebar_menu .btn_two{
color: gray;
font-size: 20px;
line-height: 60px;
position: absolute;
left: 220px;
opacity: 0;
} */
.sidebar_menu .btn_two i {
color: gray;
font-size: 20px;
line-height: 60px;
position: absolute;
left: 220px;
opacity: 0;
cursor: pointer;
transition: all 0.3s linear;
}
.sidebar_menu .menu {
/* color:white; */
position: absolute;
width: 100%;
top:50px;
}
.sidebar_menu .menu li {
margin-top: 2px;
padding: 8px 20px ;
}
.sidebar_menu .menu i,a{
color: white;
text-decoration: none;
font-size: 14px;
}
.sidebar_menu .menu i{
padding-right:5px;
}
.sidebar_menu .social_media{
opacity: 0.6;
position: absolute;
/* relative to the parent */
left: 20%;
bottom: 50px;
font-size: 40px;
}
.sidebar_menu .social_media i{
color: white;
opacity: 0.9;
padding: 0 5px;
}
#check{
display:none;
/* space reserved also removed from the window and all the items pushed toward upward */
}
.sidebar_menu .menu li:hover{
box-shadow: 0 0 4px rgba(255,255,255,0.2);
}
.btn_one i:hover{
font-size: 30px;
}
.btn_two i:hover{
font-size: 20px;
}
.sidebar_menu .social_media i:hover{
opacity: 1;
transform: scale(1.3);
}
#check:checked ~ .sidebar_menu{
left:0;
}
#check:checked ~ .btn_one i{
opacity: 0;
}
#check:checked ~ .sidebar_menu .btn_two i{
opacity: 1;
}