From e31d1586846fd67fab3bacd926cffa0954b765ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20M=2E=20Hern=C3=A1ndez?= Date: Sat, 20 Jul 2013 13:56:06 +0200 Subject: [PATCH 1/9] removed option to customize the background --- functions.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/functions.php b/functions.php index 7e01a48..06e813d 100644 --- a/functions.php +++ b/functions.php @@ -53,13 +53,6 @@ function decode_setup() { */ add_theme_support( 'post-formats', array( 'aside', 'image', 'video', 'quote', 'link' ) ); - /** - * Setup the WordPress core custom background feature. - */ - add_theme_support( 'custom-background', apply_filters( 'decode_custom_background_args', array( - 'default-color' => 'E3E5E7', - 'default-image' => '', - ) ) ); } endif; // decode_setup add_action( 'after_setup_theme', 'decode_setup' ); From 9b1cf43f24fae15f97887df53d9f2b2f341f2fc5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20M=2E=20Hern=C3=A1ndez?= Date: Sat, 27 Jul 2013 13:08:30 +0200 Subject: [PATCH 2/9] removed support for post formats --- TODO.txt | 7 +++++++ content-page.php | 1 + content-single.php | 2 ++ content.php | 38 +++++++------------------------------- functions.php | 5 ----- index.php | 4 ++++ page.php | 2 ++ style.css | 4 ++-- 8 files changed, 25 insertions(+), 38 deletions(-) create mode 100644 TODO.txt diff --git a/TODO.txt b/TODO.txt new file mode 100644 index 0000000..26c6cc1 --- /dev/null +++ b/TODO.txt @@ -0,0 +1,7 @@ +- Cambiar el color de los enlaces +- Añadir el tagline +- Ajustar la página de histórico +- Arreglar accesos directos a github y twitter +- Poner enlaces en las cabeceras de los posts + +Empiezo por el de los enlaces \ No newline at end of file diff --git a/content-page.php b/content-page.php index ea53578..b1ee387 100644 --- a/content-page.php +++ b/content-page.php @@ -8,6 +8,7 @@
>
+

Soy un entry-header de content page!

diff --git a/content-single.php b/content-single.php index 61914d3..807a936 100644 --- a/content-single.php +++ b/content-single.php @@ -4,6 +4,8 @@ */ ?> + +
>
→', 'decode' ) ); ?>
diff --git a/content.php b/content.php index 4833900..3b7f907 100644 --- a/content.php +++ b/content.php @@ -4,35 +4,7 @@ */ ?> - -
> -
→', 'decode' ) ); ?>
- '' ) ); ?> - -
- - - - - +
>
@@ -41,10 +13,14 @@
+
>
-

-
+
+ +

+
+
→', 'decode' ) ); ?>
diff --git a/functions.php b/functions.php index 06e813d..7ab6c85 100644 --- a/functions.php +++ b/functions.php @@ -48,11 +48,6 @@ function decode_setup() { 'primary' => __( 'Primary Menu', 'decode' ), ) ); - /** - * Enable support for Post Formats - */ - add_theme_support( 'post-formats', array( 'aside', 'image', 'video', 'quote', 'link' ) ); - } endif; // decode_setup add_action( 'after_setup_theme', 'decode_setup' ); diff --git a/index.php b/index.php index eb62d28..7ee50fb 100644 --- a/index.php +++ b/index.php @@ -13,9 +13,13 @@ get_header(); ?> + +
+

Soy index.php

+ diff --git a/page.php b/page.php index 9ef4a8c..3de812b 100644 --- a/page.php +++ b/page.php @@ -15,6 +15,8 @@
+

Soy page

+ diff --git a/style.css b/style.css index 50e80f0..136c243 100644 --- a/style.css +++ b/style.css @@ -49,7 +49,7 @@ html { -ms-text-size-adjust: 100%; /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */ } body { - background: #fff; + background: #ffffff; } article, aside, @@ -104,7 +104,7 @@ textarea { } body { - background: #E3E5E7; + background: #fcf9fa; text-align: left; margin: 0; -webkit-overflow-scrolling: touch; From d03f21fcef8c9536ed1fd78848a7863f4f7be626 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20M=2E=20Hern=C3=A1ndez?= Date: Sat, 27 Jul 2013 13:09:46 +0200 Subject: [PATCH 3/9] removed trace messages --- content-page.php | 1 - index.php | 2 -- page.php | 2 -- 3 files changed, 5 deletions(-) diff --git a/content-page.php b/content-page.php index b1ee387..ea53578 100644 --- a/content-page.php +++ b/content-page.php @@ -8,7 +8,6 @@
>
-

Soy un entry-header de content page!

diff --git a/index.php b/index.php index 7ee50fb..11184c4 100644 --- a/index.php +++ b/index.php @@ -18,8 +18,6 @@
-

Soy index.php

- diff --git a/page.php b/page.php index 3de812b..9ef4a8c 100644 --- a/page.php +++ b/page.php @@ -15,8 +15,6 @@
-

Soy page

- From f41241c02509e7b47900e4f8fca7cefb095f4b0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20M=2E=20Hern=C3=A1ndez?= Date: Sat, 27 Jul 2013 13:24:13 +0200 Subject: [PATCH 4/9] changed link color --- TODO.txt | 8 +++++--- style.css | 56 +++++++++++++++++++++++++++---------------------------- 2 files changed, 33 insertions(+), 31 deletions(-) diff --git a/TODO.txt b/TODO.txt index 26c6cc1..0bf7d54 100644 --- a/TODO.txt +++ b/TODO.txt @@ -1,7 +1,9 @@ -- Cambiar el color de los enlaces +- Arreglar formato de (queda la fuente pequeña) - Añadir el tagline - Ajustar la página de histórico - Arreglar accesos directos a github y twitter -- Poner enlaces en las cabeceras de los posts +- Dar formato a los títulos de los posts para que no se vean como los demás enlaces +- Revisar los comentarios +- Añadir un bloque "Quien soy" en el pie de cada post +- Dar formato a los h3 -Empiezo por el de los enlaces \ No newline at end of file diff --git a/style.css b/style.css index 136c243..35ddfa7 100644 --- a/style.css +++ b/style.css @@ -313,7 +313,7 @@ textarea { /* Links */ a { - color: #009BCD; + color: #FF9625; text-decoration: none; } @@ -375,7 +375,7 @@ object { .site-header { width: 100%; margin: 5% auto 0; - border-bottom: 1px solid #009BCD; + border-bottom: 1px solid #FF9625; } .site-title { @@ -401,7 +401,7 @@ object { text-align: center; font-size: 1.35em; padding: 1%; - border-bottom: 1px solid #009BCD; + border-bottom: 1px solid #FF9625; display: inline-block; } @@ -475,10 +475,10 @@ object { color: #444444; } .navigation-main a:hover { - color: #009BCD; + color: #FF9625; } .navigation-main a:active { - color: #007EA6 + color: #FF8525 } .navigation-main ul ul { box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2); @@ -619,14 +619,14 @@ article.page .entry-content { .post blockquote { margin: 1.5% 0; padding: 0 0 0 5%; - border-left: 1px solid #009BCD; + border-left: 1px solid #FF9625; font-style: italic; } .post footer { width: 75%; margin: 0 auto; - border-bottom: 1px solid #009BCD; + border-bottom: 1px solid #FF9625; } .tags { @@ -652,11 +652,11 @@ footer .date a { } footer .date a:hover { - color: #009BCD; + color: #FF9625; } footer .date a:active { - color: #007EA6; + color: #FF8525; } .theme-info { @@ -697,7 +697,7 @@ footer .date a { height: 3.5%; padding: 4.5% 0; margin-bottom: 4.5%; - border-bottom: 1px solid #009BCD; + border-bottom: 1px solid #FF9625; z-index: 11; } @@ -810,12 +810,12 @@ footer .date a { display: inline-block; } .social-reply .replylink:hover { - color: #009BCD; + color: #FF9625; border-bottom: none; } .social-reply .replylink:active { - color: #007EA6; + color: #FF8525; border-bottom: none; } @@ -830,12 +830,12 @@ footer .date a { } .format-link .entry-title a:hover { - color: #009BCD; + color: #FF9625; border-bottom: none; } .format-link .entry-title a:active { - color: #007EA6; + color: #FF8525; border-bottom: none; } @@ -1026,11 +1026,11 @@ object { } .comment-metadata a:hover { - color: #009BCD; + color: #FF9625; } .comment-metadata a:active { - color: #007EA6; + color: #FF8525; } li.comment { @@ -1095,26 +1095,26 @@ li.comment { ----------------------------------------------- */ @media only screen and (min-width: 699px) { a { - -webkit-transition: color 0.4s ease-in-out, border-bottom 0.4s ease-in-out; - -moz-transition: color 0.4s ease-in-out, border-bottom 0.4s ease-in-out; - transition: color 0.4s ease-in-out, border-bottom 0.4s ease-in-out; + -webkit-transition: color 0.2s ease-in-out, border-bottom 0.2s ease-in-out; + -moz-transition: color 0.2s ease-in-out, border-bottom 0.2s ease-in-out; + transition: color 0.2s ease-in-out, border-bottom 0.2s ease-in-out; border-bottom: 0 solid rgba(69,69,69,0); } a:hover { - color: #009BCD; + color: #FFB925; } a:active { - color: #007EA6; + color: #FF8525; } .post a:hover { - border-bottom: 1px solid #009BCD; + border-bottom: 1px solid #FFB925; } .post a:active { - border-bottom: 1px solid #007EA6; + border-bottom: 1px solid #FF8525; } .site-header, .post, article.page, .comments-area { @@ -1139,12 +1139,12 @@ a { } .site-description a:hover { - border-bottom: 1px solid #009BCD; + border-bottom: 1px solid #FF9625; } .site-description a:active { - color: #007EA6; - border-bottom: 1px solid #007EA6; + color: #FF8525; + border-bottom: 1px solid #FF8525; } .sociallinks ul { @@ -1285,11 +1285,11 @@ a { } .theme-info a:hover { - border-bottom: 1px solid #009BCD; + border-bottom: 1px solid #FF9625; } .theme-info a:active { - border-bottom: 1px solid #007EA6; + border-bottom: 1px solid #FF8525; } } From dcb182891aa67003d2ae4dafe3853dc90911c757 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20M=2E=20Hern=C3=A1ndez?= Date: Sat, 27 Jul 2013 13:32:59 +0200 Subject: [PATCH 5/9] fixed formatting of h1..h6 --- TODO.txt | 1 + style.css | 27 ++++++++++++++++++--------- 2 files changed, 19 insertions(+), 9 deletions(-) diff --git a/TODO.txt b/TODO.txt index 0bf7d54..a7bcc6d 100644 --- a/TODO.txt +++ b/TODO.txt @@ -5,5 +5,6 @@ - Dar formato a los títulos de los posts para que no se vean como los demás enlaces - Revisar los comentarios - Añadir un bloque "Quien soy" en el pie de cada post +- Averiguar qué pasa con la URL. Cuando navego a un post, no cambia la URL - Dar formato a los h3 diff --git a/style.css b/style.css index 35ddfa7..ab2cd7a 100644 --- a/style.css +++ b/style.css @@ -568,27 +568,36 @@ article.page { } -.content h1 { - font-size: 2em; +#content h1, +#content h2, +#content h3, +#content h4, +#content h5, +#content h6 { + margin-bottom: 1.2em; } -.content h2 { - font-size: 1.8em; +#content h1 { + font-size: 2em; } -.content h3 { - font-size: 1.6em; +#content h2 { + font-size: 1.8em; } -.content h4 { +#content h3 { font-size: 1.4em; } -.content h5 { +#content h4 { font-size: 1.2em; } -.content h6 { +#content h5 { + font-size: 1.1em; +} + +#content h6 { font-size: 1.1em; } From 1effd5826da4fa6591352b42425749e8e52fee08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20M=2E=20Hern=C3=A1ndez?= Date: Sat, 27 Jul 2013 13:37:48 +0200 Subject: [PATCH 6/9] fixed font-size for code tag --- TODO.txt | 5 +---- style.css | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/TODO.txt b/TODO.txt index a7bcc6d..2c01df3 100644 --- a/TODO.txt +++ b/TODO.txt @@ -1,10 +1,7 @@ -- Arreglar formato de (queda la fuente pequeña) - Añadir el tagline - Ajustar la página de histórico - Arreglar accesos directos a github y twitter - Dar formato a los títulos de los posts para que no se vean como los demás enlaces - Revisar los comentarios - Añadir un bloque "Quien soy" en el pie de cada post -- Averiguar qué pasa con la URL. Cuando navego a un post, no cambia la URL -- Dar formato a los h3 - +- Averiguar qué pasa con la URL. Cuando navego a un post, no cambia la URL \ No newline at end of file diff --git a/style.css b/style.css index ab2cd7a..369a2b9 100644 --- a/style.css +++ b/style.css @@ -170,7 +170,7 @@ pre { max-width: 100%; } code, kbd, tt, var { - font: 15px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace; + font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace; } abbr, acronym { border-bottom: 1px dotted #666; From 0b342f1a2919c34253e50cdbb7161427438b9c5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20M=2E=20Hern=C3=A1ndez?= Date: Sat, 27 Jul 2013 13:52:27 +0200 Subject: [PATCH 7/9] added tagline --- TODO.txt | 4 ++-- header.php | 2 +- inc/customizer.php | 28 +--------------------------- style.css | 5 +++++ 4 files changed, 9 insertions(+), 30 deletions(-) diff --git a/TODO.txt b/TODO.txt index 2c01df3..37beaba 100644 --- a/TODO.txt +++ b/TODO.txt @@ -1,7 +1,7 @@ -- Añadir el tagline - Ajustar la página de histórico - Arreglar accesos directos a github y twitter - Dar formato a los títulos de los posts para que no se vean como los demás enlaces - Revisar los comentarios - Añadir un bloque "Quien soy" en el pie de cada post -- Averiguar qué pasa con la URL. Cuando navego a un post, no cambia la URL \ No newline at end of file +- Averiguar qué pasa con la URL. Cuando navego a un post, no cambia la URL + diff --git a/header.php b/header.php index fa3815f..6d445d2 100644 --- a/header.php +++ b/header.php @@ -25,7 +25,7 @@

-

+