yequari.com/static/css/custom.css

194 lines
3.6 KiB
CSS
Raw Permalink Normal View History

: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;
2024-08-03 04:55:34 +00:00
grid-template-columns: repeat(10, 10% [col-start]);
2024-10-03 16:51:21 +00:00
grid-template-rows: 50% 50%;
grid-template-areas:
"content content content content content content recent recent recent recent"
"interests interests interests interests blog blog blog blog social social";
}
.box {
/* border: 1px dotted black; */
padding: 2vh;
font-size: 1.1rem;
}
2024-09-20 01:27:07 +00:00
li.note-item {
display: flex;
justify-content: space-between;
}
.index-content {
2024-10-03 16:51:21 +00:00
grid-area: content;
}
.index-social {
2024-10-03 16:51:21 +00:00
grid-area: social;
}
.index-blog {
2024-10-03 16:51:21 +00:00
grid-area: blog;
}
.index-banners {
2024-08-03 04:55:34 +00:00
grid-row: 3 / 4;
grid-column: 1 / span 5;
}
.index-recent {
2024-10-03 16:51:21 +00:00
grid-area: recent;
2024-08-03 04:55:34 +00:00
}
.index-bookmarks {
grid-row: 3 / 4;
grid-column: 6 / span 5;
}
2024-10-03 16:51:21 +00:00
@media only screen and (max-width: 500px) {
.index-wrapper {
display: flex;
flex-flow: row wrap;
}
}
#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; }