Commit b184c9ac authored by N. Peraldi's avatar N. Peraldi

Merge branch 'master' into 65-correction-accessibilite-page-d-accueil

# Conflicts:
#	style.css
parents dcccc522 6dfa299d
<?php
get_header();
?>
<div class="wrap">
<?php
if (is_user_logged_in()) {
/**
* Dans le cas où l'utilisateur est connecté, on ajoute du contenu personnalisé.
*/
echo "<p>Du contenu personnalisé visible uniquement pour les personnes connectées</p>";
} else {
/**
* Dans le cas où l'utilisateur n'est pas connecté, on affiche du contenu personnalisé, ainsi qu'un lien de
* connexion.
*/
$redirect_url = $_SERVER ["REQUEST_URI"];
echo "<a href='" . wp_login_url($redirect_url) . "' class='adullact-blue'>Se connecter pour accéder aux ressources</a>";
}
?>
</div>
<?php
get_footer();
\ No newline at end of file
media/adullact/image_parallax_2.jpg

1.02 MB | W: | H:

media/adullact/image_parallax_2.jpg

151 KB | W: | H:

media/adullact/image_parallax_2.jpg
media/adullact/image_parallax_2.jpg
media/adullact/image_parallax_2.jpg
media/adullact/image_parallax_2.jpg
  • 2-up
  • Swipe
  • Onion skin
......@@ -8,18 +8,69 @@
Version: 0.8
*/
/*************************************************************/
/* Fonts */
/* Police d'écriture */
/*************************************************************/
/*
Gravity
Gravity light --> font-weight: 300
Gravity semi-bold --> font-weight: 600
Gravity bold --> font-weight: bold
Gravity Extrabold --> font-weight: 900
*/
@font-face {
font-family: "GravityAdullact";
/* Normal */
font-family: "Gravity";
src: url("fonts/Gravity-Regular.otf");
font-weight: normal;
font-style: normal;
}
* {
font-family: GravityAdullact, serif;
@font-face {
/* Light */
font-family: "Gravity";
src: url("fonts/Gravity-Light.otf");
font-weight: 300;
font-style: normal;
}
@font-face {
/* Bold */
font-family: "Gravity";
src: url("fonts/Gravity-Bold.otf");
font-weight: bold;
font-style: normal;
}
@font-face {
/* Bold Italic */
font-family: "Gravity";
src: url("fonts/Gravity-BoldItalic.otf");
font-weight: bold;
font-style: italic;
}
@font-face {
/* Italic */
font-family: "Gravity";
src: url("fonts/Gravity-Italic.otf");
font-weight: normal;
font-style: italic;
}
@font-face {
/* Light Italic */
font-family: "Gravity";
src: url("fonts/Gravity-LightItalic.otf");
font-weight: 300;
font-style: italic;
}
* {
font-family: Gravity, sans-serif;
}
/*************************************************************/
/* Surcharge balises HTML */
/*************************************************************/
......@@ -578,12 +629,8 @@ body:not(.has-sidebar):not(.page-one-column) .page-header {
float: right;
}
.adullact-evenement .link-more {
text-align: right;
}
.adullact-underline {
/*text-decoration: underline;*/
text-decoration: underline;
}
.adullact-spaced-line {
......@@ -592,6 +639,14 @@ body:not(.has-sidebar):not(.page-one-column) .page-header {
justify-content: space-between;
}
.adullact-evenement .link-more {
text-align: right;
}
.adullact-evenement a {
text-decoration: underline;
}
.eventless-pre {
color: white;
}
......@@ -613,10 +668,10 @@ body:not(.has-sidebar):not(.page-one-column) .page-header {
}
/*.adullact-read-more:hover::before, .adullact-read-more:focus::before {*/
/* text-decoration: underline;*/
/* box-shadow: none;*/
/*}*/
.adullact-read-more:hover::before, .adullact-read-more:focus::before {
text-decoration: underline;
box-shadow: none;
}
.adullact-post-image {
max-width: 300px;
......@@ -631,7 +686,7 @@ body:not(.has-sidebar):not(.page-one-column) .page-header {
padding: 5px;
margin-right: 10px;
display: inline-block;
/*text-decoration: none;*/
text-decoration: none;
}
.entry-footer .adullact-tag:hover, .entry-footer .adullact-tag:focus {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment