Skip to content

Commit

Permalink
create base template
Browse files Browse the repository at this point in the history
  • Loading branch information
sinakhaghani committed Dec 18, 2022
1 parent 2a47ac9 commit 9f8ea65
Show file tree
Hide file tree
Showing 10 changed files with 8,574 additions and 0 deletions.
7 changes: 7 additions & 0 deletions css/bootstrap.min.css

Large diffs are not rendered by default.

91 changes: 91 additions & 0 deletions css/sidebar.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
body {
font-family: "Lato", sans-serif;
}

.sidebar {
height: 100%;
width: 0;
position: fixed;
z-index: 1;
top: 0;
left: 0;
background-color: #111;
overflow-x: hidden;
transition: 0.5s;
padding-top: 60px;
}

.sidebar a {
padding: 8px 8px 8px 32px;
text-decoration: none;
font-size: 25px;
color: #818181;
display: block;
transition: 0.3s;
}

.sidebar a:hover {
color: #f1f1f1;
}

.sidebar .closebtn {
position: absolute;
top: 0;
right: 25px;
font-size: 36px;
margin-left: 50px;
}

.openbtn {
font-size: 20px;
cursor: pointer;
background-color: #111;
color: white;
padding: 10px 15px;
border: none;
}

.openbtn:hover {
background-color: #444;
}

#main {
transition: margin-left .5s;
padding: 16px;
}

/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
.sidebar {padding-top: 15px;}
.sidebar a {font-size: 18px;}
}














.sidebar li .submenu{
list-style: none;
margin: 0;
padding: 0;
padding-left: 1rem;
padding-right: 1rem;
text-decoration: none;
}

.sidebar .nav-link {
font-weight: 500;
color: var(--bs-dark);
}
.sidebar .nav-link:hover {
color: var(--bs-primary);
}
Loading

0 comments on commit 9f8ea65

Please sign in to comment.