LocalhostBunny/webassets/css/styles.css

77 lines
1018 B
CSS

* {
font-family: 'MonaspaceXenon';
}
html, body {
width: 100%;
}
body {
display: flex;
justify-content: center;
background-color: #EFEFEF;
}
main {
display: flex;
flex-direction: column;
margin: 1rem;
}
h1 {
font-size: 3em;
margin-bottom: 1rem;
text-shadow: 0 0 8px #888;
}
#maincontent {
display: flex;
flex-direction: column;
gap: 0.5rem;
padding: 0 2rem;
}
.server {
background-color: #CCC;
padding: 2px 0.5rem;
color: black;
text-decoration: none;
border-radius: 6px;
border: 1px solid #888;
box-shadow: 0 0 4px #888;
transition: all 0.2s;
display: grid;
grid-template-columns: auto 1fr auto;
grid-column-gap: 1rem;
}
.server .txt_icon {
display: flex;
justify-content: center;
align-items: center;
}
.server .txt_icon {
text-align: left;
}
.server .txt_port {
opacity: 0.6;
}
.server:hover {
box-shadow: 0 0 4px #000;
background-color: #AAA;
color: #00A;
}