diff --git a/css/sls.css b/css/sls.css index 70ecd68..09b78fe 100644 --- a/css/sls.css +++ b/css/sls.css @@ -5,6 +5,14 @@ p { text-align: center; } +a:link, a:visited { + color: #858585; + } + + a:hover { + color: #373737; + } + /* The grid itself needs only 4 CSS declarations: */ @@ -66,11 +74,12 @@ p { background: rgba(75, 75, 75, 0.50); font-family: sans-serif; font-size: 16px; - color: #fff; + color: #bbb; width: calc(100% - 32px); max-width: 400px; - padding: 2px 8px; + padding: 4px 8px; border-radius: 4px; + text-align: center; position: absolute; left: 50%; @@ -136,3 +145,23 @@ body { font-size: 1rem; } +._h1 { + font-family: sans-serif; + font-weight: 400; +} +.month { + font-family: sans-serif; + font-weight: 400; + font-size: 1rem; +} +.titrePhoto, .legendePhoto { + font-family: sans-serif; + font-weight: 400; + font-size: 1em; +} +.titrePhoto { + font-size: 1.3em; +} +.exif { + color: #999; +} \ No newline at end of file diff --git a/photo-du-mois.php b/photo-du-mois.php index 334e67c..5aa0a86 100644 --- a/photo-du-mois.php +++ b/photo-du-mois.php @@ -86,27 +86,13 @@ lightbox.init(); -

Photo du mois

+

"; -echo "fin: " . $fin . "
"; -echo "page: " . $page . "
"; - -*/ ?> execute(array($limit, $offset)); $result = $stmt->fetchAll(PDO::FETCH_ASSOC); - //_pr($result); $rowcount = count($result); $conn4 = null; @@ -139,7 +124,7 @@ try { ?> -

+

'; echo ''; - echo '' . basename($file) . ''; + echo '' . $x . ''; echo ""; echo '' . month($date) . ''; echo ''; @@ -260,7 +253,7 @@ echo ''; ?> -

@ 2023

+

@ 2022

\ No newline at end of file