-
Notifications
You must be signed in to change notification settings - Fork 9
Interface improvements #77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
6267805
6beb2d1
ab8a789
35e88bf
e070294
442cef5
4505f97
9fb7fd9
dc5ccb8
fa556f7
90bc463
5f88f07
e1b6b64
8c7939e
111fdd2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
html, body { | ||
height: 100%; | ||
background-color: #f0f0f0; | ||
font: 15px/22px Lato, sans-serif; | ||
} | ||
|
||
a { | ||
|
@@ -78,7 +79,7 @@ i { | |
|
||
article { | ||
border-bottom: solid 1px #ddd; | ||
padding: 8px; | ||
padding: 30px; | ||
color: $article-font-color; | ||
|
||
a { | ||
|
@@ -149,10 +150,21 @@ footer { | |
|
||
.navbar-brand { | ||
font-size: 20px; | ||
letter-spacing: 4px; | ||
letter-spacing: .25em; | ||
font-weight: 500; | ||
@include transition(all 0.3s ease-in-out); | ||
} | ||
|
||
.navbar>.container .navbar-brand { | ||
margin-left: -28px; | ||
color: white; | ||
} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Aquí el Para cambiar el color del brand no hace falta sobrescribir la clase, basta con agregar la variable necesaria y agregarla al archivo [_my-boostrap-vars.scss](https://github.com/albertogg/codehero-jekyll/blob/master/_assets/stylesheets/_my-bootstrap-vars.scss#L19] sin el componente |
||
|
||
.navbar-inverse { | ||
background-color: #333; | ||
border-color: #333; | ||
} | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. De igual manera aquí no hace falta sobrescribir la clase para cambiar el color de la barra, solo se debe agregar la variable necesaria a |
||
// Centrar todos los thumbnails en series/index.html | ||
// ------------------------------------------------- | ||
.series-banner { | ||
|
@@ -289,6 +301,10 @@ footer { | |
border-radius: 0.50rem; | ||
} | ||
|
||
.author-bio { | ||
padding: 30px; | ||
} | ||
|
||
.gravatar-img { | ||
@include img-responsive(); | ||
width: 150px; | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ $code-bg: rgba(0, 0, 0, 0.04); | |
$post-link-color: rgba(230, 126, 34, 1); | ||
$article-title-color: rgb(85, 85, 85); | ||
$article-title-hover-color: rgb(25, 193, 195); | ||
$article-font-color: rgb(153, 153, 153); | ||
$article-font-color: rgb(85, 85, 85); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Este es el color que tiene el blog actual, no lo cambiaría, ya que hace que todo se vea igual. |
||
|
||
// Tamaño de los thumbnails. | ||
// ------------------------------ | ||
|
@@ -34,4 +34,3 @@ $icon-font-name: "glyphicons-halflings-regular"; | |
// ------------------------- | ||
$pagination-border: $orange-codehero !default; | ||
$pagination-active-bg: $orange-codehero !default; | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
.post { | ||
padding-top: 14px; | ||
|
||
color: $article-font-color; | ||
|
||
a { | ||
color: $post-link-color; | ||
|
||
|
@@ -38,6 +40,11 @@ | |
|
||
p { | ||
text-align: left; | ||
margin-bottom: 15px; | ||
} | ||
|
||
h2 { | ||
margin-bottom: 20px; | ||
} | ||
|
||
.social-inline { | ||
|
@@ -78,10 +85,10 @@ | |
} | ||
|
||
.detalles-tutorial { | ||
background-color: #f0f0f0; | ||
background-color: #F7F7ED; | ||
margin-top: -21px; | ||
margin-bottom: -22px; | ||
padding-top: 20px; | ||
padding: 20px 15px 21px 15px; | ||
padding-bottom: 21px; | ||
border-top: 1px solid #ddd; | ||
border-bottom: 1px solid #ddd; | ||
|
@@ -96,6 +103,16 @@ | |
padding: 0; | ||
border-radius: 0.4rem; | ||
} | ||
|
||
.post-content { | ||
padding: 0px 15px; | ||
font-size: 17px; | ||
line-height: 2; | ||
} | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Me parece que el font-size es demasiado grande y el line-height también, a mi parecer se ve extraño. Capaz solo con line-height un poco más pequeño sea suficiente pero no se. |
||
blockquote { | ||
border-left-color: #2BA6CB; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Agregaría este color a las variables de |
||
} | ||
} | ||
|
||
.fa-oscuro { | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
<div class="col-xs-3 col-sm-4 col-md-3" > | ||
<img class="gravatar-img" src="http://www.gravatar.com/avatar/{{ autor.thumb }}?s=400" alt="gravatar"> | ||
</div> | ||
<div class="col-xs-9 col-sm-8 col-md-9"> | ||
<h1 class="underline-title"><a href="/author/{{ autor.namelink }}.html">{{ autor.name }}</a></h1> | ||
{% include templates/autor-redes-sociales.html %} | ||
<p>{{ autor.description }}</p> | ||
<div class="author-bio"> | ||
<div class="col-xs-3 col-sm-4 col-md-3" > | ||
<img class="gravatar-img" src="http://www.gravatar.com/avatar/{{ autor.thumb }}?s=400" alt="gravatar"> | ||
</div> | ||
<div class="col-xs-9 col-sm-8 col-md-9"> | ||
<h1 class="underline-title"><a href="/author/{{ autor.namelink }}.html">{{ autor.name }}</a></h1> | ||
{% include templates/autor-redes-sociales.html %} | ||
<p>{{ autor.description }}</p> | ||
</div> | ||
</div> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.25em
es relativamente lo mismo que4px
y estamos utilizando px en toda la página por lo tanto yo seguiría el estándar y dejaría el px. El font-weight ya era bold y parece que lato es más bold, así que no se que hacer con eso.