-
Notifications
You must be signed in to change notification settings - Fork 1
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
Feature: Category description banner. #54
Conversation
- Adding footer to Application in a separate partial.
font-size: 14px; | ||
} | ||
.boxsocialmedia { | ||
width: 95%; |
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.
Properties should be ordered align-content, display, justify-content, width
} | ||
|
||
footer .information ul li a{ | ||
height: 22px; |
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.
Properties should be ordered align-items, color, font-family, font-size, height, line-height, margin-right, text-decoration, width
width: 305px; | ||
} | ||
|
||
footer .author p { |
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.
Selector should have depth of applicability no greater than 2, but was 3
} | ||
|
||
footer .information ul li a { | ||
height: 22px; |
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.
Properties should be ordered align-items, color, font-family, font-size, height, line-height, margin-right, text-decoration, width
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.
team next time order properties - the reason for order properties alphabetically is because the searching time it's reduced, this helps you to do changes quickly in styles
|
||
footer .newsletter input { | ||
height: 35px; | ||
width: 300px; |
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.
Properties should be ordered height, justify-content, width
} | ||
|
||
footer .contenedornews { | ||
width: 33%; |
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.
Properties should be ordered display, width
} | ||
|
||
.sm { | ||
height: 35px; |
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.
Properties should be ordered border, border-radius, height, width
text-align: center; | ||
} | ||
|
||
footer .author p { |
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.
Merge rule footer .author p
with rule on line 2
Selector should have depth of applicability no greater than 2, but was 3
.middleman-logo { | ||
margin-bottom: 1rem; | ||
width: 10rem; | ||
footer .author { |
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.
Merge rule footer .author
with rule on line 2
display: inline-block; | ||
} | ||
|
||
footer .information ul { |
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.
Merge rule footer .information ul
with rule on line 2
Selector should have depth of applicability no greater than 2, but was 3
margin-right: 50; | ||
} | ||
|
||
footer .information ul li { |
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.
Merge rule footer .information ul li
with rule on line 2
Selector should have depth of applicability no greater than 2, but was 4
justify-content: center; | ||
} | ||
|
||
footer .information ul li a { |
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.
Merge rule footer .information ul li a
with rule on line 2
Selector should have depth of applicability no greater than 2, but was 5
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.
good job team, but the next time avoid to use ul
li
a
tags directly to give styles is much better to use a class
theme6/source/partials/_footer.erb
Outdated
@@ -0,0 +1,40 @@ | |||
<div class="contenedor"> | |||
<footer> | |||
<div class="contenedorsocial"> |
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.
Let's make class names more readable by using -
to separate words; contenedorsocial
=> contenedor-social
theme6/source/partials/_header.erb
Outdated
<div id="mySidenav" class="sidenav"> | ||
<div class="sidenav_logo"> | ||
<img class="sidenavhorse" src="../images/logo2.png"> | ||
<a href="javascript:void(0)" class="closebtn" onclick="closeNav()"><p>Close <img class="arrow_back" src="../images/Path 322 Copy [email protected]"></p></a> |
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.
Let's make this as a button, add a class or an ID on it and use that using JS to call the function closeNav()
;
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.
Anchors should be used only to jump between sections/pages
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.
There are some suggestions that you guys need to consider, most of them are related to sort alphabetically the properties, and the way you name the CSS classes. Besides of that you're having a good improvement...
If you have any doubts don't hesitate asking me.
theme6/source/partials/_header.erb
Outdated
<div id="mySidenav" class="sidenav"> | ||
<div class="sidenav_logo"> | ||
<img class="sidenavhorse" src="../images/logo2.png"> | ||
<a href="javascript:void(0)" class="closebtn" onclick="closeNav()"><p>Close <img class="arrow_back" src="../images/Path 322 Copy [email protected]"></p></a> |
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.
Anchors should be used only to jump between sections/pages
.banner_handcrafted .banner_content { | ||
background: linear-gradient(90deg, | ||
rgb(200, 190, 183), | ||
rgb(200, 190, 183, 1) 40%, |
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.
rgb
needs only three parameters while rgba
needs four parameters
theme6/source/stylesheets/main.css
Outdated
|
||
.mid-banner-saylor .mid-banner-content { | ||
background: linear-gradient(90deg, | ||
rgba(239, 239, 239), |
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.
Check number of parameters, rgba = 4, rgb = 3
"Franklin Gothic Medium", "Century Gothic", "Liberation Sans", sans-serif; | ||
padding: 18vh 1rem; | ||
/*==========Stylesheet DESKTOP========*/ | ||
footer { |
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.
I'd extremely suggest to add a class to the footer of the whole page because there may be multiple footer
tags between sections and not only one for the document, if there's a section with a footer it is going to have the same styles as the footer of the document
theme6/source/javascripts/site.js
Outdated
document.getElementById("mySidenav").style.width = "90%"; | ||
} | ||
|
||
function closeNav() { |
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.
'closeNav' is defined but never used.
theme6/source/javascripts/site.js
Outdated
@@ -1 +1,9 @@ | |||
// This is where it all goes :) | |||
|
|||
function openNav() { |
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.
'openNav' is defined but never used.
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.
On team their should decided that naming use to css rules. With dash style-class
or with low dash style_class
, beside my comment LGTM
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.
🤓👍
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.
LGTM
Solves: #20
Changes:
[#20] Category description banner