yequari.com/static/css/custom.css

215 lines
3.8 KiB
CSS

:root {
--avatar-width: 50px;
--avatar-padding: calc(var(--avatar-width) / 10);
}
#avatar-frame {
width: fit-content;
max-height: var(--avatar-width);
margin: 0.5vh 0;
padding: var(--avatar-padding);
border: 1px solid #cccccf;
border-radius: 15%/23%;
position: relative;
}
#avatar-frame img {
max-width: var(--avatar-width);
border: 1px solid grey;
border-radius: 5px;
}
.online {
background: linear-gradient(#D6FFDB00 0%, #D6FFDB 30%, #66FF00 100%);
box-shadow: 0 5px 10px #66FF00;
}
.busy {
background: linear-gradient(#FF9A0000 0%, #D8820055 30%, #fca30d 100%);
box-shadow: 0 5px 10px #fca30d;
}
.gloss {
width: 100%;
height: 100%;
/* background: red; */
background: radial-gradient(ellipse 200% 120% at 50% 0%, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0.25) 50%,
rgba(255,255,255,0) 51%);
position: absolute;
top: 0;
left: 0;
z-index: 10;
border-radius: 15%/23%;
pointer-events: none;
}
.index-wrapper {
display: grid;
grid-template-columns: repeat(10, 10% [col-start]);
grid-template-rows: repeat(6, 33% [row-start]);
}
.box {
/* border: 1px dotted black; */
padding: 2vh;
font-size: 1.1rem;
}
li.note-item {
display: flex;
justify-content: space-between;
}
.index-content {
grid-row: 1 / 2;
grid-column: 1 / span 6;
}
.index-social {
grid-row: 2 / 3;
grid-column: 9 / span 2;
}
.index-blog {
grid-row: 2 / 3;
grid-column: 5 / span 4;
}
.index-banners {
grid-row: 3 / 4;
grid-column: 1 / span 5;
}
.index-recent {
grid-row: 1 / 2;
grid-column: 7 / span 4;
}
.index-bookmarks {
grid-row: 3 / 4;
grid-column: 6 / span 5;
}
@media only screen and (max-width: 700px) {
.box {
grid-column: 1 / 6;
}
.index-content {
grid-row: 1 / 2;
}
.index-recent {
grid-row: 2 / 3;
}
.index-banners {
grid-row: 3 / 4;
}
.index-social {
grid-row: 4 / 5;
}
.index-blog {
grid-row: 5 / 6;
}
}
#statuscafe {
display: flex;
flex-flow: row wrap;
justify-content: space-between;
border: 1px solid #CCCCCC;
}
#statuscafe p {
line-height: 1.5;
margin: 5px 0;
color: var(--secondary-text);
font-style: italic;
}
#statuscafe #statuscafe-timeago {
flex: 1 1 50%;
text-align: right;
}
#statuscafe #statuscafe-username {
flex: 1 1 50%;
}
#statuscafe #statuscafe-content {
flex: 1 1 100%;
}
/*
* Links page
*/
#links-main {
display: flex;
flex-flow: row wrap;
align-items: flex-start;
justify-content: space-between;
gap: 10px;
}
#links-main ul {
padding: 0;
}
#links-main li {
padding: 7px 0;
list-style-type: none;
}
.link-list details {
border: 1px dotted var(--pewter-blue);
padding: 0.7em 0.7em;
font-size: 1.1rem;
}
.link-list details[open] {
/* padding: 0.5em; */
}
.link-list details[open] summary {
border-bottom: 1px dotted var(--pewter-blue);
padding-bottom: 0.5em;
margin-bottom: 0.5em;
}
.link-list summary p {
line-height: 1;
/* margin: -0.5em -0.5em 0; */
/* padding: 0.5em; */
}
.links-column {
display: flex;
flex-direction: column;
flex: 1 3 20%;
overflow-wrap: break-word;
}
.links-column h2 {
text-align: center;
}
/* webmention box */
.send-webmention {
margin: 55px 25px;
max-width: fit-content;
border: 1px dotted var(--primary-text);
padding: 0 20px 20px;
}
.send-webmention p {
font-size: 1.3rem;
}
#webmentions img { max-height: 1.2em; margin-right: -1ex; }