forked from Astha1404/charvi
-
Notifications
You must be signed in to change notification settings - Fork 1
/
reference.css
109 lines (97 loc) · 1.65 KB
/
reference.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
*{
margin: 0;
padding: 0;
box-sizing:border-box;
text-decoration: none;
font-family: poppins;
}
body{
min-height: 100vh;
width:100%
}
div.sidebar
{
position: fixed;
height:100%;
width:100px;
background-color:steelblue;
transition: all 0.5s ease;
}
.sidebar .active
{
width:50px;
}
}
.sidebar ul.nav-links
{
margin-top: 15px;
}
.sidebar .nav-links li
{
height: 35px;
width: 240px;
list-style: none;
}
.sidebar .nav-links li a
{
/* background-color:red;*/
height: 40px;
width: 100px;
display:flex;
align-items: center;
text-decoration: none;
/*transition:all 0.4s ease;*/
}
.sidebar .nav-links li a:hover
{
background-color:mediumblue ;
}
.sidebar .nav-links li a i
{
/* background-color:yellowgreen;*/
min-width: 50px;
text-align: center;
color: white;
font-size: 18px;
margin-right:10px
}
.sidebar .nav-links li a .link_name
{ margin-left: 5px;
color:white;
font-size: 16px;
font-weight: 400;
white-space: nowrap;
}
/*************/
.home-section
{
background:whitesmoke ;
position: relative;
height:100%;
min-height: 100vh;
width:calc(100%-100px);
left: 100px;
transition: all 0.5s ease;
}
.sidebar.active ~ .home-section{
width:calc(100% -100px);
left:6px;
}
.home-section nav{
height:80px ;
background-color:white ;
padding: 0 20px;
display: flex;
align-items:center ;
}
.home-section nav .sidebar-button{
display: flex;
align-items: center;
font-size: 20px;
font-weight: 500;
}
.home-section nav .sidebar-button i
{
font-size: 34px;
margin-right: 10px;
}