Compare commits

...

2 Commits

Author SHA1 Message Date
jorge e76d5ce0fe fondo blanco en title seccio ample 2022-07-11 14:18:13 +02:00
jorge cf7ab1a699 styled login with hangar logo and colors 2022-07-11 10:31:41 +02:00
3 changed files with 41 additions and 30 deletions

View File

@ -1,26 +1,37 @@
@charset "utf-8"; @charset "utf-8";
/* /*
Document : custom-login Document : custom-login
Created on : date and time Created on : 2022 07 11
Author : created by Author : jorge - hangar.org
Description: Purpose of the stylesheet follows. Description: style the wp login
*/ */
/*
TODO customize this sample style
Syntax recommendation http://www.w3.org/TR/REC-CSS2/ html {}
*/ body{
html {background: #8699DD!important;} background: none;
body{border-top-style:solid;border-top-width:30px;} background-color: transparent;
body, #wpbody, .form-table .pre {color:#333333;} background-image: url('../images/motiufons.gif');
body.login {border-top-color:#464646;} background-repeat: repeat;
h1 a{background:url("../images/logo.png") no-repeat scroll 0 0 transparent;display:block;padding-bottom:15px;text-indent:-9999px; width:226px; height:81px; margin: 0 auto}
#login {margin:8% auto;width:350px;}
form{background:none repeat scroll 0 0 #E5E5E5!important;}
.login #nav a {
color: #000 !important;
} }
#nav { .login h1 a {
font-size: 14px; background-image: url('../images/hangar-logo-claim.svg');
text-align: center; background-repeat: no-repeat;
text-shadow: none; background-position: center;
background-size: contain;
height: 7rem;
width: auto;
}
.login form {
border: none;
box-shadow: none;
background-color: rgba(240,240,255,0.5);
}
.login .button-primary {
background: rgba(90,90,250,0.7);
border-color: rgba(200,200,250,0.7);
}
.login .button-primary:hover {
background: rgba(0,0,250,1);
border-color: rgba(90,90,250,1);
} }

View File

@ -49,15 +49,15 @@ function custom_login() {
} }
add_action('login_head', 'custom_login'); add_action('login_head', 'custom_login');
function change_wp_login_url() { //function change_wp_login_url() {
echo bloginfo('url'); //echo bloginfo('url');
} //}
add_filter('login_headerurl', 'change_wp_login_url'); //add_filter('login_headerurl', 'change_wp_login_url');
function change_wp_login_title() { //function change_wp_login_title() {
echo 'Powered by ' . get_option('blogname'); //echo 'Powered by ' . get_option('blogname');
} //}
add_filter('login_headertitle', 'change_wp_login_title'); //add_filter('login_headertitle', 'change_wp_login_title');
function remove_footer_admin () { function remove_footer_admin () {
echo 'Custom text | Copyright © message'; echo 'Custom text | Copyright © message';

View File

@ -17,7 +17,7 @@ get_header(); ?>
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<div id="post-<?php the_ID(); ?>" <?php post_class("boxentry nofons"); ?>> <div id="post-<?php the_ID(); ?>" <?php post_class("boxentry"); ?>>
<div class="entry-content"> <div class="entry-content">
<h2 class="box index"><?php the_title(); ?></h2> <h2 class="box index"><?php the_title(); ?></h2>