frenzy/priv/static/css/app.css

146 lines
1.9 KiB
CSS

/* This file is for your main application css. */
.item-read a {
color: #606c76;
}
blockquote {
padding-left: 2rem;
border-left: 4px solid lightgray;
}
body {
overflow-y: scroll;
}
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;
}
.sidebar summary a {
display: inline-block;
width: 90%;
}
.item-controls a {
vertical-align: middle;
}
.item-controls form {
display: inline-block;
}
.favicon {
height: 1em;
vertical-align: baseline;
}
.feed-nav-item .favicon,
.feed-nav-item .nav-link {
display: inline-block;
}