ali.xwx.moe/x_x/style.css

78 lines
1.2 KiB
CSS
Raw Normal View History

2024-07-17 18:44:33 -05:00
/* Somewhat riffing off of Pleroma-FEs generated CSS.
Using the colors of Tiriftos 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;
}