-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
108 lines (103 loc) · 2.4 KB
/
style.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
/**
Theme Name: Asian Legacy Library WP Theme
Theme URI: https://asianlegacylibrary.org/
Version: 1.1
Author: Noformat
Author URI: https://noformat.com
Tags: simple, clean, fixed width
Licence: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: all_wp_theme
Description: Asian Legacy Library Wordpress Theme
*/
@media (min-width:801px) {
header .holder .logo{
width: 160px;
}
header .holder nav .main-nav li a{
padding: 38px 8px;
font-size: 14px;
}
}
@media (min-width:961px) {
header .holder .logo{
width: 200px;
}
header .holder nav .main-nav li a{
padding: 38px 12px;
}
}
@media (min-width:1231px) {
header .holder .logo{
width: 330px;
}
header .holder nav .main-nav li a{
padding: 38px 15px;
}
}
/* main menu design start */
header .holder{
overflow: visible !important;
}
header .holder nav .main-nav{
overflow: visible !important;
}
ul.menu__sub-list {
top: auto;
width: 220px;
position: absolute;
z-index: 9900;
text-align: left;
}
@media (min-width:819px) {
ul.menu__sub-list {
display: none !important;
}
}
@media (max-width:819px) {
.main-nav ul.menu__sub-list {
display: none !important;
}
}
header .holder nav .main-nav li:hover ul.menu__sub-list {
display: block !important;
}
.header.stay-in-view{
transform: none !important;
background: #e6fa05;
}
header .holder nav .main-nav li {
float: left;
position: relative;
}
header.stay-in-view {
-webkit-transform: none !important;
-moz-transform: none !important;
-ms-transform: none !important;
-o-transform: none !important;
transform: none !important;
background: #e6fa05;
}
ul.menu__sub-list {
background-color: #000000;
padding: 10px 0;
}
header .holder nav .main-nav ul.menu__sub-list li a {
color: #ffffff !important;
padding: 10px 20px;
}
header .holder nav .main-nav ul.menu__sub-list li a:after {
background: #e6fa05;
}
header .holder nav .main-nav li.active ul.menu__sub-list li a:after {
width: 0;
}
header .holder nav .main-nav li ul.menu__sub-list li a:hover:after {
width: 100%;
}
header .holder nav .main-nav ul.menu__sub-list li {
width: 100%;
}
.tablet header .holder .sub-nav ul, .mobile header .holder .sub-nav ul{
width: 100%;
}