Fix problems with the Theme #5

Merged
tobias merged 5 commits from fa117 into master 2019-10-23 08:09:34 +02:00
9 changed files with 640 additions and 363 deletions

File diff suppressed because one or more lines are too long

View file

@ -1585,7 +1585,7 @@
body, input, select, textarea { body, input, select, textarea {
color: #111; color: #111;
font-family: "Fira Sans", Arial, Helvetica, sans-serif; font-family: "Fira Sans", Arial, Helvetica, sans-serif;
font-size: 13pt; font-size: 14pt;
font-weight: 300; font-weight: 300;
line-height: 1.65; line-height: 1.65;
} }
@ -1593,7 +1593,7 @@
@media screen and (max-width: 1680px) { @media screen and (max-width: 1680px) {
body, input, select, textarea { body, input, select, textarea {
font-size: 11pt; font-size: 14pt;
} }
} }
@ -1601,7 +1601,7 @@
@media screen and (max-width: 1280px) { @media screen and (max-width: 1280px) {
body, input, select, textarea { body, input, select, textarea {
font-size: 11pt; font-size: 14pt;
} }
} }
@ -2834,9 +2834,13 @@
} }
/* Nav */ /* Nav */
#nav > ul,
#nav > .menu > ul { display: inline-block; padding:0; margin: 0; } #nav > .menu > ul { display: inline-block; padding:0; margin: 0; }
#nav > ul > li,
#nav > .menu > ul > li { display: inline-block; } #nav > .menu > ul > li { display: inline-block; }
#nav > ul > li .sub-menu,
#nav > .menu > ul > li .children { display: none; } #nav > .menu > ul > li .children { display: none; }
#nav > ul > li:hover .sub-menu,
#nav > .menu > ul > li:hover .children { #nav > .menu > ul > li:hover .children {
display: block; display: block;
margin: 0; margin: 0;
@ -2849,9 +2853,12 @@
top: 2.5em; top: 2.5em;
min-width: 100px; min-width: 100px;
} }
#nav .sub-menu li,
#nav .children li { padding: 0; line-height: 2em; } #nav .children li { padding: 0; line-height: 2em; }
#nav .children a { color: #333; padding: 0.4em; width: 100%; text-align: left; } #nav .sub-menu a ,
#nav .children a:hover { color: #fff; background-color: #5385c1; } #nav .children a { color: #333; padding: 0.4em; width: 100%; text-align: left; white-space: nowrap; }
#nav .sub-menu a:hover,
#nav .children a:hover{ color: #fff; background-color: #5385c1; }
@media screen and (max-width: 980px) { @media screen and (max-width: 980px) {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 151 KiB

Binary file not shown.

File diff suppressed because it is too large Load diff

Before

Width:  |  Height:  |  Size: 424 KiB

After

Width:  |  Height:  |  Size: 470 KiB

Binary file not shown.

View file

@ -4,13 +4,13 @@ Theme URI: https://git.friendi.ca/friendica/friendica-wp-theme
Author: Friendica Author: Friendica
Author URI: https://friendi.ca/ Author URI: https://friendi.ca/
Description: This is the theme for Friendica main site.<br>Based on https://templated.co/theory Description: This is the theme for Friendica main site.<br>Based on https://templated.co/theory
Version: 1.1.3 Version: 1.1.5
License: GNU General Public License License: GNU General Public License
License URI: https://www.gnu.org/licenses/gpl.html License URI: https://www.gnu.org/licenses/gpl.html
Text Domain: friendica Text Domain: friendica
*/ */
@import url(./assets/css/fork-awesome.min.css); @import url(./assets/css/fork-awesome.min.css?v=1.1.7);
@import url(./assets/css/fira.css); @import url(./assets/css/fira.css);
@import url(./assets/css/main.css); @import url(./assets/css/main.css);