frenzy/assets/css/frenzy.scss

147 lines
1.9 KiB
SCSS
Raw Permalink Normal View History

2019-04-01 15:36:52 +00:00
.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
2019-11-10 16:53:27 +00:00
body {
overflow-y: scroll;
}
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;
}
2019-11-10 16:53:27 +00:00
.sidebar summary a {
display: inline-block;
width: 90%;
}
.item-controls a {
vertical-align: middle;
}
.item-controls form {
display: inline-block;
}
2019-11-10 19:37:06 +00:00
.favicon {
height: 1em;
vertical-align: baseline;
}
.feed-nav-item .favicon,
.feed-nav-item .nav-link {
display: inline-block;
}
2020-07-18 14:13:25 +00:00
.post-content img {
max-width: 100%;
}