This repository has been archived on 2023-08-21. You can view files and clone it, but cannot push or open issues or pull requests.
bluesky-bootstrap-theme/css/style.css

331 lines
8.2 KiB
CSS
Raw Normal View History

2018-06-08 00:26:32 +02:00
/* ------------------ GLOBAL STYLE ------------------- */
2017-02-26 10:34:11 +01:00
#wrapper {
2018-10-13 17:55:11 +02:00
background: #64b5f6 url("../img/background.png") center bottom repeat-x; }
2017-02-26 10:34:11 +01:00
2018-06-08 00:26:32 +02:00
.no-pills {
2018-10-13 17:55:11 +02:00
list-style: none; }
2018-06-08 00:26:32 +02:00
.align-center {
2018-10-13 17:55:11 +02:00
text-align: center; }
2018-06-08 00:26:32 +02:00
.align-left {
2018-10-13 17:55:11 +02:00
text-align: left; }
2018-06-08 00:26:32 +02:00
.align-right {
2018-10-13 17:55:11 +02:00
text-align: right; }
2018-06-08 00:26:32 +02:00
2018-10-13 17:55:11 +02:00
h1, h2, h3, h4, h5, h6, h7, h8, h9, h10 {
color: white;
text-shadow: 0px 2px 8px rgba(0, 0, 0, 0.4); }
2018-06-08 00:26:32 +02:00
/* ------------------ HEADERS ------------------- */
2017-02-26 10:34:11 +01:00
header h1 {
2018-10-13 17:55:11 +02:00
border-style: none !important;
color: #FFF;
font-weight: 700;
font-size: 5.4em;
font-style: oblique;
text-shadow: 0px 2px 12px transparent;
padding-bottom: 0px;
margin: auto;
text-align: center;
line-height: 1.5em; }
2017-02-26 10:34:11 +01:00
2018-06-08 00:26:32 +02:00
.navbar {
box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.3);
2018-10-14 17:49:39 +02:00
border: 1px solid rgba(0, 0, 0, 0.3);
2018-10-14 17:02:50 +02:00
border-left: 0;
border-right: 0; }
.navbar ul {
padding-bottom: 0; }
2017-02-26 10:34:11 +01:00
2018-06-08 01:38:47 +02:00
.dropdown-menu {
box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.3), inset 0px -2px 0px rgba(0, 0, 0, 0.2); }
2018-06-08 00:26:32 +02:00
/* ------------------ FOOTER ------------------- */
footer {
2018-10-13 17:55:11 +02:00
margin-top: 40px; }
2018-06-08 00:26:32 +02:00
2018-06-08 01:21:55 +02:00
/* social media */
ul.social {
2018-10-13 17:55:11 +02:00
font-size: 1.5em;
padding-bottom: 1em;
margin: auto;
text-align: center; }
2018-06-08 01:21:55 +02:00
li.social-li {
2018-10-13 17:55:11 +02:00
list-style: none;
display: inline; }
2018-06-08 01:21:55 +02:00
a.social-link {
2018-10-13 17:55:11 +02:00
color: #FFFFFF;
background-color: #000000;
padding: 0.3em;
padding-left: 0.36em;
padding-right: 0.36em;
vertical-align: middle;
border-radius: 100%; }
2018-06-08 01:21:55 +02:00
a.social-link:hover {
2018-10-13 17:55:11 +02:00
color: #000000;
background-color: #FFFFFF; }
2017-02-26 10:34:11 +01:00
2018-06-08 01:34:38 +02:00
/* ------------------ CARDS ------------------- */
2018-06-08 00:55:56 +02:00
.card {
2018-10-14 17:49:39 +02:00
border-radius: 3px 3px 3px 3px;
box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.3);
2018-10-14 17:02:50 +02:00
border: none;
2018-10-13 17:55:11 +02:00
margin-bottom: 1.2em; }
2017-02-26 10:34:11 +01:00
2018-06-08 17:48:08 +02:00
.card-shadow {
box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.3), inset 0px -2px 0px rgba(0, 0, 0, 0.2); }
2018-06-08 17:48:08 +02:00
.card h1, .card h2, .card h3, .card h4, .card h5, .card h6, .card h7, .card h8, .card h9, .card h10 {
color: #333;
text-shadow: 0px 0px 0px transparent; }
2018-06-08 17:48:08 +02:00
/* header and titles */
2018-06-08 01:34:38 +02:00
.card-header {
2018-10-14 17:49:39 +02:00
border: 1px solid rgba(0, 0, 0, 0.3);
2018-10-13 17:55:11 +02:00
font-size: 1.1em;
2018-06-08 01:34:38 +02:00
box-shadow: inset 0px 2px 0px rgba(255, 255, 255, 0.1);
2018-10-13 17:55:11 +02:00
text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.3);
2018-10-14 17:49:39 +02:00
font-weight: 600;
border-radius: 0; }
.card-header:first-child {
border-radius: 3px 3px 3px 3px;
border-bottom-left-radius: 0;
border-bottom-right-radius: 0; }
.card-header:last-child {
border-radius: 3px 3px 3px 3px;
border-top-left-radius: 0;
border-top-right-radius: 0; }
.card-header h1, .card-header h2, .card-header h3, .card-header h4, .card-header h5, .card-header h6, .card-header h7, .card-header h8, .card-header h9, .card-header h10 {
font-size: 1em;
text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.3);
padding: 0px;
margin: 0px;
color: #FFF;
font-weight: 600;
line-height: 1.5em; }
2017-02-26 10:34:11 +01:00
2018-10-13 17:55:11 +02:00
/* meta */
2018-06-08 00:55:56 +02:00
.card-meta {
2018-10-13 17:55:11 +02:00
padding: 1em;
2018-10-14 17:49:39 +02:00
border-bottom: 1px solid rgba(0, 0, 0, 0.2); }
2018-10-14 17:55:42 +02:00
.card-meta.media {
-ms-flex-align: center !important;
align-items: center !important; }
.card-meta .media-left .media-object {
height: 64px;
width: 64px;
border-radius: 10px;
margin-right: 1em; }
.card-meta author {
display: block;
font-weight: 600; }
.card-meta time {
display: block;
font-style: italic; }
2017-02-26 10:34:11 +01:00
2018-06-08 00:26:32 +02:00
/* lists */
2017-02-26 10:34:11 +01:00
.list-group-item {
2018-10-14 17:02:50 +02:00
border: none;
2018-10-13 17:55:11 +02:00
background-color: transparent; }
2017-02-26 10:34:11 +01:00
a.list-group-item:hover {
2018-10-13 17:55:11 +02:00
border-style: none;
border-width: 0px;
border-radius: 0px;
background-color: rgba(0, 0, 0, 0.1); }
2018-06-08 00:26:32 +02:00
/* ------------------ BUTTONS ------------------- */
.btn {
2018-10-14 17:49:39 +02:00
border: 1px solid rgba(0, 0, 0, 0.3);
border-radius: 3px 3px 3px 3px;
2018-10-13 17:55:11 +02:00
box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.3), inset 0px -2px 0px rgba(0, 0, 0, 0.2);
text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.3); }
2018-06-08 01:28:47 +02:00
2018-06-08 01:35:53 +02:00
.btn:hover {
2018-10-13 17:55:11 +02:00
position: relative;
box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.3), inset 0px -2px 0px rgba(0, 0, 0, 0.2);
top: 1px;
2018-10-14 17:49:39 +02:00
border: 1px solid rgba(0, 0, 0, 0.3); }
2018-06-08 01:35:53 +02:00
2017-02-26 10:34:11 +01:00
.btn:active {
2018-10-13 17:55:11 +02:00
position: relative;
box-shadow: inset 0px 2px 0px rgba(0, 0, 0, 0.2);
top: 2px;
2018-10-14 17:49:39 +02:00
border: 1px solid rgba(0, 0, 0, 0.3); }
2018-06-08 01:35:53 +02:00
.btn-group {
2018-10-13 17:55:11 +02:00
box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.3); }
2018-06-08 01:35:53 +02:00
.btn-group .btn {
2018-10-14 17:49:39 +02:00
box-shadow: inset 0px -2px 0px rgba(0, 0, 0, 0.2);
border-radius: 3px 3px 3px 3px; }
.btn-group .btn:not(:first-child) {
border-top-left-radius: 0;
border-bottom-left-radius: 0; }
.btn-group .btn:not(:last-child) {
border-top-right-radius: 0;
border-bottom-right-radius: 0; }
2018-06-08 01:35:53 +02:00
.btn-group .btn:hover {
2018-10-13 17:55:11 +02:00
position: relative;
top: 1px;
box-shadow: inset 0px -2px 0px rgba(0, 0, 0, 0.2); }
2018-06-08 01:35:53 +02:00
.btn-group .btn:active, .btn:not(:disabled):not(.disabled):active, .btn:not(:disabled):not(.disabled).active,
.show > .btn.dropdown-toggle {
2018-10-13 17:55:11 +02:00
position: relative;
box-shadow: inset 0px 2px 0px rgba(0, 0, 0, 0.2) !important;
top: 2px;
2018-10-14 17:49:39 +02:00
border: 1px solid rgba(0, 0, 0, 0.3); }
2017-02-26 10:34:11 +01:00
2018-06-08 01:35:53 +02:00
.btn:focus, .btn-primary:focus, .btn-secondary:focus, .btn-danger:focus, .btn-warning:focus, .btn-success:focus, .btn-info:focus, .btn-dark:focus, .btn-light:focus {
2018-10-13 17:55:11 +02:00
position: relative;
box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.3), inset 0px -2px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 2px rgba(0, 0, 0, 0.3);
2018-10-13 17:55:11 +02:00
top: 1px;
outline: none; }
2018-06-08 01:28:47 +02:00
2018-06-08 01:36:38 +02:00
/* ------------------ ALERTS ------------------- */
.alert {
2018-10-14 17:49:39 +02:00
border: 1px solid rgba(0, 0, 0, 0.3);
border-radius: 3px 3px 3px 3px;
2018-10-13 17:55:11 +02:00
color: rgba(0, 0, 0, 0.7);
box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.3); }
2018-06-08 01:36:38 +02:00
.alert a, .alert-link {
2018-10-13 17:55:11 +02:00
color: rgba(0, 0, 0, 0.7);
font-weight: bold; }
2018-06-08 01:36:38 +02:00
2018-06-08 00:26:32 +02:00
/* ------------------ BREADCRUMB ------------------- */
2017-02-26 10:34:11 +01:00
.breadcrumb {
2018-10-14 17:49:39 +02:00
border-radius: 3px 3px 3px 3px;
box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.3), inset 0px -2px 0px rgba(0, 0, 0, 0.2);
2018-10-14 17:02:50 +02:00
border: 0;
2018-10-13 17:55:11 +02:00
background-color: #eeeeec;
margin-bottom: 1.2em; }
.breadcrumb li {
margin: 0; }
2017-02-26 10:34:11 +01:00
2018-06-08 00:26:32 +02:00
/* ------------------ PARTAGE RESEAUX SOCIAUX ------------------- */
2018-06-08 01:28:47 +02:00
.share-buttons {
2018-10-13 17:55:11 +02:00
margin: 15px; }
2018-06-08 00:07:10 +02:00
2018-06-08 00:26:32 +02:00
.reagir {
2018-10-13 17:55:11 +02:00
text-align: right; }
2018-06-08 18:16:25 +02:00
/* ------------------ PREVIEWS ------------------- */
2018-06-09 13:52:17 +02:00
.previews-section {
display: flex;
align-content: flex-start;
2018-10-13 17:55:11 +02:00
flex-wrap: wrap; }
2018-06-09 13:52:17 +02:00
.preview-container {
2018-10-13 17:55:11 +02:00
margin-bottom: 1em;
padding: 0.4em;
width: 100%; }
2018-06-09 13:52:17 +02:00
2018-10-13 17:55:11 +02:00
@media (min-width: 992px) {
2018-06-09 13:52:17 +02:00
.prev-col-2 .preview-container {
2018-10-13 17:55:11 +02:00
width: 50%; }
2018-06-09 13:52:17 +02:00
.prev-col-3 .preview-container {
2018-10-13 17:55:11 +02:00
width: 33%; }
2018-06-09 13:52:17 +02:00
.prev-col-4 .preview-container {
2018-10-13 17:55:11 +02:00
width: 25%; } }
2018-06-09 13:52:17 +02:00
2018-06-08 18:16:25 +02:00
.card-preview {
2018-10-14 17:49:39 +02:00
border-radius: 3px 3px 3px 3px;
2018-10-13 17:55:11 +02:00
width: 100%;
margin: auto;
box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.3), inset 0px -2px 0px rgba(0, 0, 0, 0.2); }
2018-06-08 18:16:25 +02:00
.preview-link:hover {
2018-10-13 17:55:11 +02:00
text-decoration: none !important; }
2018-06-08 18:16:25 +02:00
.preview-item {
2018-10-13 17:55:11 +02:00
height: 200px;
overflow: hidden;
font-size: 0.9em;
line-height: 1.5em !important;
padding: 0.2em;
text-align: justify;
background-color: rgba(0, 0, 0, 0.05);
color: rgba(0, 0, 0, 0.4);
position: relative;
display: flex;
2018-06-08 18:16:25 +02:00
-ms-flex-align: center !important;
align-items: center !important;
2018-10-13 17:55:11 +02:00
justify-content: center; }
2018-06-08 18:16:25 +02:00
.preview-content {
2018-10-13 17:55:11 +02:00
max-height: 200px; }
2018-06-08 18:16:25 +02:00
.preview-content > p {
2018-10-13 17:55:11 +02:00
width: 100%;
margin: auto; }
2018-06-08 18:16:25 +02:00
2018-06-09 13:52:17 +02:00
.preview-content > p.p-img {
2018-10-13 17:55:11 +02:00
text-align: center;
margin: auto;
padding: auto;
2018-06-09 13:52:17 +02:00
display: block;
2018-10-13 17:55:11 +02:00
width: 100%; }
2018-06-09 13:52:17 +02:00
.preview-content > p > img {
2018-10-13 17:55:11 +02:00
max-width: 100%;
height: auto;
vertical-align: middle;
margin: auto;
text-align: center; }
2018-06-08 18:16:25 +02:00
.preview-item h1, .preview-item h2, .preview-item h3, .preview-item h4, .preview-item h5, .preview-item h6, .preview-item h7 {
2018-10-13 17:55:11 +02:00
margin-bottom: 0px;
max-width: 100%;
display: none; }
2018-06-08 18:16:25 +02:00
.preview-item h1 {
2018-10-13 17:55:11 +02:00
display: none; }
2018-06-08 18:16:25 +02:00
.preview-overlay {
2018-10-13 17:55:11 +02:00
height: 100%;
width: 100%;
opacity: 0;
top: 0;
left: 0;
position: absolute;
padding: 0;
transition: opacity .5s;
color: #FFF;
background-color: rgba(0, 0, 0, 0.5);
text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.7);
backdrop-filter: none; }
2018-06-08 18:16:25 +02:00
.preview-overlay h1 {
2018-10-13 17:55:11 +02:00
max-width: 100%;
padding-top: 0.3em;
margin: auto;
margin-bottom: 0px;
text-align: center;
display: block;
font-size: 2em;
color: white; }
2018-06-08 18:16:25 +02:00
2018-10-13 17:55:11 +02:00
.preview-overlay h1, .preview-overlay h2, .preview-overlay h3, .preview-overlay h4, .preview-overlay h5, .preview-overlay h6, .preview-overlay h7, .preview-overlay h8, .preview-overlay h9, .preview-overlay h10 {
color: white;
text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.7); }
2018-06-08 18:16:25 +02:00
.preview-item:hover .preview-overlay {
opacity: .9;
transition: opacity .5s;
2018-10-13 17:55:11 +02:00
backdrop-filter: blur(2px); }
2018-06-08 18:16:25 +02:00
.comment-text {
2018-10-13 17:55:11 +02:00
margin-top: 0.8em; }
2018-06-08 18:16:25 +02:00
.card-preview time {
2018-10-13 17:55:11 +02:00
margin-bottom: 0.4em;
display: block; }