Rss-Bridge/static/style.css

211 lines
4.1 KiB
CSS
Raw Normal View History

2016-08-02 18:56:12 +02:00
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video {
2018-08-21 17:22:46 +02:00
margin: 0;
padding: 0;
border: 0;
outline: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
2018-08-21 17:22:46 +02:00
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
display: block;
}
2016-08-02 18:56:12 +02:00
/* Let's go for the actual style */
2018-08-21 17:22:46 +02:00
body {
background-color: #f0f0f0;
font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
}
2016-08-02 18:56:12 +02:00
2018-08-21 17:22:46 +02:00
a, a:link, a:visited {
color: #2196F3;
text-decoration: none;
}
2016-08-02 18:56:12 +02:00
2018-08-21 17:22:46 +02:00
a:hover {
text-decoration: underline;
}
2016-08-02 18:56:12 +02:00
2018-08-21 17:22:46 +02:00
/* Header */
header {
margin-top: 40px;
2016-08-02 18:56:12 +02:00
text-align: center;
color: #1182DB;
}
2018-08-21 17:22:46 +02:00
header > h1 {
font-size: 500%;
font-weight: bold;
}
2018-08-21 17:22:46 +02:00
header > h2 {
2016-08-02 18:56:12 +02:00
margin-left: 1em;
2018-08-21 17:22:46 +02:00
font-size: 200%;
}
2018-08-21 17:22:46 +02:00
header > p.status {
2016-10-02 18:43:20 +02:00
font-weight: bold;
margin: 1em;
color: red;
}
2018-08-21 17:22:46 +02:00
/* Input boxes */
input[type="text"] {
background-color: white;
color: #404552;
2018-08-21 17:22:46 +02:00
border: 1px solid #dedede;
margin-left: 8px;
2018-08-21 17:22:46 +02:00
margin-bottom: 10px;
padding: 5px 10px;
}
2018-08-21 17:22:46 +02:00
input[type="text"]:focus {
outline: none;
border-color: #888;
}
2018-08-21 17:22:46 +02:00
.searchbar {
width: 40%;
margin: 40px auto 100px;
}
.searchbar input[type="text"] {
width: 90%;
margin: auto;
2018-08-21 17:22:46 +02:00
font-size: 1.1em;
text-align: center;
2018-08-21 17:22:46 +02:00
margin-bottom: 10px;
}
2018-08-21 17:22:46 +02:00
.searchbar input[type="text"]::placeholder {
text-align: center;
}
2018-08-21 17:22:46 +02:00
.searchbar input[type="text"]:focus::-webkit-input-placeholder { opacity: 0; }
.searchbar input[type="text"]:focus::-moz-placeholder { opacity: 0; }
.searchbar input[type="text"]:focus:-moz-placeholder { opacity: 0; }
.searchbar input[type="text"]:focus:-ms-input-placeholder { opacity: 0; }
2018-08-21 17:22:46 +02:00
.searchbar > h3 {
font-size: 200%;
font-weight: bold;
color: #1182DB;
2018-08-21 17:22:46 +02:00
margin-bottom: 10px;
}
2018-08-21 17:22:46 +02:00
/* Section */
section {
2016-08-02 18:56:12 +02:00
background-color: #FFFFFF;
2018-08-21 17:22:46 +02:00
width: 60%;
2016-08-02 18:56:12 +02:00
margin: 30px auto;
2018-08-21 17:22:46 +02:00
padding: 15px 15px;
2016-08-02 18:56:12 +02:00
text-align: center;
2018-08-21 17:22:46 +02:00
box-shadow: 0 6px 15px rgba(0, 0, 0, 0.09);
border-radius: 4px;
}
2018-08-21 17:22:46 +02:00
section.footer {
2016-08-02 22:16:43 +02:00
opacity: 0.5;
}
2018-08-21 17:22:46 +02:00
section.footer:hover {
2016-08-02 22:16:43 +02:00
opacity: 1;
}
2018-08-21 17:22:46 +02:00
section > h2 {
2016-08-02 18:56:12 +02:00
font-size: 200%;
font-weight: bold;
2014-05-25 23:23:52 +02:00
}
2016-08-02 18:56:12 +02:00
2018-08-21 17:22:46 +02:00
/* Buttons */
button {
2016-08-02 18:56:12 +02:00
line-height: 1.9em;
color: #FFF;
font-weight: bold;
vertical-align: middle;
padding: 6px 12px;
margin: 12px auto 0px;
2018-08-21 17:22:46 +02:00
border-radius: 4px;
2016-08-02 18:56:12 +02:00
border: 1px solid transparent;
background: #2196F3 none repeat scroll 0% 0%;
cursor: pointer;
width: calc(20% - 4px);
}
2018-08-21 17:22:46 +02:00
button.small {
2016-08-02 22:16:43 +02:00
width: auto;
line-height: 1.2em;
}
2018-08-21 17:22:46 +02:00
button:hover {
background: #49afff;
}
2016-08-02 22:16:43 +02:00
2018-08-21 17:22:46 +02:00
.description {
2016-08-02 18:56:12 +02:00
margin: 10px;
}
2018-08-21 17:22:46 +02:00
h5 {
2016-08-02 18:56:12 +02:00
margin: 20px;
font-weight: bold;
}
2018-08-21 17:22:46 +02:00
form {
2016-08-02 18:56:12 +02:00
margin-bottom: 6px;
}
2018-08-21 17:22:46 +02:00
.maintainer {
color: #888888;
font-size: 70%;
2016-08-02 18:56:12 +02:00
text-align: right;
}
2018-08-21 17:22:46 +02:00
.secure-warning {
background-color: #ffc600;
color: #5f5f5f;
box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3);
border-radius: 2px;
border: 1px solid transparent;
width: 80%;
margin: auto;
margin-bottom: 6px;
}
2018-08-21 17:22:46 +02:00
form {
2016-08-02 22:16:43 +02:00
display: none;
}
2018-08-21 17:22:46 +02:00
select {
padding: 5px 10px;
margin-left: 8px;
}
2016-08-02 22:16:43 +02:00
2018-08-21 17:22:46 +02:00
h5 {
2016-08-02 22:16:43 +02:00
display: none;
}
2018-08-21 17:22:46 +02:00
/* Show more / less */
.showmore-box {
2016-08-02 22:16:43 +02:00
display: none;
}
2018-08-21 17:22:46 +02:00
.showmore, .showless {
2016-08-02 22:16:43 +02:00
color: #888888;
2016-08-03 21:54:54 +02:00
cursor: pointer;
2016-08-02 22:16:43 +02:00
}
2018-08-21 17:22:46 +02:00
.showmore:hover, .showless:hover {
color: #000;
cursor: pointer;
}
.showmore-box:checked ~ .showmore {
2016-08-02 22:16:43 +02:00
display: none;
}
2018-08-21 17:22:46 +02:00
.showmore-box:not(:checked) ~ .showless {
2016-08-02 22:16:43 +02:00
display: none;
}
2018-08-21 17:22:46 +02:00
.showmore-box:checked ~ form, .showmore-box:checked ~ h5 {
2016-08-02 22:16:43 +02:00
display: block;
}
/* Additional styles for error pages */
2018-08-21 17:22:46 +02:00
.exception-message {
background-color: #c00000;
color: #FFFFFF;
font-weight: bold;
box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3);
border-radius: 2px;
border: 1px solid transparent;
width: 80%;
margin: auto;
margin-bottom: 6px;
}
2018-08-21 17:22:46 +02:00
.advice {
margin-left: auto;
margin-right: auto;
display: table;
}
2018-08-21 17:22:46 +02:00
.advice > li {
text-align: left;
2018-08-21 17:22:46 +02:00
}