soselo/css/base.php

78 lines
1.3 KiB
PHP
Raw Normal View History

2022-11-21 23:17:07 +00:00
<style>
body {
padding: 0;
margin: 0;
font-family: system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,"mastodon-font-sans-serif",sans-serif;
}
.toast-container {
position: fixed;
bottom: 0;
left: 0;
width: -moz-available;
display: flex;
padding: 1em;
max-width: 45em;
z-index: 1000;
}
.toast {
width: 100%;
min-height: 2em;
border: 1px solid #ffffff3d;
border-radius: 10px;
box-shadow: 0px 0px 2em black;
color: #fff;
padding: 1em 1.8em;
display: flex;
}
.toast.info {
background: #0f3377;
}
.toast.error {
background: #9b1919;
}
.window.hidden { display: none !important }
*[id*="-item"] { display: none !important }
.flex { display: flex }
.center { margin: auto }
.wmax { width: 100vw }
.hmax { height: 100vh }
2022-11-21 23:17:07 +00:00
textarea {
max-width: -moz-available;
}
a {
text-decoration: none;
color: inherit;
}
/* specific styles */
#window-home {
background: #d7d7d7;
}
#window-home #instances .item {
padding: .5em;
background: #fff;
border-radius: .5em;
box-shadow: 0px 0px .5em #0000004f;
margin-top: .5em;
}
#window-home #instances .item:hover {
background: #f9f9f9;
}
#window-home #instances .item:active,
#window-home #instances .item:focus {
background: #dfdfdf;
}
#window-home #instances .item img {
width: 2.5em;
height: 2.5em;
}
2022-11-21 23:17:07 +00:00
</style>