mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-08-30 14:52:51 +08:00
32 lines
536 B
CSS
32 lines
536 B
CSS
body {
|
|
background-color: lightblue;
|
|
}
|
|
|
|
h1 {
|
|
color: navy;
|
|
margin-left: 20px;
|
|
}
|
|
ul {
|
|
list-style-type: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
width: 12%;
|
|
background-color: #f1f1f1;
|
|
height: 100%; /* Full height */
|
|
position: fixed; /* Make it stick, even on scroll */
|
|
overflow: auto; /* Enable scrolling if the sidenav has too much content */
|
|
}
|
|
|
|
li a {
|
|
display: block;
|
|
color: #000;
|
|
padding: 8px 16px;
|
|
text-decoration: none;
|
|
}
|
|
|
|
/* Change the link color on hover */
|
|
li a:hover {
|
|
background-color: #555;
|
|
color: white;
|
|
}
|