@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@300&display=swap'); body { font-family: sans-serif; } h1 { font-family: sans-serif; font-weight: 400; text-align: center; } h2, h3, h4 { font-family: sans-serif; } h3 { font-weight: 300; text-align: center; margin-bottom: 2em; } h4 { font-weight: 200; text-align: center; /*margin-bottom: 2em;*/ } p { text-align: center; } a:link, a:visited { color: #858585; } a:hover { color: #373737; } a:active { color: #c91717; } pre { background: #f4f4f4; border: 1px solid #ddd; border-left: 3px solid #f36d33; color: #666; page-break-inside: avoid; font-family: monospace; font-size: 15px; line-height: 1.6; margin-bottom: 1.6em; max-width: 100%; overflow: auto; padding: 1em 1.5em; display: block; word-wrap: break-word; } .lcl_minimal #lcl_txt * { color: rgba(255, 255, 255, 0.5); } /* The grid itself needs only 4 CSS declarations: */ .myGallery { display: grid; grid-gap: 10px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); } .myGallery img { width: 100%; } /* And here are some declarations for the image caption. Just hover over one of the last 5 images to see it. */ .myGallery .item { position: relative; overflow: hidden; } .myGallery .item img { vertical-align: middle; } /**/ .myGallery .caption { margin: 0; padding: 1em; position: absolute; z-index: 1; bottom: 0; left: 0; width: 100%; max-height: 100%; text-align: center; overflow: auto; box-sizing: border-box; transition: transform 0.5s; transform: translateY(100%); background: rgba(0, 0, 0, 0.7); color: rgb(255, 255, 255); font-family: sans-serif; font-size: 1.2em } .myGallery .item:hover .caption { transform: translateY(0%); } .myGallery .item:hover { opacity: 0.7; } .pswp__custom-caption { background: rgba(75, 75, 75, 0.50); font-family: sans-serif; font-size: 16px; color: #bbb; width: calc(100% - 32px); max-width: 400px; padding: 4px 8px; border-radius: 4px; text-align: center; position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); } .pswp__custom-caption a { color: #fff; text-decoration: underline; } .hidden-caption-content { display: none; } .trois { max-width: 100%; height: auto; width: auto\9; /* ie8 */ } .cadre { display: block; margin-left: auto; margin-right: auto; max-width:800px; margin-bottom: 2rem; } .exif { display: block; margin-left: auto; margin-right: auto; max-width:800px; margin-bottom: 4rem; text-align: center; font-family: sans-serif; font-size: 0.75em } .exif a:link { text-decoration: none; } .navPage { display: block; margin-left: auto; margin-right: auto; margin-top: 4rem; margin-bottom: 2rem; text-align: center; font-family: sans-serif; font-size: 1em } /* The rest is only styling for this example page @import url("https://fonts.googleapis.com/css2?family=Vollkorn:wght@400;900&display=swap"); @import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@300&display=swap'); body { font: 400 1.5em/1.58 Vollkorn, serif; } */ .myGallery { font-size: 1rem; } .month { font-family: sans-serif; font-weight: 400; font-size: 1rem; } .titrePhoto, .legendePhoto { font-family: sans-serif; font-weight: 400; font-size: 1em; } .titrePhoto { font-size: 1.3em; } .exif { color: #999; } /* insert_bdd.php */ .styled-table { border-collapse: collapse; margin: 25px 0; font-size: 0.9em; font-family: sans-serif; min-width: 400px; box-shadow: 0 0 20px rgba(0, 0, 0, 0.15); } .styled-table thead tr { background-color: #009879; color: #ffffff; text-align: left; } /* .sort a:link, .sort a:visited, .sort a:hover { color: #ffffff !important; text-decoration: none; } */ table a:visited { color: #ffffff; } table a:link { color: #ffffff; text-decoration: none; } table a:hover { color: #373737; } .styled-table th, .styled-table td { padding: 12px 15px; } .styled-table tbody tr { border-bottom: 1px solid #dddddd; } .styled-table tbody tr:nth-of-type(even) { background-color: #f3f3f3; } .styled-table tbody tr:last-of-type { border-bottom: 2px solid #009879; } .styled-table tbody tr.active-row { font-weight: bold; color: #009879; } .styled-table img { width: 150px } /* Select lang index.php */ select.mySelect{ background: #9ccebb; color: #000; padding: 0 5px; font-size: 12px; border: 0px; opacity: 0.3 !important; } select.mySelect option{ color: rgba(0, 0, 0, 0.6); padding: 0px; opacity: 0.7 !important; } button.myButton{ background-color: Beige; /* box-shadow: 0 3px 6px rgba(0, 0, 0, 0.6); background-color: transparent; opacity: 0.4 !important; */ } .all{ font-weight: 800; margin-left: 2em; } .indexForm { position: absolute; bottom: 0px; left: 10px; } .myForm { /**/ display: inline-block; margin-left: 16px; } .bordure { border: 1px solid #dad59c; border-radius: 5px; padding: 15px; margin: 8px; } fieldset { border: 1px solid #dad59c; border-radius: 5px; padding: 15px; margin: 8px; } legend { font-size: 14px; color: #b1ac72; } /* maps2.php */ .info_content h3 { text-align: center; } .gm_thumb { } .gm_thumb_img { width: 50%; height: auto; } /* .nav_bar { text-align: center; } */ /* view input[type="radio"] */ select, button, label, .operateur { /* styling */ background-color: white; border: thin solid PaleGoldenrod; border-radius: 4px; display: inline-block; font: inherit; font-size: smaller; color: darkgray; line-height: 1em; /* reset */ margin: 0; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; -webkit-appearance: none; -moz-appearance: none; } select { padding: 0.25em 3.5em 0.25em 1em; } .operateur { padding: 0.25em 1em 0.25em 1em; } /* arrows */ select.classic { background-image: linear-gradient(45deg, transparent 50%, tan 50%), linear-gradient(135deg, tan 50%, transparent 50%), linear-gradient(to right, Beige, Beige); background-position: calc(100% - 20px) calc(0.5em + 2px), calc(100% - 15px) calc(0.5em + 2px), 100% 0; background-size: 5px 5px, 5px 5px, 2.5em 2.5em; background-repeat: no-repeat; } select.classic:focus { background-image: linear-gradient(45deg, white 50%, transparent 50%), linear-gradient(135deg, transparent 50%, white 50%), linear-gradient(to right, silver, silver); background-position: calc(100% - 15px) 0.5em, calc(100% - 20px) 0.5em, 100% 0; background-size: 5px 5px, 5px 5px, 2.5em 2.5em; background-repeat: no-repeat; border-color: darkgrey; outline: 0; } select:-moz-focusring { color: transparent; text-shadow: 0 0 0 #000; } .noimg { text-align: center; } /* Liste admin.php */ /**/ .base { font-family: sans-serif; font-weight: 400; font-size: 24px; text-align: center; } /* h3 { font-weight: 400; text-align: center; } */ .center-flex { display: flex; justify-content: center; align-items: center; min-height: 50vh; flex-direction: column; } ul { list-style: none; padding: 0; } li { margin: 5px 0; } nav a, button a { font-size: 18px; text-decoration: none; padding: 8px 12px; margin-right: 12px; border: 1px solid rgb(154, 149, 73); border-radius: 5px; transition: all 0.3s ease; /*background-color: rgb(177, 172, 115);*/ color: white !important; } /* styles links while mouse is hovered over */ nav a:hover, button a:hover { background-color: orange; border: 1px solid rgb(208, 134, 0); border-radius: 5px; } /* styles links while being clicked */ nav a:active, button a:active { color: blue; } /* .green { background-color: rgb(7, 141, 35); } */ h3.redstyle { color: red; } h3.greenstyle { color: rgb(7, 141, 35); } .red { background-color: rgb(219, 127, 101); } .kaki { background-color: rgb(177, 172, 115); } .center { text-align: center; } .font10 { font-size: 10px; } .alert { color: red; text-align: left; } input[type="text"], textarea { background-color : #eeeeee; }