Skip to content
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

Ran npx stylelint@14.9.1 www/assets/css/wpt-header.css #2384

Merged
merged 1 commit into from
Oct 4, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 8 additions & 25 deletions www/assets/css/wpt-header.css
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ wpt-header a {

wpt-header .wptheader_logo {
flex: 1 1 75%;
display: block;
height: 5rem;
max-height: 5rem;
display: flex;
Expand Down Expand Up @@ -150,13 +149,6 @@ wpt-header .wptheader_nav li.wptheader-current > summary {
background: #101623;
}

wpt-header .wptheader_nav li > a:focus,
wpt-header .wptheader_nav li > a:header,
Comment on lines -153 to -154
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:header is wrong and :focus is defined later too

wpt-header .wptheader_nav li summary:focus,
wpt-header .wptheader_nav li summary:header {
background: #fff;
}

wpt-header .wptheader_nav_menu_content {
padding: 0 1.5rem 1rem;
background: #fff;
Expand All @@ -165,15 +157,13 @@ wpt-header .wptheader_nav_menu_content {

wpt-header .wptheader_acct {
display: flex;
padding-left: 2rem;
margin: 1rem;
padding: 2rem 1rem 2rem 2rem;
background: url(/assets/images/icon-user.svg) left 50% no-repeat;
}

wpt-header .wptheader_acct a,
wpt-header .wptheader_acct button {
padding: 0;
background: none;
color: #fff;
font-size: 1em;
Expand Down Expand Up @@ -320,22 +310,9 @@ wpt-header .wptheader_nav_menu details:focus summary span:after {
background: #fff;
color: #1e4078;
}
wpt-header header {
flex-flow: row nowrap;
height: auto;
overflow: visible;
align-content: center;
justify-content: space-between;
}
Comment on lines -323 to -329
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

moved down with its duplicate selector

wpt-header .wptheader_menu[open] .wptheader_menubtn {
display: none !important;
}
wpt-header .wptheader_logo {
flex: 1 1 20%;
height: auto;
max-height: none;
padding: 0;
}
Comment on lines -333 to -338
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ditto

wpt-header .wptheader_logo img {
max-width: none;
}
Expand Down Expand Up @@ -392,13 +369,21 @@ wpt-header .wptheader_nav_menu details:focus summary span:after {
border-bottom: 4px solid #5dbbe8;
}
wpt-header header {
flex-flow: row nowrap;
overflow: visible;
align-content: center;
justify-content: space-between;
padding: 0 2vw;
border: 0;
max-width: 1400px;
margin: 0 auto;
height: 6rem;
}
wpt-header .wptheader_logo {
flex: 1 1 20%;
height: auto;
max-height: none;
padding: 0;
background: none;
padding-left: 3vw;
}
Expand All @@ -408,8 +393,6 @@ wpt-header .wptheader_nav_menu details:focus summary span:after {
}
wpt-header .wptheader_nav li > a,
wpt-header .wptheader_nav li summary {
font-size: 1rem;
border: none;
font-size: 1rem;
border: none;
display: flex;
Expand Down