78 lines
1.2 KiB
CSS
78 lines
1.2 KiB
CSS
|
/* Somewhat riffing off of Pleroma-FE’s generated CSS.
|
|||
|
Using the colors of Tirifto’s Malvo theme. */
|
|||
|
body {
|
|||
|
font-family: sans-serif;
|
|||
|
font-size: 14px;
|
|||
|
}
|
|||
|
|
|||
|
|
|||
|
.panel {
|
|||
|
overflow: hidden;
|
|||
|
border-radius: 3px;
|
|||
|
padding: 0;
|
|||
|
max-width: 1000px;
|
|||
|
margin: auto;
|
|||
|
}
|
|||
|
|
|||
|
|
|||
|
img {
|
|||
|
bottom: 0;
|
|||
|
display: table-cell;
|
|||
|
vertical-align: bottom;
|
|||
|
}
|
|||
|
|
|||
|
|
|||
|
h1 {
|
|||
|
text-align: center;
|
|||
|
}
|
|||
|
|
|||
|
|
|||
|
header {
|
|||
|
border-radius: 3px 3px 0 0;
|
|||
|
margin: 0;
|
|||
|
background: transparent;
|
|||
|
background-color: #E2C2F2;
|
|||
|
box-shadow: 0px 0px 0px 1px rgba(98, 14, 140, 1) ,
|
|||
|
1px 1px 0px 0px rgba(255, 255, 255, 0.3) inset,
|
|||
|
-1px -1px 0px 0px rgba(0, 0, 0, 0.3) inset;
|
|||
|
padding: .5em;
|
|||
|
text-align: left;
|
|||
|
font-size: 1.3em;
|
|||
|
}
|
|||
|
|
|||
|
|
|||
|
.panel:after {
|
|||
|
bottom: 0;
|
|||
|
box-shadow: 1px 1px 4px rgba(0, 0, 0, .6);
|
|||
|
box-shadow: 0px 0px 0px 1px rgba(98, 14, 140, 1) , 1px 1px 3px 1px rgba(0, 0, 0, 0.5);
|
|||
|
content: "";
|
|||
|
left: 0;
|
|||
|
pointer-events: none;
|
|||
|
position: absolute;
|
|||
|
right: 0;
|
|||
|
top: 0;
|
|||
|
z-index: 5;
|
|||
|
}
|
|||
|
|
|||
|
|
|||
|
.panel-body p {
|
|||
|
padding-left: 20px;
|
|||
|
padding-right: 20px;
|
|||
|
}
|
|||
|
|
|||
|
|
|||
|
.panel-body:empty:before {
|
|||
|
content: "¯\\_(ツ)_/¯";
|
|||
|
display: block;
|
|||
|
margin: 1em;
|
|||
|
text-align: center;
|
|||
|
}
|
|||
|
|
|||
|
|
|||
|
.panel-body>p {
|
|||
|
line-height: 1.3;
|
|||
|
margin: 0;
|
|||
|
padding: .5em;
|
|||
|
text-align: center;
|
|||
|
}
|