fanzine/static/popup/fanzine.css

85 lines
1.2 KiB
CSS
Raw Normal View History

2022-03-29 13:31:29 +00:00
:root {
--main-color: #1eb35a;
}
/* Generic parameters */
* {
font-family: Helvetica, Verdana, Arial, sans-serif;
}
body {
min-width: 300px;
}
/* Navigation logic */
section {
display: none;
}
section:target {
display: block;
}
/* Components definition */
a {
text-decoration: none;
color: #111;
border-radius: 5px;
}
a:hover {
background-color: #ddd;
}
a.primary {
padding: 0.2rem 0.5rem 0.4rem 0.5rem;
display: block;
text-align: center;
color: #fff;
background-color: var(--main-color);
}
textarea {
font-family: monospace;
margin: 1rem 0rem;
resize: none;
box-sizing: border-box;
width: 100%;
height: 300px;
padding: 0.5rem;
line-height: 1.5;
border-radius: 5px;
border: 1px solid #ccc;
/*box-shadow: 1px 1px 1px #999;*/
}
/* Menu interface */
.menu-elem, .menu-title {
display: block;
padding: 0.2rem 0.5rem 0.4rem 0.5rem;
margin: 0.3rem;
user-select: none;
}
.menu-title {
font-weight: bold;
border-bottom: 2px solid var(--main-color);
}
.menu-title > a {
padding: 0.2rem 0.5rem 0.4rem 0.5rem;
margin: 0.3rem;
}
.menu-elem:after {
content: ">";
text-align: right;
float:right;
}
hr {
border: none;
border-bottom: 1px solid #ccc;
}