miniflux-legacy/assets/css/app.css

640 lines
8.6 KiB
CSS
Raw Normal View History

2013-03-17 23:16:25 +01:00
figure,
2013-02-18 03:48:21 +01:00
li,
ul,
table,
tr,
td,
th,
p,
blockquote,
body {
margin: 0;
padding: 0;
font-size: 100%;
}
body {
margin: 0 auto;
2013-08-30 01:34:11 +02:00
max-width: 780px;
2013-02-18 03:48:21 +01:00
color: #333;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
2013-03-17 23:16:25 +01:00
-webkit-font-smoothing: antialiased;
2013-07-06 02:59:34 +02:00
font-smoothing: antialiased;
2013-03-17 23:16:25 +01:00
text-rendering: optimizeLegibility;
2013-02-18 03:48:21 +01:00
}
a {
color: #3366CC;
}
a:focus {
outline: 0;
color: red;
text-decoration: none;
border: 1px dotted #aaa;
}
a:hover {
color: #333;
2013-02-18 03:48:21 +01:00
text-decoration: none;
}
h1, h2, h3 {
font-weight: normal;
color: #333;
}
h2 {
font-size: 1.6em;
}
h3 {
font-size: 1.2em;
}
2013-08-04 18:17:10 +02:00
h5, h6 {
margin: 0;
padding: 0;
}
2013-03-17 23:16:25 +01:00
blockquote {
border-left: 4px solid #ddd;
padding-left: 25px;
margin-left: 20px;
margin-top: 20px;
margin-bottom: 20px;
color: #777;
line-height: 1.4em;
font-family: Georgia, serif;
}
2013-04-25 02:00:02 +02:00
q {
color: purple;
font-family: Georgia, serif;
font-style: italic;
}
2013-03-17 23:16:25 +01:00
blockquote + p {
color: #555;
font-style: italic;
}
figcaption {
font-size: 0.8em;
text-transform: uppercase;
color: #777;
}
table {
width: 100%;
border-collapse: collapse;
border-spacing: 0;
}
table caption {
font-weight: bold;
font-size: 1.0em;
text-align: left;
padding-bottom: 0.5em;
padding-top: 0.5em;
}
th,
td {
border: 1px solid #ccc;
padding-top: 0.5em;
padding-bottom: 0.5em;
padding-left: 5px;
}
th {
text-align: left;
}
2013-08-08 02:18:48 +02:00
pre, code {
2013-03-17 23:16:25 +01:00
background: #f0f0f0;
2013-08-08 02:18:48 +02:00
border: 1px solid #ccc;
font-family: monospace;
2013-03-17 23:16:25 +01:00
color: brown;
2013-08-30 01:34:11 +02:00
line-height: 1.3em;
2013-08-08 02:18:48 +02:00
border-radius: 5px;
2013-03-17 23:16:25 +01:00
}
2013-08-08 02:18:48 +02:00
pre {
padding: 10px;
overflow: auto;
2013-03-17 23:16:25 +01:00
}
2013-08-08 02:18:48 +02:00
pre > code {
border: none;
}
p > code {
padding: 3px;
2013-03-17 23:16:25 +01:00
}
2013-02-18 03:48:21 +01:00
/* forms */
form {
padding-top: 5px;
padding-bottom: 5px;
2013-07-20 02:39:49 +02:00
padding-left: 15px;
border-left: 2px dotted #ddd;
2013-02-18 03:48:21 +01:00
}
label {
cursor: pointer;
display: block;
}
2013-06-11 04:09:51 +02:00
input[type="checkbox"] {
border: 1px solid #ccc;
2013-03-17 23:16:25 +01:00
}
2013-02-18 03:48:21 +01:00
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="text"] {
border: 1px solid #ccc;
padding: 3px;
line-height: 15px;
width: 250px;
font-size: 99%;
2013-04-13 03:08:55 +02:00
margin-bottom: 10px;
margin-top: 5px;
2013-06-11 04:09:51 +02:00
-webkit-appearance: none;
2013-07-06 02:59:34 +02:00
appearance: none;
2013-02-18 03:48:21 +01:00
}
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="password"]:focus,
input[type="text"]:focus,
textarea:focus {
color: #000;
border-color: rgba(82, 168, 236, 0.8);
outline: 0;
box-shadow: 0 0 8px rgba(82, 168, 236, 0.6);
}
textarea {
border: 1px solid #ccc;
padding: 3px;
width: 400px;
height: 200px;
font-size: 99%;
}
select {
margin-bottom: 15px;
}
::-webkit-input-placeholder {
color: #bbb;
padding-top: 2px;
}
::-ms-input-placeholder {
color: #bbb;
padding-top: 2px;
}
2013-07-06 02:59:34 +02:00
::-moz-placeholder {
2013-02-18 03:48:21 +01:00
color: #bbb;
padding-top: 2px;
}
.form-actions {
margin-top: 40px;
}
input.form-error,
textarea.form-error {
border: 2px solid #b94a48;
}
.form-errors {
color: #b94a48;
2013-04-13 03:08:55 +02:00
margin-left: 15px;
2013-02-18 03:48:21 +01:00
list-style-type: none;
}
.form-help {
font-size: 0.9em;
color: brown;
2013-04-13 03:08:55 +02:00
margin-bottom: 15px;
}
2013-02-18 03:48:21 +01:00
2013-07-21 17:11:41 +02:00
.hide {
display: none;
}
2013-02-18 03:48:21 +01:00
/* alerts */
.alert {
padding: 8px 35px 8px 14px;
margin-bottom: 20px;
color: #c09853;
background-color: #fcf8e3;
border: 1px solid #fbeed5;
border-radius: 4px;
}
.alert-success {
color: #468847;
background-color: #dff0d8;
border-color: #d6e9c6;
}
.alert-error {
color: #b94a48;
background-color: #f2dede;
border-color: #eed3d7;
}
.alert-info {
color: #3a87ad;
background-color: #d9edf7;
border-color: #bce8f1;
}
2013-04-03 04:49:14 +02:00
.alert-normal {
color: #333;
background-color: #f0f0f0;
border-color: #ddd;
}
2013-02-18 03:48:21 +01:00
/* buttons */
.btn {
2013-06-11 04:09:51 +02:00
-webkit-appearance: none;
2013-07-20 02:53:15 +02:00
appearance: none;
2013-03-17 23:16:25 +01:00
display: inline-block;
2013-02-18 03:48:21 +01:00
color: #333;
border: 1px solid #ccc;
background: #efefef;
padding: 5px;
padding-left: 15px;
padding-right: 15px;
font-size: 90%;
cursor: pointer;
border-radius: 2px;
}
2013-03-17 23:16:25 +01:00
a.btn {
text-decoration: none;
font-weight: bold;
}
.btn-red {
border-color: #b0281a;;
background: #d14836;
color: #fff;
}
a.btn-red:hover,
.btn-red:hover,
.btn-red:focus {
color: #fff;
background: #c53727;
}
2013-02-18 03:48:21 +01:00
.btn-blue {
border-color: #3079ed;
background: #4d90fe;
color: #fff;
}
.btn-blue:hover,
.btn-blue:focus {
border-color: #2f5bb7;
background: #357ae8;
}
/* header */
header {
margin-bottom: 50px;
margin-top: 10px;
}
header ul {
text-align: right;
font-size: 90%;
}
header li {
display: inline;
padding-left: 30px;
}
header a {
color: #777;
text-decoration: none;
}
nav .active a {
color: #333;
font-weight: bold;
}
.logo {
color: #000;
letter-spacing: 1px;
float: left;
}
.logo span {
color: #339966;
}
.page-section {
margin-top: 30px;
}
.page-section,
2013-02-18 03:48:21 +01:00
.page-header {
margin-bottom: 30px;
}
.page-section h2,
2013-02-18 03:48:21 +01:00
.page-header h2 {
margin: 0;
padding: 0;
font-size: 130%;
border-bottom: 1px dotted #ccc;
}
.page-header ul {
text-align: right;
margin-top: 2px;
}
.page-header li {
2013-03-17 23:16:25 +01:00
font-size: 90%;
2013-02-18 03:48:21 +01:00
display: inline;
2013-04-13 03:08:55 +02:00
padding-right: 5px;
2013-02-18 03:48:21 +01:00
border-right: 1px dotted #ccc;
}
.page-header li:last-child {
border: none;
padding-right: 0;
}
.feed-disabled,
.feed-disabled a {
color: #aaa;
}
.feed-last-checked {
color: brown;
font-size: 0.7em;
font-weight: normal;
}
2013-02-18 03:48:21 +01:00
/* items listing */
.items article {
border: 1px dotted #ddd;
2013-02-18 03:48:21 +01:00
margin-bottom: 20px;
padding: 5px;
background-color: #fff;
2013-02-18 03:48:21 +01:00
}
.items h2 {
font-size: 100%;
margin: 0;
padding: 0;
padding-bottom: 2px;
2013-03-17 23:16:25 +01:00
font-weight: bold;
2013-02-18 03:48:21 +01:00
}
.items a {
text-decoration: none;
}
.items a:hover,
2013-03-17 23:16:25 +01:00
.items a:focus {
2013-02-18 03:48:21 +01:00
text-decoration: underline;
}
.items p {
color: #aaa;
font-size: 70%;
}
2013-02-24 20:04:56 +01:00
.items p a {
color: #aaa;
}
2013-03-17 23:16:25 +01:00
.items .preview {
line-height: 1.5em;
font-size: 100%;
font-family: Georgia, serif;
}
2013-04-03 04:49:14 +02:00
.items #current-item {
border: 3px solid #bce;
padding: 3px;
2013-04-03 04:49:14 +02:00
}
.items article:hover .preview,
.items #current-item .preview {
color: #555;
}
2013-02-18 03:48:21 +01:00
/* item */
.item {
2013-04-25 02:00:02 +02:00
padding-left: 5px;
padding-right: 5px;
2013-02-18 03:48:21 +01:00
padding-bottom: 50px;
2013-04-25 02:00:02 +02:00
color: #555;
2013-03-17 23:16:25 +01:00
font-family: Georgia, serif;
line-height: 1.6em;
2013-04-25 02:00:02 +02:00
font-size: 1.1em;
2013-03-17 23:16:25 +01:00
}
2013-08-08 02:18:48 +02:00
.item li pre,
.item p code {
2013-08-04 03:06:08 +02:00
}
2013-03-17 23:16:25 +01:00
.item h2,
.item h3 {
font-weight: bold;
2013-02-18 03:48:21 +01:00
}
.item pre,
.item ul,
.item p {
margin-top: 15px;
}
.item p {
margin-bottom: 20px;
overflow: auto;
}
.item ul {
margin-left: 25px;
}
2013-08-04 18:17:10 +02:00
#item-content > a img,
#item-content > img,
2013-08-04 03:06:08 +02:00
.item p img {
2013-08-04 18:17:10 +02:00
margin-top: 10px;
margin-bottom: 10px;
2013-02-18 03:48:21 +01:00
display: block;
2013-02-20 04:09:32 +01:00
max-width: 100%;
2013-02-18 03:48:21 +01:00
}
.item h1 a {
2013-03-17 23:16:25 +01:00
font-size: 2.1em;
2013-02-18 03:48:21 +01:00
text-decoration: none;
}
2013-03-17 23:16:25 +01:00
.item a:visited {
color: purple;
}
2013-03-27 02:57:12 +01:00
.item nav span,
.item nav a,
.item nav a:visited {
color: #3366CC;
}
.item nav {
border-top: 1px dotted #ddd;
padding-top: 8px;
margin-top: 50px;
width: 100%;
}
.nav-left {
width: 30%;
display: block;
float: left;
}
.nav-middle {
text-align: center;
float: left;
width: 40%;
}
.nav-right {
text-align: right;
margin-left: 70%;
width: 30%;
display: block;
}
2013-06-15 05:12:08 +02:00
.infos {
padding-bottom: 20px;
color: #ccc;
2013-06-15 05:12:08 +02:00
}
.item .infos a {
color: #ccc;
}
2013-08-04 03:06:08 +02:00
span.downloading img {
display: inline;
margin: 0;
padding: 0;
}
.downloading {
color: #000;
2013-06-15 05:12:08 +02:00
}
2013-07-06 04:37:19 +02:00
#items-paging {
margin-top: 50px;
font-size: 75%;
text-align: center;
}
2013-08-04 22:06:14 +02:00
.item .infos a.bookmark-icon {
color: #333;
text-decoration: none;
}
2013-03-27 02:57:12 +01:00
/* other pages */
section li {
2013-04-13 03:08:55 +02:00
margin-left: 15px;
2013-03-27 02:57:12 +01:00
list-style-type: square;
}
2013-03-17 23:16:25 +01:00
/* mobile design */
@media only screen and (max-width: 480px) {
2013-07-20 02:39:49 +02:00
.hide-mobile {
display: none;
}
2013-03-17 23:16:25 +01:00
body {
margin-left: 5px;
margin-right: 5px;
max-width: 480px;
}
nav .active a {
font-weight: normal;
}
.logo {
display: block;
float: none;
}
header {
margin: 0;
width: 100%;
}
header ul {
text-align: left;
}
header li {
padding: 0;
width: 50%;
float: right;
display: block;
2013-07-20 15:10:55 +02:00
line-height: 30px;
2013-03-17 23:16:25 +01:00
}
2013-04-07 16:57:38 +02:00
nav ul {
padding-top: 5px;
}
2013-03-17 23:16:25 +01:00
.page {
clear: both;
padding-top: 20px;
}
2013-04-07 16:57:38 +02:00
.page li {
margin-left: 5px;
}
2013-03-17 23:16:25 +01:00
.item {
font-size: 0.8em;
}
.item h1 {
font-size: 0.9em;
}
.item .infos {
font-size: 0.9em;
padding: 0;
}
2013-07-20 02:39:49 +02:00
section li {
font-size: 0.85em;
}
video,
2013-07-20 02:39:49 +02:00
iframe {
max-width: 98%;
2013-07-20 02:39:49 +02:00
}
}