-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpr1.css
More file actions
90 lines (85 loc) · 2.03 KB
/
pr1.css
File metadata and controls
90 lines (85 loc) · 2.03 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
*{ margin:0;
padding:0; font-family: "Roboto", sans-serif;
}
.main_box{
background-image: url("photo.jpg");
height:100vh;
background-size: cover;
}
.btn_one{
color: aliceblue;
font-size:30px;
font-weight:bold;
position: absolute;
left:16px;
line-height: 60px;cursor: pointer;
}
.sidebar_menu{
position: fixed;
left:-300px;
height:100vh;
width:250px;
background-color:rgba(255, 255, 255,0.1);
box-shadow: 2px 2px 8px rgba(255, 255, 255,0.1);
}
.sidebar_menu .logo{
position: absolute;
width: 100%;
line-height: 60px;
box-shadow: 0px 2px 8px rgba(255, 255, 255,0.1);
}.sidebar_menu .logo a{
position: absolute;left:50px;
color: aliceblue;
text-decoration: none;
font-size: 20px;
font-weight: 500;
}.sidebar_menu .menu{
position: absolute;
width: 100%;
top:80px;
}.sidebar_menu .btn_two i{
color:gray;font-size:20px;line-height: 60px;
position: absolute;
left:229px;
top:-19px;
opacity: 0;
cursor: pointer;}
.sidebar_menu .menu li{
margin-top:6px;
padding: 14px 20px;
} .sidebar_menu .menu i,a{
text-decoration: none;
color: white;
font-size: 20px;
} .sidebar_menu .menu i{
padding-right: 20px;
}.sidebar_menu .social_media{
color:white;
opacity: 0.6;
position:absolute;
left:19%;
opacity:0.5;
bottom:40px;
}.sidebar_menu .social_media i{
color:white;
opacity: 0.5;
padding: 0px 8px;
}#check{
display: none;
} .sidebar_menu .menu li:hover{
box-shadow: 2px 2px 10px rgba(255, 255, 255,0.1);
} .btn_two i:hover{
font-size: 25px;
} .btn_one i:hover{
font-size: 32px;
}.social_media i:hover{
transform: scale(1.2);
opacity:1;
box-shadow: 0px 2px 4px grey;
}#check:checked ~ .sidebar_menu{
left:0px;
}#check:checked ~ .btn_one i{
opacity: 0;
}#check:checked ~ .sidebar_menu .btn_two i{
opacity: 1;
}