lemmy/ui/assets/css/main.css

281 lines
4.0 KiB
CSS
Raw Normal View History

2019-08-20 21:40:51 +00:00
.navbar-toggler {
border: 0px;
}
.navbar-expand-lg .navbar-nav .nav-link {
padding-right: .75rem !important;
padding-left: .75rem !important;
}
.pointer {
cursor: pointer;
}
.no-click {
pointer-events:none;
opacity: 0.65;
}
.upvote:hover {
color: var(--info);
}
2019-08-17 19:46:32 +00:00
.upvote {
margin-bottom: -5px;
}
.downvote:hover {
color: var(--danger);
}
2019-08-17 19:46:32 +00:00
.downvote {
margin-top: -10px;
}
.md-div p {
overflow: hidden;
text-overflow: ellipsis;
}
2019-08-24 21:27:25 +00:00
.md-div p:last-child {
margin-bottom: 0px;
}
.md-div img {
max-height: 40vh;
max-width: 100%;
height: auto;
}
2020-01-19 14:20:10 +00:00
.md-div h1,
.md-div h2,
.md-div h3,
.md-div h4,
.md-div h5 {
font-size:1.171875rem;
}
.md-div table {
border-collapse: collapse;
width: 100%;
margin-bottom: 1rem;
border: 1px solid var(--dark);
}
.md-div table th,
.md-div table td {
padding: 0.3rem;
vertical-align: top;
border-top: 1px solid var(--dark);
border: 1px solid var(--dark);
}
.md-div table thead th {
vertical-align: bottom;
border-bottom: 2px solid var(--dark);
}
.md-div table tbody + tbody {
border-top: 2px solid var(--dark);
}
2019-08-18 02:31:32 +00:00
.vote-bar {
2019-08-29 04:57:38 +00:00
margin-top: -6.5px;
2019-08-18 02:31:32 +00:00
}
2019-08-18 04:41:55 +00:00
.post-title {
line-height: 1.0;
}
.icon {
display: inline-flex;
width: 1em;
height: 1em;
stroke-width: 0;
stroke: currentColor;
fill: currentColor;
vertical-align: middle;
align-self: center;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.icon-inline {
margin-bottom: 2px;
}
.spin {
animation: spins 2s linear infinite;
}
@keyframes spins {
0% { transform: rotate(0deg); }
100% { transform: rotate(359deg); }
}
.dropdown-menu {
z-index: 2000;
}
blockquote {
border-left: 2px solid var(--secondary);
margin: 0.5em 5px;
padding: 0.1em 5px;
}
2019-04-20 18:17:00 +00:00
.mouse-icon {
margin-top: -4px;
}
.new-comments {
max-height: 50vh;
overflow-x: hidden;
overflow-y: auto;
}
2019-04-24 17:26:15 +00:00
.thumbnail {
object-fit: cover;
min-height: 60px;
max-height: 80px;
width: 100%;
}
.thumbnail svg {
height: 1.25rem;
width: 1.25rem;
2019-04-24 17:26:15 +00:00
}
2019-04-26 15:53:45 +00:00
2019-04-26 16:11:04 +00:00
.no-s-hows {
2019-04-26 16:21:20 +00:00
position: absolute !important;
top: -9999px !important;
left: -9999px !important;
2019-04-26 15:53:45 +00:00
}
2019-08-29 19:06:08 +00:00
hr {
border-top: 1px solid var(--light);
2019-08-29 19:06:08 +00:00
}
2019-08-31 16:40:42 +00:00
.emoji {
2020-04-12 16:47:48 +00:00
max-height: 1.2em !important;
2019-08-31 16:40:42 +00:00
}
.text-wrap-truncate {
overflow: hidden;
text-overflow: ellipsis
}
2020-01-16 01:24:47 +00:00
#app {
display: flex;
flex-direction: column;
min-height: 100vh;
}
.fl-1 {
flex: 1;
}
2020-01-20 19:38:41 +00:00
.img-blur {
filter: blur(10px);
-webkit-filter: blur(10px);
-moz-filter: blur(10px);
-o-filter: blur(10px);
-ms-filter: blur(10px);
}
2020-02-07 03:24:23 +00:00
.img-expanded {
max-height: 90vh;
}
.btn-animate:active {
transform: scale(1.2);
-webkit-transform: scale(1.2);
-ms-transform: scale(1.2);
}
.selectr-selected, .selectr-options-container {
background-color: var(--secondary);
color: var(--white);
border: unset;
}
2020-02-21 16:26:42 +00:00
.mini-overlay {
position: absolute;
top: 0;
right: 0;
padding: 2px;
2020-02-29 22:16:42 +00:00
height: 1.5em;
width: 1.5em;
background: rgba(0,0,0,.4);
border-bottom-left-radius: 0.25rem !important;
border-top-right-radius: 0.25rem !important;
}
.link-overlay:hover {
transition: .1s;
opacity: 1;
}
.link-overlay {
transition: opacity .1s ease-in-out;
position: absolute;
opacity: 0;
left: 0;
height: 100%;
width: 100%;
padding: 10px;
background: rgba(0,0,0,.6);
}
.placeholder {
height: 50px;
width: 50px;
}
.unselectable {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.list-inline-item-action {
display: inline-block;
}
.list-inline-item-action:not(:last-child) {
margin-right: 1.2rem;
}
2020-03-08 05:45:59 +00:00
pre {
white-space: pre-wrap;
word-break: keep-all;
}
.form-control.search-input {
float: right !important;
transition: width 0.2s ease-out 0s !important;
}
.show-input {
width: 13em !important;
}
.hide-input {
background: transparent !important;
width: 0px !important;
padding: 0 !important;
}
br.big {
display: block;
content: "";
margin-top: 1rem;
}