mango/menu/main.css

89 lines
No EOL
1.2 KiB
CSS

:root {
--accent: orangered;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background-color: black;
color: white;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
padding: 1em;
}
a {
color: var(--accent);
text-decoration: none;
}
a:hover {
color: white;
}
body::before {
content: "";
background-image: url(/img/mango-full.jpg);
position: absolute;
background-size: cover;
top: 0;
left: 0;
bottom: 0;
right: 0;
z-index: -1;
opacity: .25;
}
textarea {
outline: medium solid transparent;
transition: .4s;
background-color: black;
margin-bottom: 10px;
color: white;
border: thin solid white;
padding: .4em;
}
textarea:focus {
outline-color: var(--accent);
}
h1 {
font-weight: 300;
font-size: 3em;
margin: 0;
}
h2 {
margin-bottom: .4em;
}
button {
transition: .2s;
border: 1px solid white;
background-color: black;
color: white;
font-size: large;
padding: .2em;
}
button:hover {
background-color: white;
color: black;
}
h2 {
font-weight: 300;
margin-top: 0;
}
footer {
margin-top: 1em;
}
#version {
opacity: .6;
}