├── .gitattributes ├── .gitignore ├── collections_00.jpg ├── collections_01.jpg ├── collections ├── logo.png ├── theme.png ├── fonts │ ├── coll_icons.woff2 │ ├── InterVariable.woff2 │ └── InterVariable-Italic.woff2 ├── images │ ├── cursor_close.png │ ├── cursor_left.png │ ├── cursor_right.png │ ├── icon-loader-2.gif │ ├── imageDefault.png │ ├── textDefault.png │ ├── err-passwordprotected.png │ ├── down.svg │ ├── f_rem.svg │ ├── f_add.svg │ ├── f_add_night.svg │ ├── night.svg │ ├── cursor_close.svg │ ├── cursor_left_night.svg │ ├── cursor_right_night.svg │ ├── textDefault_night.svg │ ├── cursor_left.svg │ ├── cursor_close_night.svg │ ├── err-passwordprotected_night.svg │ ├── cursor_right.svg │ ├── search_light.svg │ ├── search_dark.svg │ ├── imageDefault_night.svg │ ├── day.svg │ ├── textDefault.svg │ ├── err-passwordprotected.svg │ └── imageDefault.svg ├── index.php ├── theme_description.php ├── contact.php ├── 404.php ├── register.php ├── archive.php ├── password.php ├── js │ ├── collection.js │ └── unused.js ├── _inc │ ├── inc-footer.php │ ├── inc-header.php │ ├── inc-topbar.php │ └── inc-sidebar.php ├── gallery.php ├── functions.php ├── pages.php ├── styles.trash.bin.css ├── styles.more.css ├── favorites.php ├── news.php ├── album_diary.php ├── themeoptions.php ├── album.php ├── search.php ├── image.php └── styles.css ├── collections_02_sidebar.jpg ├── screenshots ├── screenshots_01.jpg └── screenshots_02.jpg ├── README.md └── LICENSE /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | 2 | .DS_Store 3 | collections/styles.navbar.submenu.css 4 | *.ai 5 | *.gz 6 | -------------------------------------------------------------------------------- /collections_00.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RolandTi/collections/HEAD/collections_00.jpg -------------------------------------------------------------------------------- /collections_01.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RolandTi/collections/HEAD/collections_01.jpg -------------------------------------------------------------------------------- /collections/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RolandTi/collections/HEAD/collections/logo.png -------------------------------------------------------------------------------- /collections/theme.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RolandTi/collections/HEAD/collections/theme.png -------------------------------------------------------------------------------- /collections_02_sidebar.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RolandTi/collections/HEAD/collections_02_sidebar.jpg -------------------------------------------------------------------------------- /screenshots/screenshots_01.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RolandTi/collections/HEAD/screenshots/screenshots_01.jpg -------------------------------------------------------------------------------- /screenshots/screenshots_02.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RolandTi/collections/HEAD/screenshots/screenshots_02.jpg -------------------------------------------------------------------------------- /collections/fonts/coll_icons.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RolandTi/collections/HEAD/collections/fonts/coll_icons.woff2 -------------------------------------------------------------------------------- /collections/images/cursor_close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RolandTi/collections/HEAD/collections/images/cursor_close.png -------------------------------------------------------------------------------- /collections/images/cursor_left.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RolandTi/collections/HEAD/collections/images/cursor_left.png -------------------------------------------------------------------------------- /collections/images/cursor_right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RolandTi/collections/HEAD/collections/images/cursor_right.png -------------------------------------------------------------------------------- /collections/images/icon-loader-2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RolandTi/collections/HEAD/collections/images/icon-loader-2.gif -------------------------------------------------------------------------------- /collections/images/imageDefault.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RolandTi/collections/HEAD/collections/images/imageDefault.png -------------------------------------------------------------------------------- /collections/images/textDefault.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RolandTi/collections/HEAD/collections/images/textDefault.png -------------------------------------------------------------------------------- /collections/fonts/InterVariable.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RolandTi/collections/HEAD/collections/fonts/InterVariable.woff2 -------------------------------------------------------------------------------- /collections/fonts/InterVariable-Italic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RolandTi/collections/HEAD/collections/fonts/InterVariable-Italic.woff2 -------------------------------------------------------------------------------- /collections/images/err-passwordprotected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RolandTi/collections/HEAD/collections/images/err-passwordprotected.png -------------------------------------------------------------------------------- /collections/index.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /collections/images/down.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /collections/images/f_rem.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /collections/images/f_add.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /collections/images/f_add_night.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /collections/images/night.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /collections/theme_description.php: -------------------------------------------------------------------------------- 1 | GitHub'; 4 | $theme_description['version'] = '2.2'; 5 | $theme_description['date'] = '06/06/24'; 6 | $theme_description['desc'] = 'Collections is a responsive theme for ZenphotoCMS.'; 7 | ?> -------------------------------------------------------------------------------- /collections/images/cursor_close.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /collections/images/cursor_left_night.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /collections/images/cursor_right_night.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /collections/images/textDefault_night.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /collections/images/cursor_left.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /collections/images/cursor_close_night.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /collections/images/err-passwordprotected_night.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /collections/contact.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Skip to main content 5 | 6 |
7 | 8 | 9 | 10 |
11 |

12 | 13 | 14 |
15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /collections/404.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Skip to main content 5 | 6 |
7 | 8 | 9 | 10 |
11 | 12 |
13 | 14 |
15 |
16 | 17 | 20 |
21 | 22 | -------------------------------------------------------------------------------- /collections/register.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Skip to main content 5 | 6 |
7 | 8 | 9 | 10 |
11 | 12 |
13 |

14 |
15 | 16 |
17 | 18 |
19 |
20 | 21 | 22 | 25 |
26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /collections/images/cursor_right.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 9 | right 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /collections/images/search_light.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 9 | 10 | 11 | 12 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /collections/archive.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Skip to main content 5 | 6 |
7 | 8 | 9 | 10 |
11 | 12 | 13 |
14 |
15 |

16 | 17 |
18 | 19 |
20 |

21 | 22 |
23 |
24 | 25 |
26 | 27 | 28 |
29 | 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /collections/password.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Skip to main content 5 | 6 |
7 | 8 | 9 | 10 |
11 | 12 |
13 |

14 | 16 |
17 | 18 |
19 | 20 |
21 |
22 | 23 | 26 |
27 | 28 | -------------------------------------------------------------------------------- /collections/images/search_dark.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 10 | 11 | 12 | 13 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /collections/images/imageDefault_night.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /collections/js/collection.js: -------------------------------------------------------------------------------- 1 | const toggle_nav = document.querySelector(".toggle_nav"); 2 | const menu = document.querySelector(".nav-display"); 3 | const icon_anime = document.querySelector("#menu-icon-anime"); 4 | const items = document.querySelectorAll(".item"); 5 | 6 | /* Toggle mobile menu */ 7 | function toggleMenu() { 8 | if (menu.classList.contains("active")) { 9 | menu.classList.remove("active"); 10 | icon_anime.classList.remove("open"); 11 | toggle_nav.setAttribute('aria-expanded', 'false'); 12 | } else { 13 | menu.classList.add("active"); 14 | icon_anime.classList.add("open"); 15 | toggle_nav.setAttribute('aria-expanded', 'true'); 16 | } 17 | } 18 | 19 | /* Event Listeners */ 20 | toggle_nav.addEventListener("click", toggleMenu, false); 21 | for (let item of items) { 22 | if (item.querySelector(".submenu")) { 23 | item.addEventListener("click", toggleItem, false); 24 | } 25 | item.addEventListener("keypress", toggleItem, false); 26 | } 27 | 28 | //document.addEventListener("click", closeSubmenu, false); 29 | //document.addEventListener('keydown', closeSubmenu); -------------------------------------------------------------------------------- /collections/images/day.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /collections/js/unused.js: -------------------------------------------------------------------------------- 1 | // 2 | // Unused JS. For archival. 3 | // 4 | 5 | // Source & credits : https://www.ditdot.hr/en/dark-mode-website-tutorial 6 | let darkModeState = false; 7 | const button = document.querySelector(".lightbulb"); 8 | // MediaQueryList object 9 | const useDark = window.matchMedia("(prefers-color-scheme: dark)"); 10 | // Toggles the "dark-mode" class 11 | function toggleDarkMode(state) { 12 | document.documentElement.classList.toggle("dark-mode", state); 13 | darkModeState = state; 14 | } 15 | // Sets localStorage state 16 | function setDarkModeLocalStorage(state) { 17 | localStorage.setItem("dark-mode", state); 18 | } 19 | // Initial setting 20 | toggleDarkMode(localStorage.getItem("dark-mode") == "true"); 21 | // Listen for changes in the OS settings. 22 | // Note: the arrow function shorthand works only in modern browsers, 23 | // for older browsers define the function using the function keyword. 24 | useDark.addListener((evt) => toggleDarkMode(evt.matches)); 25 | // Toggles the "dark-mode" class on click and sets localStorage state 26 | button.addEventListener("click", () => { 27 | darkModeState = !darkModeState; 28 | toggleDarkMode(darkModeState); 29 | setDarkModeLocalStorage(darkModeState); 30 | }); -------------------------------------------------------------------------------- /collections/_inc/inc-footer.php: -------------------------------------------------------------------------------- 1 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Collections, a theme for ZenphotoCMS 2 | 3 | ![Collections' Homepages Screenshots](screenshots/screenshots_01.jpg) 4 | 5 | **[Collections](https://collections.rolandtisserand.fr/)** is a responsive theme for ZenphotoCMS image gallery and CMS. 🖥 Demo with all plugins active : [https://collections.rolandtisserand.fr/](https://collections.rolandtisserand.fr/) 6 | 7 | ![Collections' Options Screenshots](screenshots/screenshots_02.jpg) 8 | 9 | 10 | ## 🧩 Supported plugins 11 | 12 | * cacheManager 13 | * class-textobject 14 | * class-video 15 | * comment_form 16 | * contact_form 17 | * favoritesHandler 18 | * menu_manager (*no submenu see* ⤵) 19 | * multiple_layouts 20 | * openstreetmap 21 | * rating 22 | * register_user 23 | * related_items 24 | * tag_suggest 25 | * themeSwitcher 26 | * user_ login_out 27 | * zenpage 28 | 29 | ## 🚀🚀 Improvements & options 30 | 31 | * Responsive images using `srcset` 32 | * Dark / Light theme with `prefers-color-scheme` 33 | * Accessible & responsive navbar 34 | * SVG icons hack with CSS (empty, protected, text... will add more) 35 | * Show / Hide title & description for Album view 36 | 37 | ## 🏗 Installation 38 | 39 | Upload `collections` folder to `/themes/` folder. 40 | Activate it through admin panel. 41 | -------------------------------------------------------------------------------- /collections/images/textDefault.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 8 | 10 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /collections/images/err-passwordprotected.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 8 | 11 | 12 | 16 | 17 | -------------------------------------------------------------------------------- /collections/gallery.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Skip to main content 5 | 6 |
7 | 8 | 9 | 10 |
11 | 12 | 13 |
14 |

15 | 16 |
17 | 18 |
19 | 20 |
21 |
22 | 23 | 24 | 25 |
26 |
27 |
28 | 29 |
30 | 31 |
32 | 33 |
34 | 35 |
36 | 37 | 41 | 42 |
43 | 44 | 45 | -------------------------------------------------------------------------------- /collections/functions.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /collections/pages.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Skip to main content 5 | 6 |
7 | 8 | 9 | 10 |
11 | 12 |
13 | 14 | 15 | '; 18 | printSizedFeaturedImage(null,'', null, 1200, null, null, null, null, null, 'featuredimage_singlepage', null, false, null, true); 19 | echo ''; 20 | } 21 | ?> 22 | 23 |

24 | 25 | 29 | 30 |
31 | 32 | 49 | 50 |
51 | 52 | 55 |
56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | -------------------------------------------------------------------------------- /collections/_inc/inc-header.php: -------------------------------------------------------------------------------- 1 | 2 | 46 | 54 | 55 | > 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | -------------------------------------------------------------------------------- /collections/styles.trash.bin.css: -------------------------------------------------------------------------------- 1 | /** 2 | * This file contain no more used CSS, 3 | * I keep them in case in change my mind. 4 | */ 5 | 6 | :root { 7 | --icon-lightbulb: url(images/day.svg); 8 | } 9 | 10 | .dark-mode { 11 | --icon-lightbulb: url(images/night.svg); 12 | } 13 | 14 | .dark-mode { 15 | --color-background: #2f2f2f; 16 | --color-bt-off:#575757; 17 | --color-bt-on:#666565; 18 | --color-default: #e5e5e5; 19 | --color-second: #2b2b2e; 20 | --color-three: #4b4b4b; 21 | --color-four: #d1d1d1; 22 | --light-only-color: transparent; 23 | --light-only-shadow: 0px 0px 0px #000; 24 | --light-only-shadow-hover: 0px 0px 0px #000; 25 | --dark-only-color: #3c3c3c; 26 | --dark-only-color-2: #4c4c4c; 27 | --color-navbar: rgba(47, 47, 47, 0.8); 28 | --icon-search: url(images/search_dark.svg); 29 | --icon-default: url(images/imageDefault_night.svg) center center #4c4c4c; 30 | --icon-protected: url(images/err-passwordprotected_night.svg) center center no-repeat #4c4c4c; 31 | --icon-textDefault: url(images/textDefault_night.svg) center center #4c4c4c; 32 | --icon-fav-add: url(images/f_add_night.svg); 33 | --icon-textDefault-related: url(images/textDefault_night.svg); 34 | } 35 | 36 | 37 | @media (prefers-color-scheme: dark) { 38 | :root { 39 | --icon-lightbulb: url(images/night.svg); 40 | } 41 | } 42 | 43 | .lightbulb { 44 | display: inline-block; 45 | background: var(--icon-lightbulb) center center no-repeat; 46 | border: var(--color-default) solid 1px; 47 | border-radius: 20px; 48 | text-indent: -999px; 49 | cursor: pointer; 50 | background-size: contain; 51 | width: 25px; 52 | height: 25px; 53 | overflow: hidden; 54 | } 55 | 56 | /** 57 | * HTML located in inc-footer.php 58 | *
  • 59 | */ 60 | 61 | /** 62 | * HTML located in inc-header.php in 63 | 64 | */ 65 | 66 | /** 67 | * JS is located in js/unused.js 68 | */ 69 | -------------------------------------------------------------------------------- /collections/styles.more.css: -------------------------------------------------------------------------------- 1 | /** 2 | * This file contain unused CSS, 3 | * I keep them in case in change my mind. 4 | */ 5 | 6 | /* Side bar icons */ 7 | 8 | @font-face { 9 | font-family: coll_icons; 10 | font-style: normal; 11 | font-weight: normal; 12 | font-display: swap; 13 | src: url("fonts/coll_icons.woff2?=v4") format("woff2"); 14 | } 15 | 16 | 17 | .section_printAlbumMenu li a:before { 18 | font-family: "coll_icons"; 19 | font-style: normal; 20 | font-weight: normal; 21 | speak: never; 22 | display: inline-block; 23 | width: 1em; 24 | margin-right: 1ch; 25 | -webkit-font-smoothing: antialiased; 26 | -moz-osx-font-smoothing: grayscale; 27 | content: '\e803'; 28 | opacity: .5; 29 | 30 | } 31 | 32 | .section_News h2:before { 33 | font-family: "coll_icons"; 34 | font-style: normal; 35 | font-weight: normal; 36 | speak: never; 37 | display: inline-block; 38 | text-decoration: inherit; 39 | width: 1em; 40 | margin-right: 1ch; 41 | -webkit-font-smoothing: antialiased; 42 | -moz-osx-font-smoothing: grayscale; 43 | content: '\f1ea'; 44 | opacity: .5; 45 | } 46 | 47 | .section_Pages li a:before{ 48 | font-family: "coll_icons"; 49 | font-style: normal; 50 | font-weight: normal; 51 | speak: never; 52 | display: inline-block; 53 | text-decoration: inherit; 54 | width: 1em; 55 | margin-right: 1ch; 56 | -webkit-font-smoothing: antialiased; 57 | -moz-osx-font-smoothing: grayscale; 58 | content: '\e801'; 59 | opacity: .5; 60 | } 61 | 62 | .section_Pages li:hover a:before { 63 | content: '\f15b'; 64 | opacity: .5; 65 | 66 | } 67 | 68 | .section_User h2:before { 69 | font-family: "coll_icons"; 70 | font-style: normal; 71 | font-weight: normal; 72 | speak: never; 73 | display: inline-block; 74 | text-decoration: inherit; 75 | width: 1em; 76 | margin-right: 1ch; 77 | -webkit-font-smoothing: antialiased; 78 | -moz-osx-font-smoothing: grayscale; 79 | content: '\f2be'; 80 | opacity: .5; 81 | } 82 | 83 | .section_User .favorite_link:before { 84 | font-family: "coll_icons"; 85 | font-style: normal; 86 | font-weight: normal; 87 | speak: never; 88 | display: inline-block; 89 | text-decoration: inherit; 90 | width: 1em; 91 | margin-right: 1ch; 92 | -webkit-font-smoothing: antialiased; 93 | -moz-osx-font-smoothing: grayscale; 94 | content: '\e800'; 95 | opacity: .5; 96 | } 97 | 98 | .section_User .favorite_link:hover:before { 99 | content: '\e802'; 100 | opacity: .5; 101 | } -------------------------------------------------------------------------------- /collections/_inc/inc-topbar.php: -------------------------------------------------------------------------------- 1 |
    2 | 90 |
    91 | -------------------------------------------------------------------------------- /collections/favorites.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Skip to main content 5 | 6 |
    7 | 8 | 9 | 10 |
    11 | 12 |
    13 |

    14 |
    15 | 16 | 19 |
    20 | 21 |
    22 |
    23 | 24 |
    25 | 26 |
    27 | 28 |
    29 |
    30 | 31 |
    32 | 33 | 34 | 35 |
    36 |
    37 | isPhoto()) { ?> 40 |
    41 |
    42 | 43 | <?php echo getBareImageTitle(); ?> 48 | 49 |
    50 | '; 52 | echo ''; 53 | echo printBareImageTitle(); 54 | echo ''; 55 | echo printBareImageDesc(); 56 | echo ''; 57 | } ?> 58 |
    59 |
    60 | 62 |
    63 | 64 | 65 | '; 67 | echo ''; 68 | echo printBareImageTitle(); 69 | echo ''; 70 | echo printBareImageDesc(); 71 | echo ''; 72 | } ?> 73 |
    74 |
    75 | 77 |
    78 |
    79 | 80 | 89 | 90 | 91 |
    92 |
    93 |
    94 | 95 |
    96 | 97 | 98 | 99 |
    100 |
    101 | 102 | 103 | -------------------------------------------------------------------------------- /collections/news.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Skip to main content 5 | 6 |
    7 | 8 | 9 | 10 |
    11 | 12 | 14 |
    15 | 16 |
    18 | 21 | 25 |

    26 | 32 | 36 | 37 | 38 | '; 41 | echo '
    '; 42 | @call_user_func('printRating'); 43 | echo '
    '; 44 | echo ''; 45 | } 46 | if (function_exists('printCommentForm')) { 47 | echo '
    '; 48 | echo '

    '.gettext('Comments').'

    '; 49 | printCommentForm(); 50 | echo '
    '; 51 | } ?> 52 | 53 | 54 |
    55 | 59 |
    60 | 64 |
    65 |

    66 | 72 | 73 |
    74 | 81 |
    82 | 83 | 84 |
    85 |

    86 | 87 | 88 | 93 | 94 | 95 | 98 |
    99 |
    100 | 101 |
    102 |
    103 | 104 | -------------------------------------------------------------------------------- /collections/album_diary.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Skip to main content 5 | 6 |
    7 | 8 | 9 | 10 |
    11 | 12 |
    13 |

    14 |
    15 |
    16 | 17 | 18 | 19 |
    20 | 21 |
    22 |
    23 |
    24 |
    25 | 26 |
    27 | 28 | 29 | 30 |
    31 |
    32 | isPhoto()) { ?> 35 |
    36 | <?php echo getBareImageTitle(); ?> 44 |

    ', printBareImageTitle(),'

    ', printBareImageDesc(),''; ?> 45 |
    46 | 51 |
    52 | 53 | 54 |
    55 |
    56 | 57 | 59 | 63 |
    64 | 65 |
    66 | 68 |
    69 |
    70 | 72 |
    73 |
    74 | 76 |
    77 | 78 |
    79 |
    80 | 81 | 122 |
    123 | 124 |
    125 |
    126 | 127 | -------------------------------------------------------------------------------- /collections/_inc/inc-sidebar.php: -------------------------------------------------------------------------------- 1 | 148 | 149 | 150 | 158 | -------------------------------------------------------------------------------- /collections/themeoptions.php: -------------------------------------------------------------------------------- 1 | 'menulabel', 56 | 'title' => gettext('News Articles'), 57 | 'link' => '', 58 | 'show' => 1, 59 | 'nesting' => 0), 60 | array( 61 | 'type' => 'menulabel', 62 | 'title' => gettext('Gallery'), 63 | 'link' => '', 64 | 'show' => 1, 65 | 'nesting' => 0), 66 | ); 67 | createMenuIfNotExists($menuitems, 'collections'); 68 | } 69 | } 70 | 71 | function getOptionsSupported() { 72 | global $_zp_db; 73 | $unpublishedpages = $_zp_db->queryFullArray("SELECT title,titlelink FROM " . $_zp_db->prefix('pages') . " WHERE `show` != 1 ORDER by `sort_order`"); 74 | $list = array(); 75 | foreach ($unpublishedpages as $page) { 76 | $list[get_language_string($page['title'])] = $page['titlelink']; 77 | } 78 | return array( 79 | gettext('Show sidebar') => array( 80 | 'key' => 'collections_sidebar', 81 | 'type' => OPTION_TYPE_CHECKBOX, 82 | 'desc' => gettext("Check to enable the sidebar ( & hide the topbar)")), 83 | gettext('Allow search') => array( 84 | 'key' => 'Allow_search', 85 | 'type' => OPTION_TYPE_CHECKBOX, 86 | 'desc' => gettext("Check to enable search form.")), 87 | gettext('Download Button') => array( 88 | 'key' => 'collections_download', 89 | 'type' => OPTION_TYPE_CHECKBOX, 90 | 'desc' => gettext("Check to enable users the ability to download original image from image details page. If you want a save dialog, you will need to set the appropriate option in options->image as well (protected, download).")), 91 | gettext('Metadata') => array( 92 | 'key' => 'collections_metas', 93 | 'type' => OPTION_TYPE_CHECKBOX, 94 | 'desc' => gettext("Check to enable metadata view.")), 95 | gettext('Title & Desc. in album view') => array( 96 | 'key' => 'col_albdesc', 97 | 'type' => OPTION_TYPE_CHECKBOX, 98 | 'desc' => gettext("If active, add title & description under the picture in album mode.")), 99 | gettext('Homepage') => array( 100 | 'key' => 'collections_homepage', 101 | 'type' => OPTION_TYPE_SELECTOR, 102 | 'selections' => $list, 103 | 'null_selection' => gettext('none'), 104 | 'desc' => gettext("Choose here any un-published Zenpage page (listed by titlelink) to act as your site’s homepage instead the normal gallery index.") . "

    " . gettext("Note: This of course overrides the News on index page option and your theme must be setup for this feature! Visit the theming tutorial for details.") . "

    "), 105 | gettext('Use custom menu') => array( 106 | 'key' => 'collections_custommenu', 107 | 'type' => OPTION_TYPE_CHECKBOX, 108 | 'desc' => gettext("Check this if you want to use the menu_manager plugin if enabled to build a custom menu instead of the separate standard ones. A standard menu named 'collections' is created and used automatically.")) 109 | ); 110 | } 111 | 112 | function getOptionsDisabled() { 113 | return array('custom_index_page', 'image_size', 'thumb_size'); 114 | } 115 | 116 | function handleOption($option, $currentValue) { 117 | 118 | } 119 | 120 | } 121 | 122 | ?> 123 | -------------------------------------------------------------------------------- /collections/album.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Skip to main content 5 | 6 |
    7 | 8 | 9 | 10 |
    11 | 12 |
    13 |

    14 |
    15 |
    16 | 17 | 18 | 19 |
    20 | 21 |
    22 |
    23 |
    24 |
    25 | 26 |
    27 | 28 | 29 | 30 |
    31 |
    32 | isPhoto()) { ?> 35 |
    36 |
    37 | 38 | <?php echo getBareImageTitle(); ?> 43 | 44 |
    45 | ',printBareImageTitle(),'',printBareImageDesc(),'';} ?> 47 |
    48 | 50 |
    51 | 52 | ',printBareImageTitle(),'',printBareImageDesc(),'';} ?> 54 |
    55 | 57 |
    58 |
    59 | 60 | 69 | 70 |
    71 |
    72 | 73 | 75 | 79 |
    80 | 81 |
    82 | 84 |
    85 |
    86 | 88 |
    89 |
    90 | 96 |
    97 | 98 |
    99 |
    100 | 101 | 142 |
    143 | 144 |
    145 |
    146 | 147 | -------------------------------------------------------------------------------- /collections/images/imageDefault.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | 9 | 10 | 12 | 13 | 15 | 17 | 18 | 19 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | -------------------------------------------------------------------------------- /collections/search.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Skip to main content 5 | 6 |
    7 | 8 | 9 | 10 |
    11 |
    12 | 13 | clearSearchWords(); 27 | } 28 | $searchwords = getSearchWords(); 29 | $searchdate = getSearchDate(); 30 | if (!empty($searchdate)) { 31 | if (!empty($searchwords)) { 32 | $searchwords .= ": "; 33 | } 34 | $searchwords .= $searchdate; 35 | } 36 | if ($total > 0) { 37 | echo '

    '; 38 | printf(ngettext('%1$u Hit for %2$s', '%1$u Hits for %2$s', $total), $total, html_encode($searchwords)); 39 | echo '

    '; 40 | } 41 | else { 42 | echo '

    ' . gettext("Search") . '

    '; 43 | } 44 | if (getOption('Allow_search')) { 45 | printSearchForm("", "search_alt", "", gettext("Search")); 46 | } 47 | ?> 48 | 49 |
    50 |
    51 | 0 && ZP_PAGES_ENABLED) { 54 | $number_to_show = 5; 55 | $c = 0; 56 | ?> 57 |

    58 |
      59 | 63 |
    • 64 |

      65 |

      66 |
    • 67 | 70 |
    71 | 0 && ZP_NEWS_ENABLED) { 74 | $number_to_show = 5; 75 | $c = 0; 76 | ?> 77 |

    78 |
      79 | 83 |
    • 84 |

      85 |

      86 |
    • 87 | 90 |
    91 | 95 |

    96 | 0) { 99 | printf(gettext('Images (%s)'), $numimages); 100 | } 101 | } else { 102 | if (getOption('search_no_images')) { 103 | if (($numpages + $numnews) > 0) { 104 | printf(gettext('Albums (%s)'), $numalbums); 105 | } 106 | } else { 107 | printf(gettext('Albums (%1$s) & Images (%2$s)'), $numalbums, $numimages); 108 | } 109 | } 110 | ?> 111 |

    112 | 113 | 114 |
    115 | 116 |
    117 |
    118 | 119 |
    120 | 121 |
    122 |
    123 | 124 |
    125 | 126 |
    127 |
    128 | 129 | 0) { ?> 130 | isPhoto()) { ?> 133 |
    134 |
    135 | 136 | <?php echo getBareImageTitle(); ?> 141 | 142 |
    143 | ',printBareImageTitle(),'',printBareImageDesc(),'';} ?> 145 |
    146 | 148 |
    149 | 150 | 151 | ',printBareImageTitle(),'',printBareImageDesc(),'';} ?> 153 |
    154 |
    156 |
    157 |
    158 | 159 | 168 | 169 | 170 | " . gettext("Sorry, no matches found. Try refining your search.") . "

    "; 173 | } 174 | ?> 175 |
    176 | 177 |
    178 | 179 |
    180 | 181 |
    182 | 183 |
    184 |
    185 | 186 | -------------------------------------------------------------------------------- /collections/image.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Skip to main content 5 | 6 |
    7 | 8 | 9 | 10 |
    11 | 12 |
    13 | isPhoto()) { 16 | echo '
    '; 17 | if (hasPrevImage()) { ?>'; 21 | } 22 | # Responsive picture for photo 23 | if ($_zp_current_image->isPhoto()) { ?> 24 |
    25 | <?php echo getBareImageTitle(); ?> 33 |
    34 | 40 | 41 | 48 | 49 | 50 | 51 | 52 | 59 | 60 | 61 | 62 |
    63 | 64 |
    65 |
    66 |

    67 | 68 | 69 |
    70 |
    71 | 72 | 73 | 74 | 75 | 76 | 78 | 82 |
    83 | 84 |
    85 | 87 |
    88 | 90 |
    91 | 93 |
    94 |
    95 | 96 | 97 | 145 | 146 | 147 | 148 |
    149 |
    150 | 151 |
    152 |
    153 | 154 | 155 |
    156 | 157 |
    158 | 159 |
    160 |
    161 | 162 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | GNU GENERAL PUBLIC LICENSE 2 | Version 3, 29 June 2007 3 | 4 | Copyright (C) 2007 Free Software Foundation, Inc. 5 | Everyone is permitted to copy and distribute verbatim copies 6 | of this license document, but changing it is not allowed. 7 | 8 | Preamble 9 | 10 | The GNU General Public License is a free, copyleft license for 11 | software and other kinds of works. 12 | 13 | The licenses for most software and other practical works are designed 14 | to take away your freedom to share and change the works. By contrast, 15 | the GNU General Public License is intended to guarantee your freedom to 16 | share and change all versions of a program--to make sure it remains free 17 | software for all its users. We, the Free Software Foundation, use the 18 | GNU General Public License for most of our software; it applies also to 19 | any other work released this way by its authors. You can apply it to 20 | your programs, too. 21 | 22 | When we speak of free software, we are referring to freedom, not 23 | price. Our General Public Licenses are designed to make sure that you 24 | have the freedom to distribute copies of free software (and charge for 25 | them if you wish), that you receive source code or can get it if you 26 | want it, that you can change the software or use pieces of it in new 27 | free programs, and that you know you can do these things. 28 | 29 | To protect your rights, we need to prevent others from denying you 30 | these rights or asking you to surrender the rights. Therefore, you have 31 | certain responsibilities if you distribute copies of the software, or if 32 | you modify it: responsibilities to respect the freedom of others. 33 | 34 | For example, if you distribute copies of such a program, whether 35 | gratis or for a fee, you must pass on to the recipients the same 36 | freedoms that you received. You must make sure that they, too, receive 37 | or can get the source code. And you must show them these terms so they 38 | know their rights. 39 | 40 | Developers that use the GNU GPL protect your rights with two steps: 41 | (1) assert copyright on the software, and (2) offer you this License 42 | giving you legal permission to copy, distribute and/or modify it. 43 | 44 | For the developers' and authors' protection, the GPL clearly explains 45 | that there is no warranty for this free software. For both users' and 46 | authors' sake, the GPL requires that modified versions be marked as 47 | changed, so that their problems will not be attributed erroneously to 48 | authors of previous versions. 49 | 50 | Some devices are designed to deny users access to install or run 51 | modified versions of the software inside them, although the manufacturer 52 | can do so. This is fundamentally incompatible with the aim of 53 | protecting users' freedom to change the software. The systematic 54 | pattern of such abuse occurs in the area of products for individuals to 55 | use, which is precisely where it is most unacceptable. Therefore, we 56 | have designed this version of the GPL to prohibit the practice for those 57 | products. If such problems arise substantially in other domains, we 58 | stand ready to extend this provision to those domains in future versions 59 | of the GPL, as needed to protect the freedom of users. 60 | 61 | Finally, every program is threatened constantly by software patents. 62 | States should not allow patents to restrict development and use of 63 | software on general-purpose computers, but in those that do, we wish to 64 | avoid the special danger that patents applied to a free program could 65 | make it effectively proprietary. To prevent this, the GPL assures that 66 | patents cannot be used to render the program non-free. 67 | 68 | The precise terms and conditions for copying, distribution and 69 | modification follow. 70 | 71 | TERMS AND CONDITIONS 72 | 73 | 0. Definitions. 74 | 75 | "This License" refers to version 3 of the GNU General Public License. 76 | 77 | "Copyright" also means copyright-like laws that apply to other kinds of 78 | works, such as semiconductor masks. 79 | 80 | "The Program" refers to any copyrightable work licensed under this 81 | License. Each licensee is addressed as "you". "Licensees" and 82 | "recipients" may be individuals or organizations. 83 | 84 | To "modify" a work means to copy from or adapt all or part of the work 85 | in a fashion requiring copyright permission, other than the making of an 86 | exact copy. The resulting work is called a "modified version" of the 87 | earlier work or a work "based on" the earlier work. 88 | 89 | A "covered work" means either the unmodified Program or a work based 90 | on the Program. 91 | 92 | To "propagate" a work means to do anything with it that, without 93 | permission, would make you directly or secondarily liable for 94 | infringement under applicable copyright law, except executing it on a 95 | computer or modifying a private copy. Propagation includes copying, 96 | distribution (with or without modification), making available to the 97 | public, and in some countries other activities as well. 98 | 99 | To "convey" a work means any kind of propagation that enables other 100 | parties to make or receive copies. Mere interaction with a user through 101 | a computer network, with no transfer of a copy, is not conveying. 102 | 103 | An interactive user interface displays "Appropriate Legal Notices" 104 | to the extent that it includes a convenient and prominently visible 105 | feature that (1) displays an appropriate copyright notice, and (2) 106 | tells the user that there is no warranty for the work (except to the 107 | extent that warranties are provided), that licensees may convey the 108 | work under this License, and how to view a copy of this License. If 109 | the interface presents a list of user commands or options, such as a 110 | menu, a prominent item in the list meets this criterion. 111 | 112 | 1. Source Code. 113 | 114 | The "source code" for a work means the preferred form of the work 115 | for making modifications to it. "Object code" means any non-source 116 | form of a work. 117 | 118 | A "Standard Interface" means an interface that either is an official 119 | standard defined by a recognized standards body, or, in the case of 120 | interfaces specified for a particular programming language, one that 121 | is widely used among developers working in that language. 122 | 123 | The "System Libraries" of an executable work include anything, other 124 | than the work as a whole, that (a) is included in the normal form of 125 | packaging a Major Component, but which is not part of that Major 126 | Component, and (b) serves only to enable use of the work with that 127 | Major Component, or to implement a Standard Interface for which an 128 | implementation is available to the public in source code form. A 129 | "Major Component", in this context, means a major essential component 130 | (kernel, window system, and so on) of the specific operating system 131 | (if any) on which the executable work runs, or a compiler used to 132 | produce the work, or an object code interpreter used to run it. 133 | 134 | The "Corresponding Source" for a work in object code form means all 135 | the source code needed to generate, install, and (for an executable 136 | work) run the object code and to modify the work, including scripts to 137 | control those activities. However, it does not include the work's 138 | System Libraries, or general-purpose tools or generally available free 139 | programs which are used unmodified in performing those activities but 140 | which are not part of the work. For example, Corresponding Source 141 | includes interface definition files associated with source files for 142 | the work, and the source code for shared libraries and dynamically 143 | linked subprograms that the work is specifically designed to require, 144 | such as by intimate data communication or control flow between those 145 | subprograms and other parts of the work. 146 | 147 | The Corresponding Source need not include anything that users 148 | can regenerate automatically from other parts of the Corresponding 149 | Source. 150 | 151 | The Corresponding Source for a work in source code form is that 152 | same work. 153 | 154 | 2. Basic Permissions. 155 | 156 | All rights granted under this License are granted for the term of 157 | copyright on the Program, and are irrevocable provided the stated 158 | conditions are met. This License explicitly affirms your unlimited 159 | permission to run the unmodified Program. The output from running a 160 | covered work is covered by this License only if the output, given its 161 | content, constitutes a covered work. This License acknowledges your 162 | rights of fair use or other equivalent, as provided by copyright law. 163 | 164 | You may make, run and propagate covered works that you do not 165 | convey, without conditions so long as your license otherwise remains 166 | in force. You may convey covered works to others for the sole purpose 167 | of having them make modifications exclusively for you, or provide you 168 | with facilities for running those works, provided that you comply with 169 | the terms of this License in conveying all material for which you do 170 | not control copyright. Those thus making or running the covered works 171 | for you must do so exclusively on your behalf, under your direction 172 | and control, on terms that prohibit them from making any copies of 173 | your copyrighted material outside their relationship with you. 174 | 175 | Conveying under any other circumstances is permitted solely under 176 | the conditions stated below. Sublicensing is not allowed; section 10 177 | makes it unnecessary. 178 | 179 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law. 180 | 181 | No covered work shall be deemed part of an effective technological 182 | measure under any applicable law fulfilling obligations under article 183 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or 184 | similar laws prohibiting or restricting circumvention of such 185 | measures. 186 | 187 | When you convey a covered work, you waive any legal power to forbid 188 | circumvention of technological measures to the extent such circumvention 189 | is effected by exercising rights under this License with respect to 190 | the covered work, and you disclaim any intention to limit operation or 191 | modification of the work as a means of enforcing, against the work's 192 | users, your or third parties' legal rights to forbid circumvention of 193 | technological measures. 194 | 195 | 4. Conveying Verbatim Copies. 196 | 197 | You may convey verbatim copies of the Program's source code as you 198 | receive it, in any medium, provided that you conspicuously and 199 | appropriately publish on each copy an appropriate copyright notice; 200 | keep intact all notices stating that this License and any 201 | non-permissive terms added in accord with section 7 apply to the code; 202 | keep intact all notices of the absence of any warranty; and give all 203 | recipients a copy of this License along with the Program. 204 | 205 | You may charge any price or no price for each copy that you convey, 206 | and you may offer support or warranty protection for a fee. 207 | 208 | 5. Conveying Modified Source Versions. 209 | 210 | You may convey a work based on the Program, or the modifications to 211 | produce it from the Program, in the form of source code under the 212 | terms of section 4, provided that you also meet all of these conditions: 213 | 214 | a) The work must carry prominent notices stating that you modified 215 | it, and giving a relevant date. 216 | 217 | b) The work must carry prominent notices stating that it is 218 | released under this License and any conditions added under section 219 | 7. This requirement modifies the requirement in section 4 to 220 | "keep intact all notices". 221 | 222 | c) You must license the entire work, as a whole, under this 223 | License to anyone who comes into possession of a copy. This 224 | License will therefore apply, along with any applicable section 7 225 | additional terms, to the whole of the work, and all its parts, 226 | regardless of how they are packaged. This License gives no 227 | permission to license the work in any other way, but it does not 228 | invalidate such permission if you have separately received it. 229 | 230 | d) If the work has interactive user interfaces, each must display 231 | Appropriate Legal Notices; however, if the Program has interactive 232 | interfaces that do not display Appropriate Legal Notices, your 233 | work need not make them do so. 234 | 235 | A compilation of a covered work with other separate and independent 236 | works, which are not by their nature extensions of the covered work, 237 | and which are not combined with it such as to form a larger program, 238 | in or on a volume of a storage or distribution medium, is called an 239 | "aggregate" if the compilation and its resulting copyright are not 240 | used to limit the access or legal rights of the compilation's users 241 | beyond what the individual works permit. Inclusion of a covered work 242 | in an aggregate does not cause this License to apply to the other 243 | parts of the aggregate. 244 | 245 | 6. Conveying Non-Source Forms. 246 | 247 | You may convey a covered work in object code form under the terms 248 | of sections 4 and 5, provided that you also convey the 249 | machine-readable Corresponding Source under the terms of this License, 250 | in one of these ways: 251 | 252 | a) Convey the object code in, or embodied in, a physical product 253 | (including a physical distribution medium), accompanied by the 254 | Corresponding Source fixed on a durable physical medium 255 | customarily used for software interchange. 256 | 257 | b) Convey the object code in, or embodied in, a physical product 258 | (including a physical distribution medium), accompanied by a 259 | written offer, valid for at least three years and valid for as 260 | long as you offer spare parts or customer support for that product 261 | model, to give anyone who possesses the object code either (1) a 262 | copy of the Corresponding Source for all the software in the 263 | product that is covered by this License, on a durable physical 264 | medium customarily used for software interchange, for a price no 265 | more than your reasonable cost of physically performing this 266 | conveying of source, or (2) access to copy the 267 | Corresponding Source from a network server at no charge. 268 | 269 | c) Convey individual copies of the object code with a copy of the 270 | written offer to provide the Corresponding Source. This 271 | alternative is allowed only occasionally and noncommercially, and 272 | only if you received the object code with such an offer, in accord 273 | with subsection 6b. 274 | 275 | d) Convey the object code by offering access from a designated 276 | place (gratis or for a charge), and offer equivalent access to the 277 | Corresponding Source in the same way through the same place at no 278 | further charge. You need not require recipients to copy the 279 | Corresponding Source along with the object code. If the place to 280 | copy the object code is a network server, the Corresponding Source 281 | may be on a different server (operated by you or a third party) 282 | that supports equivalent copying facilities, provided you maintain 283 | clear directions next to the object code saying where to find the 284 | Corresponding Source. Regardless of what server hosts the 285 | Corresponding Source, you remain obligated to ensure that it is 286 | available for as long as needed to satisfy these requirements. 287 | 288 | e) Convey the object code using peer-to-peer transmission, provided 289 | you inform other peers where the object code and Corresponding 290 | Source of the work are being offered to the general public at no 291 | charge under subsection 6d. 292 | 293 | A separable portion of the object code, whose source code is excluded 294 | from the Corresponding Source as a System Library, need not be 295 | included in conveying the object code work. 296 | 297 | A "User Product" is either (1) a "consumer product", which means any 298 | tangible personal property which is normally used for personal, family, 299 | or household purposes, or (2) anything designed or sold for incorporation 300 | into a dwelling. In determining whether a product is a consumer product, 301 | doubtful cases shall be resolved in favor of coverage. For a particular 302 | product received by a particular user, "normally used" refers to a 303 | typical or common use of that class of product, regardless of the status 304 | of the particular user or of the way in which the particular user 305 | actually uses, or expects or is expected to use, the product. A product 306 | is a consumer product regardless of whether the product has substantial 307 | commercial, industrial or non-consumer uses, unless such uses represent 308 | the only significant mode of use of the product. 309 | 310 | "Installation Information" for a User Product means any methods, 311 | procedures, authorization keys, or other information required to install 312 | and execute modified versions of a covered work in that User Product from 313 | a modified version of its Corresponding Source. The information must 314 | suffice to ensure that the continued functioning of the modified object 315 | code is in no case prevented or interfered with solely because 316 | modification has been made. 317 | 318 | If you convey an object code work under this section in, or with, or 319 | specifically for use in, a User Product, and the conveying occurs as 320 | part of a transaction in which the right of possession and use of the 321 | User Product is transferred to the recipient in perpetuity or for a 322 | fixed term (regardless of how the transaction is characterized), the 323 | Corresponding Source conveyed under this section must be accompanied 324 | by the Installation Information. But this requirement does not apply 325 | if neither you nor any third party retains the ability to install 326 | modified object code on the User Product (for example, the work has 327 | been installed in ROM). 328 | 329 | The requirement to provide Installation Information does not include a 330 | requirement to continue to provide support service, warranty, or updates 331 | for a work that has been modified or installed by the recipient, or for 332 | the User Product in which it has been modified or installed. Access to a 333 | network may be denied when the modification itself materially and 334 | adversely affects the operation of the network or violates the rules and 335 | protocols for communication across the network. 336 | 337 | Corresponding Source conveyed, and Installation Information provided, 338 | in accord with this section must be in a format that is publicly 339 | documented (and with an implementation available to the public in 340 | source code form), and must require no special password or key for 341 | unpacking, reading or copying. 342 | 343 | 7. Additional Terms. 344 | 345 | "Additional permissions" are terms that supplement the terms of this 346 | License by making exceptions from one or more of its conditions. 347 | Additional permissions that are applicable to the entire Program shall 348 | be treated as though they were included in this License, to the extent 349 | that they are valid under applicable law. If additional permissions 350 | apply only to part of the Program, that part may be used separately 351 | under those permissions, but the entire Program remains governed by 352 | this License without regard to the additional permissions. 353 | 354 | When you convey a copy of a covered work, you may at your option 355 | remove any additional permissions from that copy, or from any part of 356 | it. (Additional permissions may be written to require their own 357 | removal in certain cases when you modify the work.) You may place 358 | additional permissions on material, added by you to a covered work, 359 | for which you have or can give appropriate copyright permission. 360 | 361 | Notwithstanding any other provision of this License, for material you 362 | add to a covered work, you may (if authorized by the copyright holders of 363 | that material) supplement the terms of this License with terms: 364 | 365 | a) Disclaiming warranty or limiting liability differently from the 366 | terms of sections 15 and 16 of this License; or 367 | 368 | b) Requiring preservation of specified reasonable legal notices or 369 | author attributions in that material or in the Appropriate Legal 370 | Notices displayed by works containing it; or 371 | 372 | c) Prohibiting misrepresentation of the origin of that material, or 373 | requiring that modified versions of such material be marked in 374 | reasonable ways as different from the original version; or 375 | 376 | d) Limiting the use for publicity purposes of names of licensors or 377 | authors of the material; or 378 | 379 | e) Declining to grant rights under trademark law for use of some 380 | trade names, trademarks, or service marks; or 381 | 382 | f) Requiring indemnification of licensors and authors of that 383 | material by anyone who conveys the material (or modified versions of 384 | it) with contractual assumptions of liability to the recipient, for 385 | any liability that these contractual assumptions directly impose on 386 | those licensors and authors. 387 | 388 | All other non-permissive additional terms are considered "further 389 | restrictions" within the meaning of section 10. If the Program as you 390 | received it, or any part of it, contains a notice stating that it is 391 | governed by this License along with a term that is a further 392 | restriction, you may remove that term. If a license document contains 393 | a further restriction but permits relicensing or conveying under this 394 | License, you may add to a covered work material governed by the terms 395 | of that license document, provided that the further restriction does 396 | not survive such relicensing or conveying. 397 | 398 | If you add terms to a covered work in accord with this section, you 399 | must place, in the relevant source files, a statement of the 400 | additional terms that apply to those files, or a notice indicating 401 | where to find the applicable terms. 402 | 403 | Additional terms, permissive or non-permissive, may be stated in the 404 | form of a separately written license, or stated as exceptions; 405 | the above requirements apply either way. 406 | 407 | 8. Termination. 408 | 409 | You may not propagate or modify a covered work except as expressly 410 | provided under this License. Any attempt otherwise to propagate or 411 | modify it is void, and will automatically terminate your rights under 412 | this License (including any patent licenses granted under the third 413 | paragraph of section 11). 414 | 415 | However, if you cease all violation of this License, then your 416 | license from a particular copyright holder is reinstated (a) 417 | provisionally, unless and until the copyright holder explicitly and 418 | finally terminates your license, and (b) permanently, if the copyright 419 | holder fails to notify you of the violation by some reasonable means 420 | prior to 60 days after the cessation. 421 | 422 | Moreover, your license from a particular copyright holder is 423 | reinstated permanently if the copyright holder notifies you of the 424 | violation by some reasonable means, this is the first time you have 425 | received notice of violation of this License (for any work) from that 426 | copyright holder, and you cure the violation prior to 30 days after 427 | your receipt of the notice. 428 | 429 | Termination of your rights under this section does not terminate the 430 | licenses of parties who have received copies or rights from you under 431 | this License. If your rights have been terminated and not permanently 432 | reinstated, you do not qualify to receive new licenses for the same 433 | material under section 10. 434 | 435 | 9. Acceptance Not Required for Having Copies. 436 | 437 | You are not required to accept this License in order to receive or 438 | run a copy of the Program. Ancillary propagation of a covered work 439 | occurring solely as a consequence of using peer-to-peer transmission 440 | to receive a copy likewise does not require acceptance. However, 441 | nothing other than this License grants you permission to propagate or 442 | modify any covered work. These actions infringe copyright if you do 443 | not accept this License. Therefore, by modifying or propagating a 444 | covered work, you indicate your acceptance of this License to do so. 445 | 446 | 10. Automatic Licensing of Downstream Recipients. 447 | 448 | Each time you convey a covered work, the recipient automatically 449 | receives a license from the original licensors, to run, modify and 450 | propagate that work, subject to this License. You are not responsible 451 | for enforcing compliance by third parties with this License. 452 | 453 | An "entity transaction" is a transaction transferring control of an 454 | organization, or substantially all assets of one, or subdividing an 455 | organization, or merging organizations. If propagation of a covered 456 | work results from an entity transaction, each party to that 457 | transaction who receives a copy of the work also receives whatever 458 | licenses to the work the party's predecessor in interest had or could 459 | give under the previous paragraph, plus a right to possession of the 460 | Corresponding Source of the work from the predecessor in interest, if 461 | the predecessor has it or can get it with reasonable efforts. 462 | 463 | You may not impose any further restrictions on the exercise of the 464 | rights granted or affirmed under this License. For example, you may 465 | not impose a license fee, royalty, or other charge for exercise of 466 | rights granted under this License, and you may not initiate litigation 467 | (including a cross-claim or counterclaim in a lawsuit) alleging that 468 | any patent claim is infringed by making, using, selling, offering for 469 | sale, or importing the Program or any portion of it. 470 | 471 | 11. Patents. 472 | 473 | A "contributor" is a copyright holder who authorizes use under this 474 | License of the Program or a work on which the Program is based. The 475 | work thus licensed is called the contributor's "contributor version". 476 | 477 | A contributor's "essential patent claims" are all patent claims 478 | owned or controlled by the contributor, whether already acquired or 479 | hereafter acquired, that would be infringed by some manner, permitted 480 | by this License, of making, using, or selling its contributor version, 481 | but do not include claims that would be infringed only as a 482 | consequence of further modification of the contributor version. For 483 | purposes of this definition, "control" includes the right to grant 484 | patent sublicenses in a manner consistent with the requirements of 485 | this License. 486 | 487 | Each contributor grants you a non-exclusive, worldwide, royalty-free 488 | patent license under the contributor's essential patent claims, to 489 | make, use, sell, offer for sale, import and otherwise run, modify and 490 | propagate the contents of its contributor version. 491 | 492 | In the following three paragraphs, a "patent license" is any express 493 | agreement or commitment, however denominated, not to enforce a patent 494 | (such as an express permission to practice a patent or covenant not to 495 | sue for patent infringement). To "grant" such a patent license to a 496 | party means to make such an agreement or commitment not to enforce a 497 | patent against the party. 498 | 499 | If you convey a covered work, knowingly relying on a patent license, 500 | and the Corresponding Source of the work is not available for anyone 501 | to copy, free of charge and under the terms of this License, through a 502 | publicly available network server or other readily accessible means, 503 | then you must either (1) cause the Corresponding Source to be so 504 | available, or (2) arrange to deprive yourself of the benefit of the 505 | patent license for this particular work, or (3) arrange, in a manner 506 | consistent with the requirements of this License, to extend the patent 507 | license to downstream recipients. "Knowingly relying" means you have 508 | actual knowledge that, but for the patent license, your conveying the 509 | covered work in a country, or your recipient's use of the covered work 510 | in a country, would infringe one or more identifiable patents in that 511 | country that you have reason to believe are valid. 512 | 513 | If, pursuant to or in connection with a single transaction or 514 | arrangement, you convey, or propagate by procuring conveyance of, a 515 | covered work, and grant a patent license to some of the parties 516 | receiving the covered work authorizing them to use, propagate, modify 517 | or convey a specific copy of the covered work, then the patent license 518 | you grant is automatically extended to all recipients of the covered 519 | work and works based on it. 520 | 521 | A patent license is "discriminatory" if it does not include within 522 | the scope of its coverage, prohibits the exercise of, or is 523 | conditioned on the non-exercise of one or more of the rights that are 524 | specifically granted under this License. You may not convey a covered 525 | work if you are a party to an arrangement with a third party that is 526 | in the business of distributing software, under which you make payment 527 | to the third party based on the extent of your activity of conveying 528 | the work, and under which the third party grants, to any of the 529 | parties who would receive the covered work from you, a discriminatory 530 | patent license (a) in connection with copies of the covered work 531 | conveyed by you (or copies made from those copies), or (b) primarily 532 | for and in connection with specific products or compilations that 533 | contain the covered work, unless you entered into that arrangement, 534 | or that patent license was granted, prior to 28 March 2007. 535 | 536 | Nothing in this License shall be construed as excluding or limiting 537 | any implied license or other defenses to infringement that may 538 | otherwise be available to you under applicable patent law. 539 | 540 | 12. No Surrender of Others' Freedom. 541 | 542 | If conditions are imposed on you (whether by court order, agreement or 543 | otherwise) that contradict the conditions of this License, they do not 544 | excuse you from the conditions of this License. If you cannot convey a 545 | covered work so as to satisfy simultaneously your obligations under this 546 | License and any other pertinent obligations, then as a consequence you may 547 | not convey it at all. For example, if you agree to terms that obligate you 548 | to collect a royalty for further conveying from those to whom you convey 549 | the Program, the only way you could satisfy both those terms and this 550 | License would be to refrain entirely from conveying the Program. 551 | 552 | 13. Use with the GNU Affero General Public License. 553 | 554 | Notwithstanding any other provision of this License, you have 555 | permission to link or combine any covered work with a work licensed 556 | under version 3 of the GNU Affero General Public License into a single 557 | combined work, and to convey the resulting work. The terms of this 558 | License will continue to apply to the part which is the covered work, 559 | but the special requirements of the GNU Affero General Public License, 560 | section 13, concerning interaction through a network will apply to the 561 | combination as such. 562 | 563 | 14. Revised Versions of this License. 564 | 565 | The Free Software Foundation may publish revised and/or new versions of 566 | the GNU General Public License from time to time. Such new versions will 567 | be similar in spirit to the present version, but may differ in detail to 568 | address new problems or concerns. 569 | 570 | Each version is given a distinguishing version number. If the 571 | Program specifies that a certain numbered version of the GNU General 572 | Public License "or any later version" applies to it, you have the 573 | option of following the terms and conditions either of that numbered 574 | version or of any later version published by the Free Software 575 | Foundation. If the Program does not specify a version number of the 576 | GNU General Public License, you may choose any version ever published 577 | by the Free Software Foundation. 578 | 579 | If the Program specifies that a proxy can decide which future 580 | versions of the GNU General Public License can be used, that proxy's 581 | public statement of acceptance of a version permanently authorizes you 582 | to choose that version for the Program. 583 | 584 | Later license versions may give you additional or different 585 | permissions. However, no additional obligations are imposed on any 586 | author or copyright holder as a result of your choosing to follow a 587 | later version. 588 | 589 | 15. Disclaimer of Warranty. 590 | 591 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY 592 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT 593 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY 594 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, 595 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 596 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM 597 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF 598 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 599 | 600 | 16. Limitation of Liability. 601 | 602 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 603 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS 604 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY 605 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE 606 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF 607 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD 608 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), 609 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF 610 | SUCH DAMAGES. 611 | 612 | 17. Interpretation of Sections 15 and 16. 613 | 614 | If the disclaimer of warranty and limitation of liability provided 615 | above cannot be given local legal effect according to their terms, 616 | reviewing courts shall apply local law that most closely approximates 617 | an absolute waiver of all civil liability in connection with the 618 | Program, unless a warranty or assumption of liability accompanies a 619 | copy of the Program in return for a fee. 620 | 621 | END OF TERMS AND CONDITIONS 622 | 623 | How to Apply These Terms to Your New Programs 624 | 625 | If you develop a new program, and you want it to be of the greatest 626 | possible use to the public, the best way to achieve this is to make it 627 | free software which everyone can redistribute and change under these terms. 628 | 629 | To do so, attach the following notices to the program. It is safest 630 | to attach them to the start of each source file to most effectively 631 | state the exclusion of warranty; and each file should have at least 632 | the "copyright" line and a pointer to where the full notice is found. 633 | 634 | 635 | Copyright (C) 636 | 637 | This program is free software: you can redistribute it and/or modify 638 | it under the terms of the GNU General Public License as published by 639 | the Free Software Foundation, either version 3 of the License, or 640 | (at your option) any later version. 641 | 642 | This program is distributed in the hope that it will be useful, 643 | but WITHOUT ANY WARRANTY; without even the implied warranty of 644 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 645 | GNU General Public License for more details. 646 | 647 | You should have received a copy of the GNU General Public License 648 | along with this program. If not, see . 649 | 650 | Also add information on how to contact you by electronic and paper mail. 651 | 652 | If the program does terminal interaction, make it output a short 653 | notice like this when it starts in an interactive mode: 654 | 655 | Copyright (C) 656 | This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 657 | This is free software, and you are welcome to redistribute it 658 | under certain conditions; type `show c' for details. 659 | 660 | The hypothetical commands `show w' and `show c' should show the appropriate 661 | parts of the General Public License. Of course, your program's commands 662 | might be different; for a GUI interface, you would use an "about box". 663 | 664 | You should also get your employer (if you work as a programmer) or school, 665 | if any, to sign a "copyright disclaimer" for the program, if necessary. 666 | For more information on this, and how to apply and follow the GNU GPL, see 667 | . 668 | 669 | The GNU General Public License does not permit incorporating your program 670 | into proprietary programs. If your program is a subroutine library, you 671 | may consider it more useful to permit linking proprietary applications with 672 | the library. If this is what you want to do, use the GNU Lesser General 673 | Public License instead of this License. But first, please read 674 | . 675 | -------------------------------------------------------------------------------- /collections/styles.css: -------------------------------------------------------------------------------- 1 | /* @override 2 | http://collections02.local:8888/themes/collections2/styles.css 3 | https://collections.rolandtisserand.fr/themes/collections/styles.css?* 4 | http://collections02.local:8888/themes/collections2/styles.css?* */ 5 | 6 | /* override is a tool for CSSEdit / Espresso app */ 7 | 8 | 9 | /* Ugly debugging tool */ 10 | 11 | /*div, h1, h2, img, ul, li, p, header, aside, section, footer, nav { 12 | outline-width: 1px; 13 | outline-style: solid; 14 | outline-color: rgba(206,206,206,0.7); 15 | }*/ 16 | 17 | /* @group Reset */ 18 | 19 | @font-face { 20 | font-family: InterVariable; 21 | font-style: normal; 22 | font-weight: 100 900; 23 | font-display: swap; 24 | src: url("fonts/InterVariable.woff2?=v4") format("woff2"); 25 | } 26 | 27 | @font-face { 28 | font-family: InterVariable; 29 | font-style: italic; 30 | font-weight: 100 900; 31 | font-display: swap; 32 | src: url("fonts/InterVariable-Italic.woff2?=v4") format("woff2"); 33 | } 34 | 35 | :root { 36 | --color-background: #fff; 37 | --color-bt-off:#e6e6e6; 38 | --color-bt-on:#c6c6c6; 39 | --color-default: black; 40 | --color-second: lightgrey; 41 | --color-three: #e9e9e9; 42 | --color-four: #7f7f7f; 43 | --accent-color:#e5e5e5; 44 | --light-only-shadow: 0px 0px 5px var(--color-second); 45 | --light-only-shadow-hover: 0 0 0 4px rgb(0 0 0 / 15%); 46 | --light-only-color: blue; 47 | --dark-only-color: #fff; 48 | --dark-only-color-2: #fff; 49 | --color-navbar: rgba(255, 255, 255, 0.8); 50 | --icon-search: url(images/search_light.svg); 51 | --icon-default: url(images/imageDefault.svg) center center #f6f6f6; 52 | --icon-protected: url(images/err-passwordprotected.svg) center center no-repeat #f6f6f6; 53 | --icon-textDefault: url(images/textDefault.svg) center center #f6f6f6; 54 | --icon-fav-add: url(images/f_add.svg); 55 | --icon-textDefault-related: url(images/textDefault.svg); 56 | font-optical-sizing: auto; 57 | --main-font : "InterVariable",-apple-system,system-ui,'Helvetica Neue', sans-serif; 58 | --small-font : 1.3rem; 59 | } 60 | 61 | @media (prefers-color-scheme: dark) { 62 | :root { 63 | --color-background: #2f2f2f; 64 | --color-bt-off:#575757; 65 | --color-bt-on:#666565; 66 | --color-default: #e5e5e5; 67 | --color-second: #2b2b2e; 68 | --color-three: #4b4b4b; 69 | --color-four: #d1d1d1; 70 | --accent-color:#575757; 71 | --light-only-color: transparent; 72 | --light-only-shadow: 0px 0px 0px #000; 73 | --light-only-shadow-hover: 0px 0px 0px #000; 74 | --dark-only-color: #3c3c3c; 75 | --dark-only-color-2: #4c4c4c; 76 | --color-navbar: rgba(47, 47, 47, 0.8); 77 | --icon-search: url(images/search_dark.svg); 78 | --icon-default: url(images/imageDefault_night.svg) center center #4c4c4c; 79 | --icon-protected: url(images/err-passwordprotected_night.svg) center center no-repeat #4c4c4c; 80 | --icon-textDefault: url(images/textDefault_night.svg) center center #4c4c4c; 81 | --icon-fav-add: url(images/f_add_night.svg); 82 | --icon-textDefault-related: url(images/textDefault_night.svg); 83 | } 84 | } 85 | 86 | *, *:after, *:before { 87 | box-sizing: border-box; 88 | } 89 | 90 | a { 91 | background: transparent; 92 | color: #000; 93 | color: var(--color-default); 94 | } 95 | 96 | a:active, a:hover { 97 | outline: 0; 98 | } 99 | 100 | abbr { 101 | border-bottom: none; 102 | cursor: help; 103 | text-decoration: underline dotted; 104 | } 105 | 106 | figure { 107 | margin: 0; 108 | } 109 | 110 | h1, h2, h3, h4, h5, h6 { 111 | margin: 0 0 1.5rem; 112 | font-weight: 500; 113 | line-height: 1.2; 114 | } 115 | 116 | hr { 117 | height: 0; 118 | border-bottom-style: solid; 119 | border-bottom-width: 1px; 120 | border-top-style: none; 121 | border-left-style: none; 122 | border-right-style: none; 123 | } 124 | 125 | img { 126 | border: 0; 127 | height: auto; 128 | max-width: 100%; 129 | } 130 | 131 | table { 132 | border-collapse: collapse; 133 | border-spacing: 0; 134 | } 135 | 136 | caption, th { 137 | text-align: left; 138 | } 139 | 140 | tr { 141 | border-bottom: 1px solid; 142 | } 143 | 144 | td, th { 145 | height: 3.5rem; 146 | padding-left: .7rem; 147 | padding-right: .7rem; 148 | } 149 | 150 | strong { 151 | font-weight: 700; 152 | } 153 | 154 | code { 155 | font-size: 90%; 156 | font-family: monospace; 157 | background-color: var(--accent-color); 158 | padding: .5ch; 159 | border-radius: .5rem; 160 | } 161 | 162 | /* @end */ 163 | 164 | /* @group Structure */ 165 | 166 | html { 167 | box-sizing: border-box; 168 | font-size: 62.5%; 169 | color: var(--color-default); 170 | background-color: var(--color-background); 171 | } 172 | 173 | html, body { 174 | height: 100%; 175 | } 176 | 177 | body { 178 | font-family: var(--main-font); 179 | font-size: 1.4rem; 180 | line-height: 1.5; 181 | margin: 0; 182 | font-weight: 400; 183 | min-height: 100%; 184 | display: grid; 185 | font-variant: common-ligatures; 186 | -webkit-font-smoothing: antialiased; 187 | } 188 | 189 | .topbar-layout { 190 | display: grid; 191 | grid-template-areas: "header" 192 | "main" 193 | "footer"; 194 | grid-template-columns: 1fr; 195 | grid-template-rows: auto 1fr auto; 196 | } 197 | 198 | .grid-container { 199 | /* Added 240222 for positioning the hamburger menu */ 200 | position: relative; 201 | } 202 | 203 | @media (min-width:700px) { 204 | .sidebar-layout { 205 | display: grid; 206 | grid-template-columns: 25rem 4fr; 207 | grid-template-areas: 208 | "sidebar main" 209 | "footer footer "; 210 | } 211 | } 212 | 213 | @media (min-width:1280px) { 214 | .sidebar-layout { 215 | grid-template-columns: 35rem 4fr; 216 | } 217 | } 218 | 219 | @media (min-width:1800px) { 220 | .sidebar-layout { 221 | grid-template-columns: 40rem 4fr; 222 | } 223 | } 224 | 225 | .header { 226 | grid-area: header; 227 | position: sticky; 228 | top: 0; 229 | background-color: var(--color-navbar); 230 | backdrop-filter: blur(8px); 231 | -webkit-backdrop-filter: blur(8px); 232 | z-index: 500; 233 | } 234 | 235 | .main { 236 | grid-area: main; 237 | /* Les 3 lignes poussent la navigation en pied de page. */ 238 | display: flex; 239 | /* justify-content: space-between;*/ 240 | flex-direction: column; 241 | } 242 | 243 | .sidebar { 244 | grid-area: sidebar; 245 | } 246 | 247 | .footer { 248 | grid-area: footer; 249 | } 250 | 251 | .centered { 252 | display: flex; /* contexte sur le parent */ 253 | flex-direction: column; /* direction d'affichage verticale */ 254 | justify-content: center; /* alignement vertical */ 255 | } 256 | 257 | #index_gal { 258 | display: grid; 259 | grid-template-columns: 1fr 1fr; 260 | grid-column-gap: 2rem; 261 | grid-row-gap: 2rem; 262 | grid-template-rows: auto; 263 | max-width: 1700px; 264 | padding-left: 2rem; 265 | padding-right: 2rem; 266 | padding-bottom: 3rem; 267 | 268 | } 269 | 270 | .container { 271 | margin: 0 auto; 272 | /* max-width: 1800px;*/ 273 | padding-left: 2rem; 274 | padding-right: 2rem; 275 | width: 100%; 276 | } 277 | 278 | #index_gal figure { 279 | display: flex; 280 | flex-direction: column; 281 | /* Overflow added for zoom effect on hover on desktop */ 282 | overflow: hidden; 283 | } 284 | 285 | #index_gal figure a { 286 | display: flex; 287 | flex-direction: column; 288 | } 289 | 290 | .index_gal_desc { 291 | margin-bottom: 3rem; 292 | max-width: 1700px; 293 | } 294 | 295 | 296 | @media (min-width: 700px) { 297 | body { 298 | font-size: 1.5em; 299 | } 300 | 301 | .container { 302 | padding-left: 3rem; 303 | padding-right: 3rem; 304 | } 305 | 306 | #index_gal { 307 | grid-template-columns: 1fr 1fr 1fr; 308 | grid-column-gap: 24px; 309 | grid-row-gap: 24px; 310 | padding-left: 3rem; 311 | padding-right: 3rem; 312 | } 313 | 314 | .footer { 315 | padding-top: 2rem; 316 | padding-bottom: 2rem; 317 | } 318 | 319 | .album-title { 320 | font-size: 125%; 321 | font-weight: 500; 322 | padding-top: 1rem; 323 | } 324 | } 325 | 326 | 327 | @media screen and (min-width: 1280px) { 328 | body { 329 | font-size: 1.6rem; 330 | } 331 | 332 | .container { 333 | padding-left: 6rem; 334 | padding-right: 6rem; 335 | } 336 | 337 | #index_gal { 338 | grid-template-columns: 1fr 1fr 1fr 1fr; 339 | grid-column-gap: 46px; 340 | grid-row-gap: 46px; 341 | padding-left: 56px; 342 | padding-right: 56px; 343 | margin-left: auto; 344 | margin-right: auto; 345 | } 346 | 347 | .xl-space { 348 | margin-top: 3rem; 349 | } 350 | } 351 | 352 | @media screen and (min-width: 1800px) { 353 | .container { 354 | padding-left: 76px; 355 | padding-right: 76px; 356 | } 357 | 358 | #index_gal { 359 | grid-template-columns: 1fr 1fr 1fr 1fr; 360 | grid-column-gap: 56px; 361 | grid-row-gap: 76px; 362 | padding-left: 76px; 363 | padding-right: 76px; 364 | padding-bottom: 8rem; 365 | } 366 | 367 | h1.page_title { 368 | font-size: 300%; 369 | line-height: 1.2; 370 | } 371 | } 372 | 373 | /* @end */ 374 | 375 | /* @group Global */ 376 | 377 | a:active, a:hover, .imagetitle { 378 | color: black; 379 | color: var(--color-default); 380 | } 381 | 382 | .imagetitle { 383 | margin-left: 3px; 384 | } 385 | 386 | .disabledlink { 387 | opacity: 0; 388 | display: none; 389 | } 390 | 391 | .errorbox { 392 | color: red; 393 | } 394 | 395 | .errorbox h2 { 396 | font-size: unset; 397 | margin-bottom: 0; 398 | } 399 | 400 | .skip-to-content { 401 | position: absolute; 402 | width: 1px; 403 | height: 1px; 404 | margin: -1px; 405 | padding: 0; 406 | overflow: hidden; 407 | white-space: nowrap; 408 | border: 0; 409 | visibility: inherit; 410 | clip: rect(0,0,0,0); 411 | } 412 | 413 | .skip-to-content:focus { 414 | top: 30px; 415 | left: 0; 416 | z-index: 9999; 417 | display: flex; 418 | align-items: center; 419 | width: auto; 420 | height: 3rem; 421 | padding: 0 1rem; 422 | color: #f4f4f4; 423 | background-color: #161616; 424 | border: 4px solid #0f62fe; 425 | outline: none; 426 | clip: auto; 427 | } 428 | 429 | /* @end */ 430 | 431 | /* @group Navbar */ 432 | 433 | .navbar { 434 | width: 100%; 435 | display: flex; 436 | justify-content: flex-end; 437 | align-items: center; 438 | padding-left: 2rem; 439 | padding-right: 2rem; 440 | padding-top: 1rem; 441 | padding-bottom: 1rem; 442 | font-weight: 300; 443 | position: -webkit-sticky; 444 | position: sticky; 445 | flex-direction: row; 446 | font-size: 100%; 447 | } 448 | 449 | .navbar a:hover { 450 | color: inherit; 451 | } 452 | 453 | .navbar_title_container { 454 | flex-grow: 1; 455 | padding-right: 15px; 456 | /*order: 1;*/ 457 | } 458 | 459 | #nav-links { 460 | list-style: none; 461 | padding: 0; 462 | margin: 0; 463 | transform: translateY(-100%); 464 | transition: transform 0.3s ease; 465 | } 466 | 467 | #nav-links.active { 468 | transform: translateY(0); 469 | height: 100vh; 470 | overflow: hidden; 471 | } 472 | 473 | #nav-links a, #nav-links li.menu_menulabel, #nav-links .menu-active { 474 | display: inline-block; 475 | padding: 1rem; 476 | padding-top: 1.5rem; 477 | padding-bottom: .25rem; 478 | margin-bottom: .75rem; 479 | position: relative; 480 | } 481 | 482 | .navbar_title_container a { 483 | display: inline-block; 484 | position: relative; 485 | } 486 | 487 | .toggle_nav { 488 | appearance: none; 489 | -moz-appearance: none; 490 | -webkit-appearance: none; 491 | background-color: unset; 492 | border: none; 493 | padding: 0; 494 | padding-top: 2px; 495 | font-size: unset; 496 | margin-left: 12px; 497 | z-index: 250; 498 | position: relative; 499 | display: flex; 500 | align-items: center; 501 | cursor: pointer; 502 | touch-action: manipulation; 503 | user-select: none; 504 | } 505 | 506 | /* Animation */ 507 | 508 | #menu-icon-anime { 509 | width: 15px; 510 | height: 13px; 511 | position: relative; 512 | -webkit-transform: rotate(0deg); 513 | -moz-transform: rotate(0deg); 514 | -o-transform: rotate(0deg); 515 | transform: rotate(0deg); 516 | -webkit-transition: .5s ease-in-out; 517 | -moz-transition: .5s ease-in-out; 518 | -o-transition: .5s ease-in-out; 519 | transition: .5s ease-in-out; 520 | overflow: hidden; 521 | } 522 | 523 | #menu-icon-anime span { 524 | display: block; 525 | position: absolute; 526 | height: 2px; 527 | width: 100%; 528 | background: var(--color-default); 529 | opacity: 1; 530 | left: 0; 531 | -webkit-transform: rotate(0deg); 532 | -moz-transform: rotate(0deg); 533 | -o-transform: rotate(0deg); 534 | transform: rotate(0deg); 535 | -webkit-transition: .25s ease-in-out; 536 | -moz-transition: .25s ease-in-out; 537 | -o-transition: .25s ease-in-out; 538 | transition: .25s ease-in-out; 539 | } 540 | 541 | .toggle_nav:hover > #menu-icon-anime span { 542 | background: var(--color-default); 543 | } 544 | 545 | #menu-icon-anime span:nth-child(1) { 546 | top: 0px; 547 | } 548 | 549 | #menu-icon-anime span:nth-child(2), #menu-icon-anime span:nth-child(3) { 550 | top: 5px; 551 | } 552 | 553 | #menu-icon-anime span:nth-child(4) { 554 | top: 10px; 555 | } 556 | 557 | #menu-icon-anime.open span:nth-child(1) { 558 | top: 18px; 559 | width: 0%; 560 | left: 50%; 561 | } 562 | 563 | #menu-icon-anime.open span:nth-child(2) { 564 | -webkit-transform: rotate(45deg); 565 | -moz-transform: rotate(45deg); 566 | -o-transform: rotate(45deg); 567 | transform: rotate(45deg); 568 | } 569 | 570 | #menu-icon-anime.open span:nth-child(3) { 571 | -webkit-transform: rotate(-45deg); 572 | -moz-transform: rotate(-45deg); 573 | -o-transform: rotate(-45deg); 574 | transform: rotate(-45deg); 575 | } 576 | 577 | #menu-icon-anime.open span:nth-child(4) { 578 | top: 18px; 579 | width: 0%; 580 | left: 50%; 581 | } 582 | /* End Animation */ 583 | 584 | .toggle_nav a { 585 | display: flex; 586 | } 587 | 588 | .toggle_nav:hover { 589 | color: grey; 590 | } 591 | 592 | a.navbar_title { 593 | font-weight: 500; 594 | } 595 | 596 | .navbar_title_container { 597 | /*white-space: nowrap;*/ 598 | } 599 | 600 | #nav-links a::after, #nav-links li.menu_menulabel::after, #nav-links .menu-active::after, .navbar_title_container a::after { 601 | content: ""; 602 | position: absolute; 603 | width: 100%; 604 | height: 1px; 605 | bottom: 0; 606 | left: 0; 607 | background-color: var(--color-default); 608 | opacity: 0; 609 | transform: scaleX(0); 610 | transition: transform .5s cubic-bezier(.165,.84,.44,1),opacity .3s cubic-bezier(.165,.84,.44,1); 611 | } 612 | 613 | #nav-links a:hover::after, a.menu-active::after, #nav-links li.menu_menulabel:hover::after, #nav-links .menu-active::after, .navbar_title_container a:hover::after { 614 | opacity: 1; 615 | transform: scaleX(1); 616 | } 617 | 618 | #nav-links li { 619 | display: flex; 620 | align-items: center; 621 | justify-content: center; 622 | } 623 | 624 | #nav-links li:hover, li:focus-within { 625 | cursor: pointer; 626 | } 627 | 628 | #nav-links li:focus-within a { 629 | outline: none; 630 | } 631 | 632 | [hidden] { 633 | display: none; 634 | } 635 | 636 | 637 | /* Sub-Menu */ 638 | 639 | ul.nav-links-sub { 640 | background: white; 641 | /* visibility: hidden;*/ 642 | /* opacity: 0;*/ 643 | position: absolute; 644 | transition: all 0.5s ease !important; 645 | margin-top: 0; 646 | left: 12px; 647 | padding-left: 10px; 648 | padding-right: 10px; 649 | padding-top: 10px; 650 | border-radius: 5px; 651 | box-shadow: 0 3px 5px #bfbfbf; 652 | z-index: 20; 653 | display: flex; 654 | flex-direction: column; 655 | } 656 | /* Hide sub-menu count */ 657 | 658 | ul.nav-links-sub span { 659 | display: none; 660 | } 661 | 662 | ul#nav-links li:hover > ul.nav-links-sub, ul#nav-links li:focus-within > ul.nav-links-sub, ul#nav-links li ul.nav-links-sub:hover, ul#nav-links li ul.nav-links-sub:focus { 663 | visibility: visible; 664 | opacity: 1; 665 | display: block 666 | } 667 | 668 | ul.nav-links-sub li { 669 | clear: both; 670 | width: 100%; 671 | justify-content: unset !important; 672 | } 673 | 674 | ul.nav-links-sub a { 675 | padding: 0rem !important; 676 | margin: 0!important; 677 | text-align: left; 678 | width: 100%; 679 | padding-bottom: 10px !important; 680 | } 681 | 682 | #search { 683 | display: flex; 684 | } 685 | 686 | #search #search_form div { 687 | display: flex; 688 | align-items: center; 689 | justify-content: center; 690 | } 691 | 692 | #search #search_input { 693 | border-radius: 5px; 694 | transition: width .6s ease-in-out 0s; 695 | will-change: transform; 696 | width: 20px; 697 | height: 20px; 698 | float: right; 699 | background: var(--icon-search) right bottom no-repeat; 700 | background-size: 18px; 701 | border: none; 702 | cursor: pointer; 703 | color: transparent; 704 | font-size: 16px; 705 | } 706 | 707 | #search #search_input:focus { 708 | width: 200px; 709 | background: var(--color-three); 710 | background-repeat: no-repeat; 711 | background-position: 13px center; 712 | color: var(--color-default); 713 | } 714 | 715 | #search_alt #search_form div { 716 | display: flex; 717 | flex-direction: row; 718 | align-items: center; 719 | justify-content: center; 720 | width: 100%; 721 | max-width: 70rem; 722 | margin-left: auto; 723 | margin-right: auto; 724 | } 725 | 726 | #search_alt .tagSuggestContainer { 727 | width: 100%; 728 | } 729 | 730 | #search_alt #search_submit { 731 | margin-left: 20px; 732 | } 733 | 734 | #search_alt #search_input { 735 | 736 | } 737 | 738 | #search #search_submit { 739 | margin-bottom: 0; 740 | margin-right: 0; 741 | display: none; 742 | } 743 | 744 | #search .toggle_searchextrashow, #search_alt .toggle_searchextrashow { 745 | display: none; 746 | } 747 | 748 | span.tagMatches { 749 | width: 300px !important; 750 | position: absolute; 751 | z-index: 100; 752 | max-height: 300px; 753 | text-align: left; 754 | overflow: auto; 755 | border: 0; 756 | top: 30px; 757 | left: -5px; 758 | } 759 | 760 | span.tagMatches span { 761 | color: var(--color-default); 762 | cursor: pointer; 763 | background-color: var(--dark-only-color); 764 | box-shadow: var(--light-only-shadow); 765 | padding: 5px; 766 | border-radius: 5px; 767 | margin-top: 2px; 768 | margin-bottom: 2px; 769 | margin-left: 5px; 770 | margin-right: 5px; 771 | width: 200px; 772 | transition: box-shadow .3s ease-in-out 0s; 773 | } 774 | 775 | span.tagMatches span:hover { 776 | background-color: var(--color-three); 777 | } 778 | 779 | div.bloc-multi-favs span.tagMatches { 780 | top: 5px; 781 | } 782 | 783 | .tagSuggestContainer { 784 | position: relative; 785 | } 786 | 787 | span.breadcrumb a:before { 788 | content: '\00a0/ '; 789 | } 790 | 791 | @media (max-width:700px) { 792 | .navbar_title_container { 793 | order: 1; 794 | } 795 | 796 | #nav-links { 797 | order: 2; 798 | } 799 | 800 | #search { 801 | order: 3; 802 | } 803 | 804 | .toggle_nav { 805 | order: 4; 806 | } 807 | 808 | .index_gal_desc h1 { 809 | display: none; 810 | } 811 | 812 | .sidebar-layout .index_gal_desc h1 { 813 | display: block; 814 | margin-top: 1rem; 815 | } 816 | 817 | .topbar-layout { 818 | display: grid; 819 | /* grid-template-columns: 1fr 1fr 1fr 1fr;*/ 820 | grid-template-rows: auto 1fr auto; 821 | grid-template-areas: "header header header header" "main main main main" "footer footer footer footer"; 822 | } 823 | 824 | .header { 825 | min-height: auto; 826 | padding-bottom: .8rem; 827 | } 828 | 829 | #nav-links { 830 | position: fixed; 831 | justify-content: space-evenly; 832 | z-index: 200; 833 | background-color: var(--color-navbar); 834 | width: 100vw; 835 | left: 0; 836 | top: 0; 837 | padding-top: 30px; 838 | padding-bottom: 10%; 839 | flex-direction: column; 840 | display: flex; 841 | backdrop-filter: blur(5px); 842 | -webkit-backdrop-filter: blur(5px); 843 | } 844 | 845 | #nav-links li { 846 | font-size: 125%; 847 | } 848 | 849 | span.breadcrumb { 850 | font-size: 1.2rem; 851 | } 852 | } 853 | 854 | @media (min-width: 700px) { 855 | .toggle_nav { 856 | display: none 857 | } 858 | 859 | .navbar { 860 | padding-left: 3rem; 861 | padding-right: 3rem; 862 | padding-top: 0; 863 | padding-bottom: 0; 864 | font-size: 100%; 865 | flex-direction: row; 866 | } 867 | 868 | a.navbar_title { 869 | padding-right: 1rem; 870 | } 871 | 872 | #nav-links { 873 | list-style: none; 874 | display: flex; 875 | flex-direction: row; 876 | padding: 0; 877 | margin: 0; 878 | transform: translateY(0); 879 | } 880 | 881 | .sidebar-layout .index_gal_desc h1 { 882 | margin-top: 1rem; 883 | } 884 | } 885 | 886 | @media (min-width:1280px) { 887 | #nav-links a, #nav-links li.menu_menulabel, #nav-links .menu-active, a.navbar_title { 888 | padding: 2rem; 889 | padding-bottom: .5rem; 890 | margin-bottom: 1.5rem; 891 | font-size: 90%; 892 | } 893 | 894 | .breadcrumb a { 895 | font-size: 90%; 896 | padding-bottom: .5rem; 897 | margin-bottom: 1.5rem; 898 | } 899 | 900 | a.navbar_title { 901 | padding-right: 0; 902 | } 903 | 904 | .navbar { 905 | padding-left: 56px; 906 | padding-right: 56px; 907 | } 908 | 909 | #search #search_input { 910 | width: 30px; 911 | height: 35px; 912 | background: var(--icon-search) right center no-repeat; 913 | background-size: 20px; 914 | } 915 | 916 | #search #search_input:focus { 917 | width: 300px; 918 | } 919 | 920 | span.tagMatches { 921 | top: 45px; 922 | } 923 | 924 | .sidebar-layout .index_gal_desc h1 { 925 | margin-top: 2rem; 926 | } 927 | } 928 | @media (min-width:1800px) { 929 | #nav-links a, #nav-links li.menu_menulabel, #nav-links .menu-active, a.navbar_title { 930 | padding-top: 2rem; 931 | padding-bottom: 2rem; 932 | margin-top: 2rem; 933 | margin-bottom: 2rem; 934 | font-size: 100%; 935 | } 936 | 937 | .breadcrumb { 938 | 939 | } 940 | 941 | .breadcrumb a { 942 | font-size: 100%; 943 | padding-bottom: .5rem; 944 | margin-bottom: 1.5rem; 945 | padding-top: 2rem; 946 | padding-bottom: 2rem; 947 | margin-top: 2rem; 948 | margin-bottom: 2rem; 949 | } 950 | 951 | .navbar { 952 | padding-left: 76px; 953 | padding-right: 76px; 954 | } 955 | 956 | #search #search_input { 957 | width: 30px; 958 | height: 40px; 959 | background-size: 25px; 960 | } 961 | } 962 | 963 | /* Just remove left padding for site title */ 964 | 965 | a.navbar_title { 966 | padding-left: 0; 967 | } 968 | 969 | /* @end */ 970 | 971 | 972 | /* @group Pagination */ 973 | 974 | .pagelist { 975 | padding-left: 0; 976 | padding-right: 0; 977 | } 978 | 979 | .pagelist a { 980 | display: inline-block; 981 | margin-bottom: 1rem; 982 | } 983 | 984 | .pagelist-container { 985 | width: 100%; 986 | text-align: center; 987 | padding-bottom: 3rem; 988 | } 989 | 990 | .pagelist ul { 991 | display: inline-block; 992 | padding: 0; 993 | margin-bottom: 3rem; 994 | margin-top: 3rem; 995 | } 996 | 997 | .pagelist li { 998 | display: inline-block; 999 | list-style-type: none; 1000 | margin-right: 1rem; 1001 | cursor: pointer; 1002 | font-size: 100%; 1003 | } 1004 | 1005 | .pagelist li.next { 1006 | margin-right: 0; 1007 | } 1008 | 1009 | .pagelist li.current { 1010 | padding-left: 2rem; 1011 | padding-right: 2rem; 1012 | padding-top: 1rem; 1013 | padding-bottom: 1rem; 1014 | } 1015 | 1016 | /* @end */ 1017 | 1018 | /* @group Galeries + Albums */ 1019 | 1020 | #album_masonry { 1021 | position: relative; 1022 | margin-bottom: 1ch; 1023 | } 1024 | 1025 | .album_thumb_container { 1026 | /* Class contenant la vignette pour l'effet de débordement */ 1027 | border-radius: 10px; 1028 | overflow: hidden; 1029 | margin-bottom: 1rem; 1030 | box-shadow: 0 1px 2px 0 rgba(60,64,67,0.2) ,0 2px 6px 2px rgba(60,64,67,0.2); 1031 | } 1032 | 1033 | .image_thumb_container { 1034 | /* Class contenant la vignette pour l'effet de débordement */ 1035 | overflow: hidden; 1036 | } 1037 | 1038 | .album_thumb_container img { 1039 | display: block; 1040 | /* Fixes to center thumbnails */ 1041 | aspect-ratio: 1 / 1; 1042 | object-fit: cover; 1043 | object-position: 50% 50%; 1044 | } 1045 | 1046 | .album_thumbnail .container img, .galeries #album_masonry img { 1047 | width: 100%; 1048 | } 1049 | 1050 | /* Transition for zoom-in effect on hover */ 1051 | .album_thumbnail .container img, 1052 | .album_thumb_container img, 1053 | .galeries #album_masonry figure, 1054 | .search_images_bloc figure, 1055 | .image_thumb_container img { 1056 | transition: all .3s ease-in-out; 1057 | } 1058 | 1059 | /* Dynamic layout for column masonry */ 1060 | #album_masonry figure { 1061 | position: relative; 1062 | float: left; 1063 | min-height: 1px; 1064 | width: 100%; 1065 | padding-left: 4px; 1066 | padding-right: 4px; 1067 | /* Space between tiles */ 1068 | margin-top: 8px; 1069 | } 1070 | 1071 | @media (min-width:700px) { 1072 | #album_masonry figure { 1073 | width: 50%; 1074 | } 1075 | } 1076 | 1077 | @media (min-width:1280px) { 1078 | #album_masonry figure { 1079 | width: 33.33%; 1080 | padding-left: 8px; 1081 | padding-right: 8px; 1082 | margin-top: 16px; } 1083 | } 1084 | 1085 | @media (min-width:1800px) { 1086 | #album_masonry figure { 1087 | width: 25%; 1088 | } 1089 | } 1090 | 1091 | /* Scale effect on hover for albums & images */ 1092 | .album_thumbnail .container img:hover, 1093 | .album_thumb_container img:hover, 1094 | .image_thumb_container img:hover { 1095 | transform: scale(1.1) 1096 | } 1097 | 1098 | img[alt*="protected"] { 1099 | background: var(--icon-protected); 1100 | background-size: 100%; 1101 | } 1102 | 1103 | .galeries #album_masonry img { 1104 | width: 100%; 1105 | height: auto; 1106 | cursor: zoom-in; 1107 | display: block !important; 1108 | } 1109 | 1110 | .album_head h1 { 1111 | margin-top: 1.5rem; 1112 | font-size: 150%; 1113 | text-align: center; 1114 | line-height: 1.2; 1115 | padding-right: 3rem; 1116 | padding-left: 3rem; 1117 | } 1118 | @media (min-width:700px) { 1119 | .album_head h1 { 1120 | font-size: 200%; 1121 | } 1122 | } 1123 | 1124 | .album_head .albumdes { 1125 | max-width: 130rem; 1126 | max-width: 100ch; 1127 | margin-right: auto; 1128 | margin-left: auto; 1129 | text-align: center; 1130 | } 1131 | 1132 | .album_head { 1133 | margin-bottom: 2rem; 1134 | } 1135 | 1136 | figure.document img[src*="textDefault"] { 1137 | background: var(--icon-textDefault); 1138 | background-size: cover; 1139 | } 1140 | 1141 | img[src*="imageDefault"] { 1142 | background: var(--icon-default); 1143 | background-size: 100%; 1144 | } 1145 | 1146 | .galeries figcaption strong { 1147 | display: block; 1148 | } 1149 | 1150 | .galeries figcaption { 1151 | margin-top: 1rem; 1152 | word-break: break-all; 1153 | padding-bottom: 1ch; 1154 | } 1155 | 1156 | @media (min-width:700px) { 1157 | .album_head { 1158 | margin-bottom: 2rem; 1159 | margin-top: 3rem; 1160 | } 1161 | } 1162 | 1163 | @media (min-width:1280px) { 1164 | .album_head { 1165 | margin-bottom: 8rem; 1166 | margin-top: 4rem; 1167 | } 1168 | } 1169 | 1170 | /* @end */ 1171 | 1172 | /* @group Image */ 1173 | 1174 | .picture_container img { 1175 | width: auto; 1176 | display: block; 1177 | max-height: 85vh; 1178 | } 1179 | 1180 | .picture_container { 1181 | margin-right: auto; 1182 | margin-left: auto; 1183 | margin-bottom: 6rem; 1184 | overflow: hidden; 1185 | background: url(images/icon-loader-2.gif) center center no-repeat; 1186 | background-size: 30px; 1187 | min-height: 75vh; 1188 | display: flex; 1189 | width: 100%; 1190 | align-items: center; 1191 | justify-content: center; 1192 | position: relative; 1193 | } 1194 | 1195 | .album_detail { 1196 | display: flex; 1197 | margin-bottom: 3rem; 1198 | } 1199 | 1200 | .picture_detail { 1201 | max-width: 1700px; 1202 | width: 100%; 1203 | margin-left: auto; 1204 | margin-right: auto; 1205 | padding-left: 3rem; 1206 | padding-right: 3rem; 1207 | display: block; 1208 | margin-bottom: 3rem; 1209 | } 1210 | 1211 | .picture_detail_nav .desc { 1212 | text-align: center; 1213 | max-width: 70rem; 1214 | margin-left: auto; 1215 | margin-right: auto; 1216 | } 1217 | 1218 | .picture_descr, .album_descr { 1219 | flex-grow: 1; 1220 | padding-right: 6rem; 1221 | } 1222 | 1223 | .picture_descr h1 { 1224 | font-weight: 500; 1225 | font-size: 125%; 1226 | } 1227 | 1228 | #picture_breadcrumb { 1229 | text-align: center; 1230 | font-size: 1.3rem; 1231 | } 1232 | 1233 | @media (min-width:700px) { 1234 | .picture_detail { 1235 | display: flex; 1236 | } 1237 | } 1238 | @media (max-width:700px) { 1239 | .picture_detail img { 1240 | margin-bottom: 2rem; 1241 | margin-top: 1rem; 1242 | } 1243 | 1244 | .picture_detail_nav { 1245 | grid-template-columns: 50px 1fr 50px; 1246 | margin-bottom: 3rem; 1247 | } 1248 | 1249 | .picture_container { 1250 | margin-bottom: 2rem; 1251 | margin-top: 0; 1252 | min-height: unset; 1253 | } 1254 | 1255 | .picture_descr, .album_descr { 1256 | flex-grow: 1; 1257 | padding-right: 2rem; 1258 | } 1259 | } 1260 | 1261 | ul.taglist { 1262 | list-style-type: none; 1263 | margin-left: 0; 1264 | margin-right: 0; 1265 | padding: 0; 1266 | } 1267 | 1268 | .taglist li { 1269 | display: inline-block; 1270 | } 1271 | 1272 | .article_single ul.taglist { 1273 | margin-bottom: 2rem; 1274 | } 1275 | 1276 | .taglist a { 1277 | text-transform: uppercase; 1278 | letter-spacing: .1rem; 1279 | font-weight: 500; 1280 | font-size: 1rem; 1281 | display: inline-block; 1282 | margin-left: 0.2rem; 1283 | margin-right: 0.2rem; 1284 | margin-bottom: 0.8rem; 1285 | padding-top: 4px; 1286 | padding-bottom: 4px; 1287 | padding-left: 7px; 1288 | padding-right: 7px; 1289 | text-decoration: none; 1290 | transition: background-color .2s ease-out 0s; 1291 | color: var(--color-default); 1292 | border-radius: 4px; 1293 | background-color: var(--color-bt-off); 1294 | } 1295 | 1296 | .taglist a:hover, .pagelist a:hover { 1297 | transition: background-color .2s ease-out 0s; 1298 | background-color: var(--color-bt-on); 1299 | } 1300 | 1301 | /* Commented because I don't remember why ?? */ 1302 | /*.taglist li:first-child > a { 1303 | margin-left: -1px; 1304 | }*/ 1305 | 1306 | .prev_img, .next_img { 1307 | -webkit-tap-highlight-color: transparent; 1308 | box-shadow: 0 1px 2px 0 rgba(60,64,67,0.2) ,0 2px 6px 2px rgba(60,64,67,0.2); 1309 | background: var(--dark-only-color-2); 1310 | border: 0; 1311 | border-radius: 50%; 1312 | bottom: auto; 1313 | display: block; 1314 | height: 24px; 1315 | width: 24px; 1316 | top: calc(50vh - 30px); 1317 | outline: none; 1318 | position: absolute; 1319 | transition: background-color 200ms ease-out,opacity 150ms ease-out,box-shadow 150ms ease-out; 1320 | z-index: 500; 1321 | cursor: pointer; 1322 | opacity: 1; 1323 | pointer-events: auto; 1324 | } 1325 | 1326 | .prev_img { 1327 | left: 24px; 1328 | } 1329 | 1330 | .next_img { 1331 | right: 24px; 1332 | } 1333 | 1334 | .next_img:hover, .prev_img:hover { 1335 | box-shadow: 0 1px 2px 0 rgba(60,64,67,0.5) ,0 2px 6px 2px rgba(60,64,67,0.5); 1336 | } 1337 | 1338 | .next_img:hover svg { 1339 | fill: var(--color-default); 1340 | } 1341 | 1342 | .next_img svg, .prev_img svg { 1343 | color: #dadce0; 1344 | cursor: pointer; 1345 | pointer-events: auto; 1346 | -webkit-tap-highlight-color: transparent; 1347 | fill: var(--color-four); 1348 | height: 20px; 1349 | left: 50%; 1350 | margin: -10px 0 0 -10px; 1351 | position: absolute; 1352 | top: 50%; 1353 | width: 20px; 1354 | } 1355 | 1356 | .next_img svg { 1357 | transform: rotate(180deg); 1358 | } 1359 | 1360 | .overlay_nav_container { 1361 | position: absolute; 1362 | height: 100%; 1363 | width: 100%; 1364 | display: flex; 1365 | } 1366 | 1367 | .cursor_prev { 1368 | border: none; 1369 | z-index: 2; 1370 | cursor: url(images/cursor_left.svg),w-resize; 1371 | width: 100%; 1372 | height: 100%; 1373 | } 1374 | 1375 | .cursor_next { 1376 | border: none; 1377 | z-index: 2; 1378 | width: 100%; 1379 | height: 100%; 1380 | cursor: url(images/cursor_right.svg),e-resize; 1381 | } 1382 | 1383 | .cursor_close { 1384 | border: none; 1385 | z-index: 2; 1386 | width: 100%; 1387 | height: 100%; 1388 | cursor: url(images/cursor_close.png),auto; 1389 | cursor: url(images/cursor_close.svg),auto; 1390 | } 1391 | 1392 | .picture_icons { 1393 | display: flex; 1394 | flex-direction: row; 1395 | } 1396 | 1397 | a.svg_button { 1398 | display: inline-block; 1399 | padding-top: 12px; 1400 | padding-left: 14px; 1401 | width: 45px; 1402 | height: 45px; 1403 | transition:background-color .2s ease-out 0s; 1404 | border-radius: 4px; 1405 | background-color: var(--color-bt-off); 1406 | } 1407 | 1408 | a.svg_button.download path { 1409 | fill: var(--color-four); 1410 | } 1411 | 1412 | a.svg_button:hover { 1413 | background-color: var(--color-bt-on); 1414 | } 1415 | 1416 | .img_responsive { 1417 | position: relative; 1418 | } 1419 | 1420 | .close_icon { 1421 | position: absolute; 1422 | right: 0; 1423 | top: 0; 1424 | width: 40px; 1425 | height: 40px; 1426 | overflow: hidden; 1427 | background: url(images/cursor_close.svg) center center no-repeat; 1428 | box-shadow: var(--light-only-shadow); 1429 | border-radius: 50px; 1430 | text-indent: 500px; 1431 | margin: -10px; 1432 | z-index: 900; 1433 | } 1434 | 1435 | div.textobject { 1436 | background-color: white; 1437 | max-width: 80rem; 1438 | padding-left: 2rem; 1439 | padding-right: 2rem; 1440 | max-height: 50vh !important; 1441 | overflow: auto; 1442 | } 1443 | 1444 | @media (min-width:1280px) { 1445 | .prev_img, .next_img { 1446 | height: 56px; 1447 | top: calc(50vh - 28px); 1448 | width: 56px; 1449 | } 1450 | 1451 | .picture_descr h1 { 1452 | font-size: 200%; 1453 | } 1454 | 1455 | .taglist a { 1456 | font-size: 1.2rem; 1457 | padding-top: 7px; 1458 | padding-bottom: 7px; 1459 | padding-left: 10px; 1460 | padding-right: 10px; 1461 | } 1462 | } 1463 | 1464 | /* @end */ 1465 | 1466 | /* @group Blocks / Plugins */ 1467 | 1468 | .media_supp_content section { 1469 | padding: 2rem; 1470 | border-radius: 5px; 1471 | margin-bottom: 3vw; 1472 | background-color: var(--dark-only-color); 1473 | } 1474 | 1475 | /* Styling bloc-favs */ 1476 | 1477 | div.bloc-favs { 1478 | display: inline-block; 1479 | width: 45px; 1480 | height: 45px; 1481 | overflow: hidden; 1482 | border-radius: 4px; 1483 | margin-left: 12px; 1484 | } 1485 | 1486 | div.bloc-favs .imagesFavorites_add, 1487 | div.bloc-favs .albumsFavorites_add, 1488 | div.bloc-favs .imagesFavorites_remove, 1489 | div.bloc-favs .albumsFavorites_remove { 1490 | background: var(--icon-fav-add) 7px center no-repeat; 1491 | background-color: var(--color-bt-off); 1492 | background-size: 30px; 1493 | transition:background-color .2s ease-out 0s; 1494 | } 1495 | 1496 | div.bloc-favs .imagesFavorites_remove, 1497 | div.bloc-favs .albumsFavorites_remove { 1498 | background-image: url(images/f_rem.svg); 1499 | } 1500 | 1501 | div.bloc-favs .imagesFavorites_add:hover, 1502 | div.bloc-favs .albumsFavorites_add:hover, 1503 | div.bloc-favs .imagesFavorites_remove:hover, 1504 | div.bloc-favs .albumsFavorites_remove:hover { 1505 | background-color: var(--color-bt-on); 1506 | } 1507 | 1508 | div.bloc-favs form { 1509 | margin: 0; 1510 | padding: 0; 1511 | display: inline-block; 1512 | } 1513 | 1514 | div.bloc-favs input { 1515 | margin: 0; 1516 | padding: 0; 1517 | width: 45px; 1518 | height: 45px; 1519 | border-radius: 0; 1520 | background-color: unset; 1521 | color: blue; 1522 | text-indent: 500px; 1523 | cursor: pointer; 1524 | } 1525 | 1526 | div.bloc-favs input:hover { 1527 | background-color: unset; 1528 | } 1529 | 1530 | div.bloc-multi-favs { 1531 | margin-left: 15px; 1532 | } 1533 | 1534 | div.bloc-multi-favs .button { 1535 | margin-bottom: 15px; 1536 | width: 100%; 1537 | } 1538 | 1539 | div.bloc-multi-favs .imagesFavorites_remove .button, 1540 | div.bloc-multi-favs .albumsFavorites_remove .button { 1541 | color: red; 1542 | border: 1px solid #e2e2e2; 1543 | border-radius: 4px; 1544 | box-shadow: none; 1545 | transition: transform .2s ease-out 0s; 1546 | } 1547 | 1548 | div.comment { 1549 | background-color: var(--color-three); 1550 | border-radius: 5px; 1551 | padding: 1rem; 1552 | margin-bottom: 2rem; 1553 | } 1554 | 1555 | .bloc-comments a { 1556 | text-decoration: underline; 1557 | /* Fix for displaying somes links. */ 1558 | } 1559 | 1560 | section.bloc-rating form { 1561 | display: flex; 1562 | justify-content: space-between; 1563 | } 1564 | 1565 | section.bloc-rating .star-rating-control { 1566 | display: inline-block; 1567 | transform-origin: top left; 1568 | align-self: center; 1569 | padding-right: 2rem; 1570 | } 1571 | 1572 | section.bloc-osm:not(:has(#osm_map)) { 1573 | /* Hide the osm section if there is now data */ 1574 | display: none; 1575 | } 1576 | 1577 | .bloc-rating-content { 1578 | display: flex; 1579 | flex-direction: column; 1580 | gap:1ch 1581 | } 1582 | 1583 | section.bloc-rating .star-rating-control::after { 1584 | content: ""; 1585 | display: table; 1586 | clear: both; 1587 | } 1588 | 1589 | .commentinfo { 1590 | display: inline-block; 1591 | } 1592 | 1593 | .commentinfo h4 { 1594 | margin: 0; 1595 | font-weight: 500; 1596 | } 1597 | 1598 | #commentcontent h3 { 1599 | font-size: 100%; 1600 | font-weight: 500; 1601 | } 1602 | 1603 | #commentcontent h3:first-child { 1604 | display: none; 1605 | } 1606 | 1607 | #commentcontent h3.empty { 1608 | color: grey; 1609 | } 1610 | 1611 | .commentinfo h4:after { 1612 | display: inline-block; 1613 | content: '\00a0—\00a0'; 1614 | } 1615 | 1616 | .commenttext { 1617 | display: inline; 1618 | } 1619 | 1620 | #commentform p { 1621 | display: block; 1622 | font-size: 1.2rem; 1623 | } 1624 | 1625 | #commentform input { 1626 | display: block; 1627 | width: 100%; 1628 | font-size: 120%; 1629 | } 1630 | 1631 | #commentform input[type='checkbox'] { 1632 | display: inline-block; 1633 | width: auto; 1634 | } 1635 | 1636 | input#comment_dataconfirmation { 1637 | display: block; 1638 | float: right; 1639 | } 1640 | 1641 | #commentform .inputbox { 1642 | flex-grow: 2; 1643 | } 1644 | 1645 | #imagemetadata_data table { 1646 | width: 100%; 1647 | } 1648 | 1649 | #imagemetadata_data tr { 1650 | border-bottom: 1px solid var(--color-second); 1651 | } 1652 | 1653 | .media_supp:not(:has(section)) { 1654 | /* Hide aside element if no plugin/data is active/displayed */ 1655 | display: none; 1656 | } 1657 | 1658 | .media_supp, .bloc_relat_item { 1659 | width: 100%; 1660 | border-top: 1px solid var(--color-second); 1661 | padding-top: 3rem; 1662 | display: block; 1663 | padding-left: 1rem; 1664 | padding-right: 1rem; 1665 | } 1666 | 1667 | .media_supp_content, .bloc_relat_item_content { 1668 | max-width: 1700px; 1669 | margin-left: auto; 1670 | margin-right: auto; 1671 | } 1672 | 1673 | .bloc_relat_item ul { 1674 | display: grid; 1675 | grid-template-columns: 1fr 1fr; 1676 | gap: 1rem; 1677 | font-size: 90%; 1678 | padding: 0; 1679 | margin: 0; 1680 | padding-bottom: 3rem; 1681 | } 1682 | 1683 | .bloc_relat_item li { 1684 | margin: 0; 1685 | padding: 0; 1686 | list-style-type: none; 1687 | display: inline-block; 1688 | position: relative; 1689 | padding: 5px; 1690 | border-radius: 10px; 1691 | box-shadow: var(--light-only-shadow); 1692 | background-color: var(--dark-only-color); 1693 | transition: box-shadow .2s ease-out 0s,transform .2s ease-out 0s; 1694 | } 1695 | 1696 | .bloc_relat_item p { 1697 | margin: 0; 1698 | } 1699 | 1700 | .bloc_relat_item li:hover { 1701 | box-shadow: var(--light-only-shadow-hover); 1702 | transform: translateY(-3px); 1703 | } 1704 | 1705 | .bloc_relat_item li h4 a { 1706 | color: inherit; 1707 | padding-top: 15px; 1708 | line-height: 1.3; 1709 | } 1710 | 1711 | .bloc_relat_item img { 1712 | display: block; 1713 | border-radius: 4px; 1714 | width: 100%; 1715 | } 1716 | 1717 | a.relateditems_thumb { 1718 | display: inherit; 1719 | margin-bottom: 15px; 1720 | } 1721 | 1722 | .clearfix { 1723 | border: 1px solid #333; 1724 | content: ""; 1725 | display: table; 1726 | clear: both; 1727 | padding-bottom: 2px; 1728 | } 1729 | /* Featured Image Plugin */ 1730 | 1731 | .featuredimage_singlenews, 1732 | .featuredimage_singlepage { 1733 | margin-bottom: 2rem; 1734 | } 1735 | 1736 | 1737 | @media (min-width:700px) { 1738 | 1739 | .bloc_relat_item ul { 1740 | grid-template-columns: repeat(auto-fill, calc(24.20%)); 1741 | gap: 1%; 1742 | } 1743 | 1744 | 1745 | .picture_detail, .media_supp, .bloc_relat_item { 1746 | margin-bottom: 6rem; 1747 | } 1748 | 1749 | .media_supp, .bloc_relat_item { 1750 | padding-top: 6rem; 1751 | padding-left: 3rem; 1752 | padding-right: 3rem; 1753 | } 1754 | 1755 | .media_supp_content section { 1756 | box-shadow: var(--light-only-shadow); 1757 | } 1758 | 1759 | .bloc_relat_item li h4 { 1760 | font-size: 110%; 1761 | margin-bottom: 1rem; 1762 | } 1763 | 1764 | .bloc_relat_item li.news h4:before, .bloc_relat_item li.pages h4:before { 1765 | content: var(--icon-textDefault-related); 1766 | display: block; 1767 | margin-bottom: 15px; 1768 | width: 100%; 1769 | aspect-ratio: 1 / 1; 1770 | background-color: var(--color-three); 1771 | } 1772 | 1773 | #commentform p { 1774 | display: flex; 1775 | font-size: 100%; 1776 | } 1777 | 1778 | #commentform label { 1779 | align-self: center; 1780 | flex-grow: 1; 1781 | width: 15rem; 1782 | } 1783 | 1784 | #commentform input { 1785 | width: auto; 1786 | font-size: unset; 1787 | } 1788 | } 1789 | 1790 | @media (min-width:960px) { 1791 | .bloc_relat_item ul { 1792 | grid-template-columns: repeat(auto-fill, calc(19.20%)); 1793 | gap: 1%; 1794 | } 1795 | } 1796 | 1797 | @media (min-width:1280px) { 1798 | 1799 | .media_supp_content { 1800 | display: grid; 1801 | grid-template-columns: 1fr 1fr; 1802 | gap: 3vw; 1803 | } 1804 | 1805 | .bloc_relat_item ul { 1806 | grid-template-columns: repeat(auto-fill, calc(19.20%)); 1807 | gap: 1%; 1808 | font-size: 100%; 1809 | } 1810 | 1811 | .picture_detail, .media_supp, .bloc_relat_item { 1812 | margin-bottom: 12rem; 1813 | padding-left: 12rem; 1814 | padding-right: 12rem; 1815 | } 1816 | 1817 | .media_supp, .bloc_relat_item { 1818 | padding-top: 11rem; 1819 | } 1820 | } 1821 | 1822 | /* @end */ 1823 | 1824 | /* @group news-layout */ 1825 | 1826 | .news-layout { 1827 | display: block; 1828 | flex-direction: column; 1829 | padding-top: 2.5vw; 1830 | width: 95vw; 1831 | margin: auto; 1832 | } 1833 | 1834 | .singlenews_prev, .singlenews_next { 1835 | display: inline-block; 1836 | font-size: .8em; 1837 | padding-right: 2rem; 1838 | display: none; 1839 | } 1840 | 1841 | .singlenews_prev a, .singlenews_next a { 1842 | text-decoration: underline; 1843 | } 1844 | 1845 | .news-layout h2, .article_single h1 { 1846 | margin-bottom: 0; 1847 | } 1848 | 1849 | .article_loop .article_infos { 1850 | font-size: 1.1rem; 1851 | padding-bottom: .5rem; 1852 | margin-bottom: 1rem; 1853 | } 1854 | 1855 | .news-layout article { 1856 | margin-bottom: 2rem; 1857 | } 1858 | 1859 | .news-layout ul.newscategories { 1860 | display: inline; 1861 | margin: 0; 1862 | padding: 0; 1863 | } 1864 | 1865 | .news-layout ul.newscategories a { 1866 | text-decoration: underline; 1867 | } 1868 | 1869 | .news-layout ul.newscategories li { 1870 | display: inline-block; 1871 | } 1872 | 1873 | .news-layout ul#categories_list { 1874 | margin: 0; 1875 | padding: 0; 1876 | list-style-type: none; 1877 | margin-bottom: 3rem; 1878 | } 1879 | 1880 | .news-layout ul#categories_list li { 1881 | border-bottom-style: solid; 1882 | border-bottom-width: 1px; 1883 | padding-bottom: 1rem; 1884 | padding-top: 1rem; 1885 | } 1886 | 1887 | .news-layout ul#categories_list li:hover { 1888 | background-color: var(--color-three); 1889 | transition: background .3s ease-in-out 0s; 1890 | } 1891 | 1892 | .news-layout .categories_list_active { 1893 | font-weight: 500; 1894 | } 1895 | 1896 | .news-layout ul#categories_list li a { 1897 | display: block; 1898 | } 1899 | 1900 | 1901 | 1902 | /*.news-layout ul#categories_list li a:hover { 1903 | background-color: #ebebeb; 1904 | }*/ 1905 | 1906 | .article_single .bloc-rating, .article_single .bloc-comments { 1907 | padding-top: 2rem; 1908 | padding-bottom: 2rem; 1909 | border-top: 1px solid #333; 1910 | } 1911 | 1912 | 1913 | @media (min-width:700px) { 1914 | .article_side { 1915 | order: 1; 1916 | } 1917 | 1918 | .article_loop, .article_single { 1919 | order: 2; 1920 | } 1921 | 1922 | .news-layout { 1923 | display: grid; 1924 | grid-template-columns: 1fr 2fr; 1925 | grid-column-gap: 2.5vw; 1926 | padding-left: 5vw; 1927 | padding-right: 5vw; 1928 | padding-top: 2.5vw; 1929 | width: 100%; 1930 | margin-left: auto; 1931 | margin-right: auto; 1932 | } 1933 | } 1934 | 1935 | @media (min-width:1280px) { 1936 | .article_loop .article_infos, .article_single .article_infos { 1937 | font-size: 1.2rem; 1938 | padding-bottom: .5rem; 1939 | margin-bottom: 2rem; 1940 | } 1941 | 1942 | .article_loop article, .article_single { 1943 | margin-bottom: 6rem; 1944 | } 1945 | } 1946 | 1947 | /* @end */ 1948 | 1949 | /* @group My favorites Page */ 1950 | 1951 | .fav_thumb { 1952 | position: relative; 1953 | } 1954 | 1955 | .fav_thumb div.bloc-favs { 1956 | position: absolute; 1957 | top: 10px; 1958 | left: 10px; 1959 | border: none; 1960 | box-shadow: none; 1961 | transition: opacity .3s ease-in-out 0s; 1962 | margin: 0; 1963 | background: none; 1964 | } 1965 | 1966 | .fav_thumb .bloc-favs:hover { 1967 | box-shadow: none; 1968 | transform: translateY(-0px); 1969 | opacity: .5; 1970 | } 1971 | 1972 | /* @end */ 1973 | 1974 | /* @group Search */ 1975 | 1976 | ul.pages_search_blocs { 1977 | padding: 0; 1978 | list-style-type: none; 1979 | margin-bottom: 2ch; 1980 | } 1981 | 1982 | ul.pages_search_blocs li { 1983 | margin-bottom: 1ch; 1984 | } 1985 | 1986 | 1987 | ul.pages_search_blocs h3, ul.pages_search_blocs p { 1988 | display: inline-block; 1989 | margin: 0; 1990 | } 1991 | 1992 | ul.pages_search_blocs h3 { 1993 | margin-right: 15px; 1994 | } 1995 | 1996 | ul.search_images_bloc { 1997 | display: grid; 1998 | grid-template-columns: 1fr 1fr 1fr 1fr; 1999 | grid-column-gap: 24px; 2000 | grid-row-gap: 24px; 2001 | list-style-type: none; 2002 | margin: 0; 2003 | padding: 0; 2004 | } 2005 | 2006 | .search_template { 2007 | margin-bottom: 3rem; 2008 | } 2009 | 2010 | /* @end */ 2011 | 2012 | /* @group Footer */ 2013 | 2014 | .footer { 2015 | border-top: 1px solid var(--color-second); 2016 | text-align: center; 2017 | } 2018 | 2019 | .footer a:hover { 2020 | text-decoration: underline; 2021 | } 2022 | 2023 | ul.foot-links li { 2024 | display: inline-block; 2025 | padding-top: 1ch; 2026 | padding-left: 1ch; 2027 | padding-right: 1ch; 2028 | font-size: var(--small-font); 2029 | } 2030 | 2031 | ul.foot-links { 2032 | padding: 0; 2033 | } 2034 | 2035 | @media (min-width:700px) { 2036 | ul.foot-links li { 2037 | padding-top: 1ch; 2038 | padding-left: 1ch; 2039 | padding-right: 1ch; 2040 | } 2041 | } 2042 | 2043 | /* @end */ 2044 | 2045 | /* @group Page (general template page, news, password…) */ 2046 | 2047 | .pages-layout article, 2048 | .password-layout, 2049 | .register-layout, 2050 | .archive-layout { 2051 | max-width: 1000px; 2052 | margin-left: auto; 2053 | margin-right: auto; 2054 | margin-top: 3rem; 2055 | padding-left: 2rem; 2056 | padding-right: 2rem; 2057 | margin-bottom: 3rem; 2058 | } 2059 | 2060 | @media (min-width:700px) { 2061 | .pages-layout article { 2062 | padding-left: 3rem; 2063 | padding-right: 3rem; 2064 | } 2065 | } 2066 | @media (min-width:1280px) { 2067 | .pages-layout { 2068 | margin-top: 6rem; 2069 | font-size: 120%; 2070 | } 2071 | 2072 | .pages-layout article { 2073 | margin-bottom: 10rem; 2074 | } 2075 | } 2076 | 2077 | .page a { 2078 | text-decoration: underline; 2079 | } 2080 | 2081 | .contact-layout { 2082 | padding-left: 5vw; 2083 | padding-right: 5vw; 2084 | padding-top: 3vw; 2085 | max-width: 80rem; 2086 | } 2087 | 2088 | /* @end */ 2089 | 2090 | /* @group Archive Page */ 2091 | 2092 | @media (min-width:700px) { 2093 | .archive_grid { 2094 | display: grid; 2095 | grid-template-columns: 2fr 1fr; 2096 | column-gap: 3%; 2097 | } 2098 | } 2099 | 2100 | ul.archive { 2101 | list-style-type: none; 2102 | padding-left: 0; 2103 | } 2104 | 2105 | .archive_grid h3 { 2106 | padding-bottom: 1rem; 2107 | border-bottom-style: solid; 2108 | border-bottom-width: 1px; 2109 | } 2110 | 2111 | ul.month, ul.tags { 2112 | padding-left: 0; 2113 | list-style-type: none; 2114 | margin-top: 1rem; 2115 | display: flex; 2116 | flex-direction: row; 2117 | flex-wrap: wrap; 2118 | justify-content: space-between; 2119 | align-items: center; 2120 | padding-top: 1rem; 2121 | padding-bottom: 2rem; 2122 | } 2123 | 2124 | ul.month li, ul.tags li { 2125 | flex-grow: 1; 2126 | padding-left: 1rem; 2127 | padding-right: 1rem; 2128 | margin-bottom: 1rem; 2129 | } 2130 | 2131 | ul.month li a, ul.tags li a { 2132 | width: 100%; 2133 | display: inline-block; 2134 | text-align: center; 2135 | padding-top: 1rem; 2136 | padding-bottom: 1rem; 2137 | padding-left: 10px; 2138 | padding-right: 10px; 2139 | text-decoration: none; 2140 | border-radius: 4px; 2141 | transition: box-shadow .2s ease-out 0s,transform .2s ease-out 0s,background-color .2s ease-out 0s; 2142 | box-shadow: var(--light-only-shadow); 2143 | background-color: var(--dark-only-color-2); 2144 | } 2145 | 2146 | ul.month li a:hover, ul.tags li a:hover { 2147 | box-shadow: var(--light-only-shadow-hover); 2148 | background-color: var(--dark-only-color); 2149 | } 2150 | 2151 | li.year { 2152 | padding-top: 1rem; 2153 | } 2154 | 2155 | /* @end */ 2156 | 2157 | /* @group Formulaires + Password */ 2158 | 2159 | .contact-form, .password-form { 2160 | margin-bottom: 3rem; 2161 | } 2162 | 2163 | .password-form fieldset { 2164 | border: 0; 2165 | padding-left: 0; 2166 | padding-right: 0; 2167 | margin-top: 2rem; 2168 | } 2169 | 2170 | #disclose_password { 2171 | border: 1px solid #333; 2172 | display: inline-block; 2173 | width: 30px; 2174 | bottom: 2px; 2175 | position: relative; 2176 | } 2177 | 2178 | .password-form button, input[type='submit'], .bloc-rating .button, main #register_link, .pagelist a { 2179 | appearance: none; 2180 | -moz-appearance: none; 2181 | -webkit-appearance: none; 2182 | padding-left: 2rem; 2183 | padding-right: 2rem; 2184 | padding-top: 1rem; 2185 | padding-bottom: 1rem; 2186 | border: none; 2187 | border-radius: 4px; 2188 | transition: box-shadow .2s ease-out 0s, transform .2s ease-out 0s,background-color .2s ease-out 0s; 2189 | width: auto; 2190 | background-color: var(--color-bt-off); 2191 | color: unset; 2192 | font-size: 100%; 2193 | } 2194 | 2195 | .password-form button:hover, input[type='submit']:hover, .bloc-rating .button:hover, main #register_link:hover, .pagelist a:hover { 2196 | cursor: pointer; 2197 | background-color: var(--color-bt-on); 2198 | } 2199 | 2200 | .password-form img { 2201 | display: none; 2202 | } 2203 | 2204 | .password-form button[type*="reset"] { 2205 | display: none; 2206 | } 2207 | 2208 | #logon_box legend { 2209 | font-weight: 500; 2210 | } 2211 | 2212 | #logon_box fieldset legend { 2213 | font-weight: 300; 2214 | } 2215 | 2216 | .link_to_sub { 2217 | margin-top: 3rem; 2218 | margin-top: 6vh; 2219 | } 2220 | 2221 | input, textarea { 2222 | border: 1px solid var(--color-second); 2223 | padding: 1rem; 2224 | color: var(--color-default); 2225 | width: 100%; 2226 | display: block; 2227 | border-radius: 3px; 2228 | font-size: 100%; 2229 | font-weight: 300; 2230 | background-color: var(--dark-only-color-2); 2231 | } 2232 | 2233 | textarea { 2234 | width: 100%; 2235 | min-height: 20rem; 2236 | } 2237 | 2238 | input[type='reset'] { 2239 | display: none; 2240 | } 2241 | 2242 | #mailform input[type='checkbox'] { 2243 | display: inline-block; 2244 | width: auto; 2245 | margin-right: 10px; 2246 | } 2247 | 2248 | /* @end */ 2249 | 2250 | /* @group Theme Switcher */ 2251 | 2252 | .themeSwitcherControlLink { 2253 | position: fixed; 2254 | z-index: 600; 2255 | font-size: 12px; 2256 | border: none; 2257 | height: 30px; 2258 | background-color: rgb(173, 173, 173) !important; 2259 | bottom: 0 !important; 2260 | left: 30vw; 2261 | } 2262 | 2263 | .themeSwitcherControlLink input { 2264 | display: inline-block; 2265 | width: auto; 2266 | } 2267 | 2268 | /* @end */ 2269 | 2270 | /* @group Bonus */ 2271 | 2272 | .btn-action { 2273 | padding: 18px; 2274 | margin: 6px; 2275 | text-align: center; 2276 | cursor: pointer; 2277 | text-decoration: none; 2278 | font-weight: 500; 2279 | border-radius: 4px; 2280 | transition: box-shadow 0.1s ease-in-out 0s, background-color 0.1s ease-in-out 0s; 2281 | box-shadow: rgba(0, 0, 0, 0.45) 0px 1px 2px 0px,0 0 0 1px rgb(0 0 0 / 9%); 2282 | } 2283 | 2284 | .btn-action:hover { 2285 | box-shadow: var(--light-only-shadow-hover); 2286 | } 2287 | 2288 | .btn-space { 2289 | margin-top: 36px; 2290 | margin-bottom: 36px; 2291 | display: flex; 2292 | flex-basis: auto; 2293 | justify-content: center; 2294 | text-align: center; 2295 | } 2296 | 2297 | .shadow { 2298 | box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23); 2299 | } 2300 | 2301 | .space-up-bottom { 2302 | margin-top: 2rem; 2303 | margin-bottom: 2rem; 2304 | } 2305 | 2306 | /* @end */ 2307 | 2308 | /* @group Sidebar */ 2309 | 2310 | /* .nav-display is an actionnable class made for both menus (top and side) */ 2311 | 2312 | #sidebar.nav-display { 2313 | background-color: rgba(0, 0, 0, 0.04); 2314 | padding: 2ch; 2315 | display: none; 2316 | z-index: 100; 2317 | } 2318 | 2319 | #sidebar.nav-display.active { 2320 | display: block; 2321 | margin-bottom: 2rem ; 2322 | } 2323 | 2324 | /* Show sidebar by default on bigger viewport */ 2325 | @media (min-width:700px) { 2326 | #sidebar.nav-display { 2327 | display: unset; 2328 | } 2329 | } 2330 | 2331 | /* Custom hamburger menu positioning for the sidebar view */ 2332 | .sidebar-layout .toggle_nav { 2333 | position: absolute; 2334 | top: 0; 2335 | right: 0; 2336 | z-index: 900; 2337 | padding: 2rem; 2338 | } 2339 | 2340 | #sidebar .sidebar_site_title { 2341 | font-weight: 500; 2342 | margin-bottom: 1ch; 2343 | padding-left: unset; 2344 | font-size: 125%; 2345 | display: inline-block; 2346 | } 2347 | 2348 | /* .menu_menulabel is generated by menu_manager extension */ 2349 | #sidebar h2, 2350 | .menu_menulabel { 2351 | font-size: 1.4rem; 2352 | opacity: .5; 2353 | margin-bottom: 1ch; 2354 | font-weight: 600; 2355 | } 2356 | 2357 | 2358 | #sidebar h2 a { 2359 | /* Prevent spacing on Galerie link */ 2360 | padding: unset; 2361 | padding-left: unset; 2362 | } 2363 | 2364 | 2365 | 2366 | #sidebar li a { 2367 | padding: .2ch; 2368 | padding-right: 1ch; 2369 | padding-left: 1ch; 2370 | display: inline-block; 2371 | width: fit-content; 2372 | border-radius: 5px; 2373 | transition: background 100ms ease-in-out 0s; 2374 | } 2375 | 2376 | #sidebar li a:hover, 2377 | #sidebar li.menu-active a { 2378 | background-color: rgba(0, 0, 0, 0.15); 2379 | } 2380 | 2381 | #sidebar li.menu-active > .submenu li a { 2382 | /* Hide background color on child element when parent is active */ 2383 | background-color: unset; 2384 | } 2385 | 2386 | /* Apply background on active li element if there is no links (eg: menu_manager extension) */ 2387 | #sidebar li.menu-active:not(:has(a)) { 2388 | background-color: rgba(0, 0, 0, 0.15); 2389 | padding: .2ch; 2390 | padding-right: 1ch; 2391 | padding-left: 1ch; 2392 | display: inline-block; 2393 | width: fit-content; 2394 | border-radius: 5px; 2395 | } 2396 | 2397 | #sidebar ul { 2398 | list-style-type: none; 2399 | padding: 0; 2400 | margin-top: 0; 2401 | margin-bottom: 2ch; 2402 | display: flex; 2403 | flex-direction: column; 2404 | } 2405 | 2406 | #sidebar .submenu { 2407 | margin-left: 2ch; 2408 | margin-bottom: unset; 2409 | } 2410 | 2411 | 2412 | #sidebar_search form { 2413 | border-radius: .7rem; 2414 | background-color: var(--color-bt-off); 2415 | margin-bottom: 2ch; 2416 | margin-top: 1ch; 2417 | } 2418 | 2419 | #sidebar #search_input { 2420 | /* Fix to prevent zooming on smartphones */ 2421 | font-size: 1.6rem; 2422 | border-radius: .7rem; 2423 | border-top-right-radius: 0; 2424 | border-bottom-right-radius: 0; 2425 | background-color: var(--color-bt-off); 2426 | border: none; 2427 | font-weight: 600; 2428 | width: 100%; 2429 | outline: 0; /* focus style on parent */ 2430 | } 2431 | 2432 | #sidebar_search .toggle_searchextrashow { 2433 | /* Hide search options on sidebar */ 2434 | display: none; 2435 | } 2436 | 2437 | #sidebar_search #search_form div { 2438 | display: flex; 2439 | justify-content: space-between; 2440 | } 2441 | 2442 | #sidebar_search .tagSuggestContainer { 2443 | flex-grow: 1; 2444 | } 2445 | 2446 | #sidebar_search #search_form:focus-within { 2447 | outline: 2px solid var(--color-bt-on); 2448 | outline-offset: 0px; 2449 | } 2450 | 2451 | @media (min-width: 700px) { 2452 | #sidebar { 2453 | font-size: 1.5rem; 2454 | border-right: 1px solid rgba(0, 0, 0, 0.19); 2455 | } 2456 | 2457 | #sidebar #search_input { 2458 | font-size: unset; 2459 | /* Fix to prevent zooming on smartphones */ 2460 | } 2461 | } 2462 | 2463 | /* @end */ 2464 | 2465 | /* @group Javascript configuration */ 2466 | 2467 | .js-sizer { 2468 | position: relative; 2469 | float: left; 2470 | min-height: 1px; 2471 | width: 25%; 2472 | padding-left: 4px; 2473 | padding-right: 4px; 2474 | 2475 | /* Space between tiles */ 2476 | margin-top: 8px; 2477 | width: 8.33333%; 2478 | } 2479 | 2480 | /* @end */ 2481 | 2482 | /* @group Diary */ 2483 | #album_diary img { 2484 | border-radius: 1rem; 2485 | } 2486 | 2487 | #album_diary img:hover { 2488 | /* Prevent scale on hover for diary display */ 2489 | transform: scale(1) 2490 | } 2491 | 2492 | #album_diary figure { 2493 | margin-bottom: 4ch 2494 | } 2495 | 2496 | #album_diary figcaption { 2497 | max-width: 70ch; 2498 | margin: auto; 2499 | margin-top: 2ch; 2500 | word-break: break-word; 2501 | } 2502 | 2503 | #album_diary h2 { 2504 | font-weight: 600; 2505 | } 2506 | 2507 | 2508 | 2509 | @media screen and (min-width:1280px) { 2510 | #album_diary figcaption { 2511 | } 2512 | } 2513 | 2514 | /* @end */ 2515 | 2516 | /* Global fixes */ 2517 | /* No links underline */ 2518 | #nav-links a, 2519 | .navbar_title_container a, 2520 | #categories_list a, 2521 | .article_loop h2 a, 2522 | .pagelist a, 2523 | #sidebar a, 2524 | main a#register_link { 2525 | text-decoration: none; 2526 | } --------------------------------------------------------------------------------