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

[BUGFIX] Fix active menu item in _hlist.scss. #55

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
22 changes: 11 additions & 11 deletions docs/assets/css/layout.css
Original file line number Diff line number Diff line change
Expand Up @@ -878,7 +878,7 @@
text-decoration: none;
outline: 0 none;
}
.ym-hlist ul li.active {
.ym-hlist ul li.active a {
background: #666;
background: rgba(255, 255, 255, 0.3);
border-radius: 0.2em;
Expand Down Expand Up @@ -1869,7 +1869,7 @@
}
}
@media all {
/*
/*!
* @section global typography settings
*
* vertical rhythm settings (based on em-unit)
Expand Down Expand Up @@ -1898,7 +1898,7 @@
font-family: Consolas, "Lucida Console", "Andale Mono", "Bitstream Vera Sans Mono", "Courier New", Courier;
}

/* font-size: 14px; */
/*! font-size: 14px; */
body {
font-family: "Droid Serif", Georgia, "Times New Roman", Times, serif;
font-size: 87.5%;
Expand All @@ -1919,42 +1919,42 @@
}

h1 {
/* font-size: 48px; */
/*! font-size: 48px; */
font-size: 342.85714%;
line-height: 0.875;
margin: 0 0 0.4375em 0;
}

h2 {
/* font-size: 32px; */
/*! font-size: 32px; */
font-size: 228.57143%;
line-height: 1.3125;
margin: 0 0 0.65625em 0;
}

h3 {
/* font-size: 24px; */
/*! font-size: 24px; */
font-size: 171.42857%;
line-height: 0.875;
margin: 0 0 0.875em 0;
}

h4 {
/* font-size: 21px; */
/*! font-size: 21px; */
font-size: 150%;
line-height: 1;
margin: 0 0 1em 0;
}

h5 {
/* font-size: 18px; */
/*! font-size: 18px; */
font-size: 128.57143%;
line-height: 1.16667;
margin: 0 0 1.16667em 0;
}

h6 {
/* font-size: 14px; */
/*! font-size: 14px; */
font-size: 100%;
font-weight: bold;
line-height: 1.5;
Expand Down Expand Up @@ -2038,13 +2038,13 @@
}

big {
/* font-size: 16px; */
/*! font-size: 16px; */
font-size: 114.28571%;
line-height: 1.3125;
}

small {
/* font-size: 12px; */
/*! font-size: 12px; */
font-size: 85.71429%;
line-height: 1.75;
}
Expand Down
10 changes: 6 additions & 4 deletions sass/yaml-sass/navigation/_hlist.scss
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,12 @@
}

&.active {
background: #666;
background: rgba(255,255,255,.3);
border-radius: 0.2em;
color: #fff;
a {
background: #666;
background: rgba(255,255,255,.3);
border-radius: 0.2em;
color: #fff;
}

strong,
a:focus,
Expand Down
2 changes: 1 addition & 1 deletion yaml/add-ons/rtl-support/core/base-rtl.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion yaml/core/base.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion yaml/core/iehacks.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion yaml/navigation/hlist.css
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
text-decoration: none;
outline: 0 none;
}
.ym-hlist ul li.active {
.ym-hlist ul li.active a {
background: #666;
background: rgba(255, 255, 255, 0.3);
border-radius: 0.2em;
Expand Down
20 changes: 10 additions & 10 deletions yaml/screen/typography.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* @version 4.1.2
*/
@media all {
/*
/*!
* @section global typography settings
*
* vertical rhythm settings (based on em-unit)
Expand Down Expand Up @@ -41,7 +41,7 @@
font-family: Consolas, "Lucida Console", "Andale Mono", "Bitstream Vera Sans Mono", "Courier New", Courier;
}

/* font-size: 14px; */
/*! font-size: 14px; */
body {
font-family: "Droid Serif", Georgia, "Times New Roman", Times, serif;
font-size: 87.5%;
Expand All @@ -62,42 +62,42 @@
}

h1 {
/* font-size: 48px; */
/*! font-size: 48px; */
font-size: 342.85714%;
line-height: 0.875;
margin: 0 0 0.4375em 0;
}

h2 {
/* font-size: 32px; */
/*! font-size: 32px; */
font-size: 228.57143%;
line-height: 1.3125;
margin: 0 0 0.65625em 0;
}

h3 {
/* font-size: 24px; */
/*! font-size: 24px; */
font-size: 171.42857%;
line-height: 0.875;
margin: 0 0 0.875em 0;
}

h4 {
/* font-size: 21px; */
/*! font-size: 21px; */
font-size: 150%;
line-height: 1;
margin: 0 0 1em 0;
}

h5 {
/* font-size: 18px; */
/*! font-size: 18px; */
font-size: 128.57143%;
line-height: 1.16667;
margin: 0 0 1.16667em 0;
}

h6 {
/* font-size: 14px; */
/*! font-size: 14px; */
font-size: 100%;
font-weight: bold;
line-height: 1.5;
Expand Down Expand Up @@ -181,13 +181,13 @@
}

big {
/* font-size: 16px; */
/*! font-size: 16px; */
font-size: 114.28571%;
line-height: 1.3125;
}

small {
/* font-size: 12px; */
/*! font-size: 12px; */
font-size: 85.71429%;
line-height: 1.75;
}
Expand Down