frenzy/priv/static/css/app.css

118 lines
1.6 KiB
CSS
Raw Normal View History

2019-04-01 15:36:52 +00:00
/* This file is for your main application css. */
.item-read a {
color: #606c76;
2019-10-31 19:30:47 +00:00
}
blockquote {
padding-left: 2rem;
border-left: 4px solid lightgray;
}
2019-11-09 18:21:45 +00:00
label.sidebar-toggle:hover {
cursor: pointer;
}
label.sidebar-toggle > .oi {
font-size: 1.5rem;
line-height: 2.5rem;
color: #555;
}
.main > .container {
position: relative;
}
.main > .container > label.sidebar-toggle {
position: absolute;
right: 100%;
}
.sidebar-container {
visibility: hidden;
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
background: rgba(0, 0, 0, 0);
transition: all 0.35s ease-in-out;
}
#show-sidebar:checked + .sidebar-container {
visibility: visible;
background: rgba(0, 0, 0, 0.35);
}
.sidebar-background {
height: 100vh;
padding: 0;
}
.sidebar-background > label {
width: 100%;
height: 100%;
margin: 0;
}
.sidebar {
position: absolute;
left: -100%;
height: 100vh;
z-index: 100;
overflow-y: auto;
background: #eee;
transition: left 0.35s ease-in-out;
}
#show-sidebar:checked + .sidebar-container .sidebar {
left: 0;
}
.sidebar label.sidebar-toggle {
position: absolute;
right: 15px;
}
.sidebar-nav {
height: 100%;
}
.sidebar .nav-item a {
font-weight: 500;
color: #333;
}
.sidebar .nav-item a:hover {
text-decoration: none;
color: var(--blue);
}
.sidebar .nav-link.active {
color: var(--blue);
}
.sidebar .nav-item details summary a:hover {
text-decoration: none;
}
.sidebar .nav-item .nav .nav-item {
margin-left: 1rem;
}
.sidebar-title {
margin: 0;
}
.sidebar-title a {
padding: 0.25rem 1rem;
font-weight: 500;
color: #333;
}
.sidebar-title a:hover {
color: #333;
text-decoration: none;
}