343 lines
6.2 KiB
CSS
343 lines
6.2 KiB
CSS
:root {
|
|
/** Colors **/
|
|
--primary: #007bff;
|
|
--primary-rgb: 0, 123, 255;
|
|
--primary-hover: #0056b3;
|
|
}
|
|
|
|
html,
|
|
body {
|
|
overflow-x: hidden;
|
|
height: 100%;
|
|
}
|
|
|
|
body {
|
|
position: relative;
|
|
margin: 0;
|
|
padding: 0;
|
|
font-family: "PT Mono", monospace;
|
|
}
|
|
|
|
#map {
|
|
position: fixed;
|
|
top: 0;
|
|
bottom: 0;
|
|
height: 100%;
|
|
width: 100%;
|
|
}
|
|
|
|
.footer {
|
|
position: absolute;
|
|
bottom: 0;
|
|
width: 100%;
|
|
/* Set the fixed height of the footer here */
|
|
height: 30px;
|
|
line-height: 30px; /* Vertically center the text there */
|
|
background-color: #f5f5f5;
|
|
font-size: 12px;
|
|
}
|
|
|
|
/* big modal */
|
|
.modal-lg {
|
|
max-width: 1140px !important;
|
|
}
|
|
|
|
/* paper plane animation */
|
|
#canvas3d {
|
|
display: none;
|
|
transition: all 0.3s;
|
|
position: fixed;
|
|
height: 100vh;
|
|
width: 100vw;
|
|
background-color: rgba(0, 0, 0, 0);
|
|
z-index: 9999;
|
|
margin-top: 50vh; /* poussé de la moitié de hauteur de viewport */
|
|
transform: translateY(-50%) translateX(-50%); /* tiré de la moitié de sa propre hauteur */
|
|
margin-left: 50vw; /* poussé de la moitié de hauteur de viewport */
|
|
}
|
|
|
|
/* qill text editor */
|
|
#messageTextArea {
|
|
min-height: 200px;
|
|
border-radius: 0px 0px 0.25em 0.25em !important;
|
|
border-color: #ced4da !important;
|
|
}
|
|
|
|
.ql-toolbar {
|
|
border-radius: 0.25em 0.25em 0px 0px !important;
|
|
border-color: #ced4da !important;
|
|
}
|
|
/* make the pixi overlay on top of the arc lines */
|
|
.leaflet-pixi-overlay {
|
|
position: absolute !important;
|
|
z-index: 201 !important;
|
|
}
|
|
|
|
.bold {
|
|
font-weight: bold !important;
|
|
}
|
|
|
|
/* Anthology */
|
|
#anthology {
|
|
margin-top: 56px;
|
|
z-index: 1029;
|
|
padding-top: 66px;
|
|
padding-bottom: 35px;
|
|
padding-left: 25%;
|
|
padding-right: 25%;
|
|
overflow-x: hidden;
|
|
width: 100vw;
|
|
background-color: rgba(255, 255, 255, 0.9);
|
|
}
|
|
|
|
/* About */
|
|
#about {
|
|
margin-top: 56px;
|
|
z-index: 1029;
|
|
padding-top: 66px;
|
|
padding-bottom: 35px;
|
|
padding-left: 25%;
|
|
padding-right: 25%;
|
|
overflow-x: hidden;
|
|
width: 100vw;
|
|
background-color: rgba(255, 255, 255, 0.9);
|
|
}
|
|
|
|
#backToMap {
|
|
transition: visibility 0.2s linear, opacity 0.2s linear;
|
|
position: fixed;
|
|
z-index: 1035;
|
|
padding-left: 10%;
|
|
padding-right: 10%;
|
|
overflow-x: hidden;
|
|
width: 100vw;
|
|
bottom: 0px;
|
|
background-color: rgba(255, 255, 255, 1);
|
|
border-top: 1px solid #ddd;
|
|
}
|
|
|
|
#backToMap a {
|
|
color: #070707;
|
|
}
|
|
|
|
#backToMap p {
|
|
margin-bottom: 5px;
|
|
padding-top: 3px;
|
|
}
|
|
|
|
#backToMap a:hover {
|
|
color: black;
|
|
}
|
|
|
|
.leaflet-popup-content-wrapper {
|
|
font-family: "PT Mono", monospace;
|
|
border-radius: 1px;
|
|
/* font-family: 'Special Elite', cursive !important */
|
|
}
|
|
|
|
.leaflet-popup-content {
|
|
/* min-width:280px; */
|
|
margin-left: 10px;
|
|
margin-right: 21px;
|
|
margin-top: 10px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.leaflet-popup-content hr {
|
|
width: 267px;
|
|
margin-top: 10px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.leaflet-control-scale-line:not(:first-child) {
|
|
border-top: none;
|
|
border-bottom: 1px solid;
|
|
margin-top: 0px;
|
|
}
|
|
|
|
.leaflet-control-scale-line {
|
|
font-weight: 100;
|
|
font-family: "PT Mono", monospace;
|
|
border: 1px solid #fff;
|
|
border-right: none;
|
|
border-top: none;
|
|
border-left: none;
|
|
line-height: 1.1;
|
|
padding: 2px 5px 1px;
|
|
font-size: 11px;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
color: white;
|
|
-moz-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
/* background: #fff; */
|
|
background: rgba(255, 255, 255, 0);
|
|
}
|
|
|
|
.leaflet-bar a:last-child {
|
|
border-bottom-left-radius: 1px !important;
|
|
border-bottom-right-radius: 1px !important;
|
|
}
|
|
|
|
.leaflet-bar a:first-child {
|
|
border-top-left-radius: 1px !important;
|
|
border-top-right-radius: 1px !important;
|
|
}
|
|
|
|
/* pulsating marker */
|
|
|
|
.pulse-icon-anim {
|
|
margin-top: 2px;
|
|
margin-left: 2px;
|
|
border: 3px solid;
|
|
-webkit-border-radius: 30px;
|
|
height: 18px;
|
|
width: 18px;
|
|
-webkit-animation: pulsate 1s ease-out;
|
|
-webkit-animation-iteration-count: infinite;
|
|
/*opacity: 0.0*/
|
|
}
|
|
|
|
@-webkit-keyframes pulsate {
|
|
0% {
|
|
-webkit-transform: scale(0.1, 0.1);
|
|
opacity: 0;
|
|
}
|
|
50% {
|
|
opacity: 1;
|
|
}
|
|
100% {
|
|
-webkit-transform: scale(1.2, 1.2);
|
|
opacity: 0;
|
|
}
|
|
}
|
|
|
|
a#navbarDropdownLang.nav-link.dropdown-toggle::after {
|
|
margin-left: 0px !important;
|
|
}
|
|
|
|
.nav-item {
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.dropdown-menu {
|
|
font-size: 0.9em !important;
|
|
padding: 0px !important;
|
|
}
|
|
|
|
.ql-editor {
|
|
min-height: 170px !important;
|
|
width: 100% !important;
|
|
}
|
|
|
|
.ql-editor p {
|
|
font-size: 1.25em !important;
|
|
}
|
|
|
|
.ql-editor .ql-size-small {
|
|
font-size: 0.9em !important;
|
|
}
|
|
|
|
@media screen and (max-width: 600px) {
|
|
.modal-body {
|
|
font-size: 0.9rem;
|
|
}
|
|
.modal-body .form-control {
|
|
font-size: 0.8rem;
|
|
}
|
|
.leaflet-popup-content {
|
|
margin: 10px 10px;
|
|
line-height: 1.4;
|
|
}
|
|
#anthologyItems {
|
|
font-size: 0.8rem;
|
|
}
|
|
#about {
|
|
padding-left: 5% !important;
|
|
padding-right: 5% !important;
|
|
}
|
|
#anthology {
|
|
padding-left: 5% !important;
|
|
padding-right: 5% !important;
|
|
}
|
|
}
|
|
|
|
/* About donation */
|
|
#donationElt {
|
|
background: rgba(var(--primary-rgb), 0.2);
|
|
margin-bottom: 50px;
|
|
padding: 5%;
|
|
display: grid;
|
|
grid-template-columns: fit-content(370px) auto;
|
|
column-gap: 8%;
|
|
align-items: center;
|
|
}
|
|
|
|
#donationElt #donationButton {
|
|
text-align: right;
|
|
}
|
|
|
|
#donationElt #donationButton .btn {
|
|
background: white;
|
|
}
|
|
|
|
#donationElt #donationButton .btn:before {
|
|
font-family: "Font Awesome 5 Pro";
|
|
display: inline-block;
|
|
margin-right: 10px;
|
|
font-weight: 300;
|
|
}
|
|
|
|
#donationElt #donationButton .btn.fr:before {
|
|
content: "\f5ce";
|
|
}
|
|
|
|
#donationElt #donationButton .btn.en:before,
|
|
#donationElt #donationButton .btn.de:before,
|
|
#donationElt #donationButton .btn.pt:before,
|
|
#donationElt #donationButton .btn.es:before {
|
|
content: "\f0fc";
|
|
}
|
|
|
|
#donationElt #donationButton .btn.ar:before,
|
|
#donationElt #donationButton .btn.bg:before {
|
|
content: "\f875";
|
|
}
|
|
|
|
#donationElt #donationButton .btn.zh:before,
|
|
#donationElt #donationButton .btn.ja:before {
|
|
content: "\f7a0";
|
|
font-size: 13px;
|
|
font-weight: normal;
|
|
}
|
|
|
|
#donationElt #donationButton .btn:hover {
|
|
color: var(--primary-hover);
|
|
border-color: var(--primary-hover);
|
|
}
|
|
|
|
@media screen and (max-width: 990px) {
|
|
#donationElt {
|
|
grid-template-columns: 1fr;
|
|
grid-row-gap: 25px;
|
|
}
|
|
|
|
#donationElt #donationButton {
|
|
text-align: left;
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 600px) {
|
|
#donationElt {
|
|
text-align: center;
|
|
}
|
|
|
|
#donationElt #donationButton {
|
|
text-align: center;
|
|
}
|
|
}
|
|
|
|
.custom-file-label::after {
|
|
content: "Parcourir";
|
|
}
|