gutenbergsite/gutenberg/new_nav.css

361 lines
6.4 KiB
CSS
Raw Normal View History

/*Strip the ul of padding and list styling*/
nav {
2020-07-02 14:40:16 +00:00
left: 0;
padding: 0 10vw 0 0;
position: fixed;
right: 0;
top: 0;
z-index: 999;
height: 40px;
font-family: "Trebuchet MS", Helvetica, Arial, sans-serif;
}
#main_logo {
top: 0;
left: 0;
position: absolute;
}
nav .searchbox {
position: relative;
float: left;
width: 320px;
padding: 3px;
}
nav .donatelink {
2020-06-29 17:48:02 +00:00
padding: 8px;
2020-07-02 14:40:16 +00:00
}
nav .searchbox input[type=text]{
2020-08-14 18:18:02 +00:00
height: 24px;
2020-07-02 14:40:16 +00:00
width: 250px;
border-radius: 8px;
color: black;
background-color: #f5f5f5;
padding-right: 10px;
padding-left: 10px;
2020-08-14 18:18:02 +00:00
border:none;
}
nav .searchbox input[type="submit"]:hover {
text-shadow: 0px 0px 6px rgba(255, 255, 255, 1);
-webkit-box-shadow: 0px 5px 40px -10px rgba(0,0,0,0.57);
-moz-box-shadow: 0px 5px 40px -10px rgba(0,0,0,0.57);
box-shadow: 0px 5px 40px -10px rgba(0,0,0,0.57);
transition: all 0.4s ease 0s;
2020-07-02 14:40:16 +00:00
}
nav .searchbox input[type="submit"] {
2020-08-14 18:18:02 +00:00
color: #fff;
text-decoration: none;
background: #60a3bc;
padding: 6px;
border-radius: 40px;
display: inline-block;
border: none;
2020-07-02 14:40:16 +00:00
}
nav .donate {
color: black;
font-size: 16px;
width: 115%;
margin-top: 40px;
margin-left: 129px;
2020-06-27 19:42:50 +00:00
height: 40px;
}
2020-07-02 14:40:16 +00:00
nav .donate p {
margin-top: 0px;
margin-left: 10px;
display: inline;
}
2020-07-02 14:40:16 +00:00
nav .donate .donbtn {
display: inline-block;
cursor: pointer;
vertical-align: text-top;
}
nav .donate a:link {
text-decoration: underline;
}
nav .donate a:hover {
background: #BDAE92;
color: #fff; /* white */
}
@media screen and /*(orientation: portrait)*/(max-width : 1024px) {
nav {
height: auto;
font-size: 12px;
position: absolute;
}
nav .donate {
display: none;
}
nav .searchbox {
margin-left: 65px;
float: left;
display: inline-block;
padding: 5px;
}
}
#menu {
margin-left: 140px;
font-weight: bold;
}
#menu a {
text-decoration: none;
}
#menu ul {
margin: 0;
padding: 0;
}
#menu .main-menu {
display: none;
}
2020-07-02 14:40:16 +00:00
#tm:checked + .main-menu {
display: block;
}
#menu input[type="checkbox"],
#menu ul span.drop-icon {
2020-07-02 14:40:16 +00:00
display: none;
}
2020-07-02 14:40:16 +00:00
#menu li,
#toggle-menu,
#menu .sub-menu {
border-style: solid;
border-color: rgba(0, 0, 0, .05);
}
2020-07-02 14:40:16 +00:00
#menu li,
#toggle-menu {
border-width: 0 0 1px;
}
2020-07-02 14:40:16 +00:00
#menu .sub-menu {
2020-07-02 14:40:16 +00:00
border-width: 1px 1px 0;
margin: 0 1em;
}
#menu .sub-menu li:last-child {
border-width: 0;
2020-07-02 14:40:16 +00:00
}
#menu li,
#toggle-menu,
#menu a {
position: relative;
display: block;
color: black;
text-shadow: 1px 1px 0 rgba(0, 0, 0, .125);
}
/*#toggle-menu {
background: #333;
}*/
#toggle-menu,
#menu a {
2020-09-02 18:45:23 +00:00
padding: 5px 1.5em;
2020-07-02 14:40:16 +00:00
}
#menu a {
transition: all .125s ease-in-out;
-webkit-transition: all .125s ease-in-out;
}
#menu .sub-menu {
display: none;
}
2020-07-02 14:40:16 +00:00
#menu input[type="checkbox"]:checked + .sub-menu {
display: block;
}
2020-07-02 14:40:16 +00:00
#menu .sub-menu a:hover {
color: #444;
}
2020-07-02 14:40:16 +00:00
#toggle-menu .drop-icon,
#menu li label.drop-icon {
position: absolute;
right: 0;
2020-07-02 14:40:16 +00:00
top: 0;
}
#menu label.drop-icon, #toggle-menu span.drop-icon {
padding: 1em;
2020-07-02 14:40:16 +00:00
font-size: 1em;
text-align: center;
background-color: rgba(0, 0, 0, .125);
text-shadow: 0 0 0 transparent;
color: rgba(255, 255, 255, .75);
}
2020-07-02 14:40:16 +00:00
@media only screen and (max-width: 1200px) and (min-width:1024px) {
}
@media only screen and (min-width: 1024px) {
/*TESTING_____________________*/
#menu .main-menu > li:last-child {
display: none;
}
#menu .main-menu {
display: block;
}
#toggle-menu,
#menu label.drop-icon {
display: none;
}
#menu ul span.drop-icon {
display: inline-block;
}
#menu li {
float: left;
border-width: 0 1px 0 0;
}
#menu .sub-menu li {
float: none;
}
#menu .sub-menu {
border-width: 0;
margin: 0;
position: absolute;
top: 100%;
left: 0;
width:max-content;
z-index: 3000;
max-height: 80vh;
overflow-y: auto;
2020-07-06 18:45:57 +00:00
font-weight: normal;
}
2020-07-02 14:40:16 +00:00
#menu .sub-menu,
#menu input[type="checkbox"]:checked + .sub-menu {
display: none;
}
#menu .sub-menu li {
border-width: 0 0 1px;
background-color: #f0e1c5;
/*width: max-content;*/
}
#menu .sub-menu .sub-menu {
top: 0;
left: 100%;
}
#menu .sub-menu .drop-icon {
position: absolute;
top: 0;
right: 0;
padding: 1em;
}
#menu li:hover > input[type="checkbox"] + .sub-menu {
display: block;
}
}
/* Put theme-specific colors here to make it easy to switch between themes */
/* ORIGINAL THEME */
2020-07-16 23:02:26 +00:00
/* nav {
2020-07-02 14:40:16 +00:00
background-color: #EDDAB7;
color: #000000;
}
#menu {
background-color: #EDDAB7;
}
#menu .main-menu {
background-color: #EDDAB7;
}
2020-07-06 18:45:57 +00:00
#menu a:hover {
color: #27778f;
}
2020-07-02 14:40:16 +00:00
@media only screen and (min-width: 1024px) {
#menu .main-menu li {
background-color: #EDDAB7;
}
}
#menu .sub-menu {
2020-07-08 16:13:51 +00:00
background-color: #EDDAB7;
}
#menu .sub-menu li {
2020-07-02 14:40:16 +00:00
background-color: #f0e1c5;
}
nav .donate {
background-color: #F5ECDB;
2020-07-16 23:02:26 +00:00
} */
2020-07-02 14:40:16 +00:00
/* BLUE THEME */
2020-08-06 15:14:32 +00:00
2020-07-02 14:40:16 +00:00
nav {
background-color: #7ebed0;
color: #000000;
}
#menu {
background-color: #7ebed0;
}
#menu .main-menu {
background-color: #7ebed0;
}
2020-07-06 18:45:57 +00:00
#menu a:hover {
2020-08-24 13:07:26 +00:00
color: #fff;
2020-08-17 17:50:45 +00:00
transition: all 0.4s ease 0s;
2020-07-06 18:45:57 +00:00
}
2020-07-02 14:40:16 +00:00
@media only screen and (min-width: 1024px) {
#menu .main-menu li {
background-color: #7ebed0;
}
}
#menu .sub-menu {
2020-07-06 18:45:57 +00:00
background-color: #7ebed0;
}
#menu .sub-menu li {
2020-07-02 14:40:16 +00:00
background-color: #a3cdda;
}
nav .donate {
background-color: #c7dde3;
}
2020-08-06 15:14:32 +00:00
2020-07-02 14:40:16 +00:00
/* GOLD THEME */
2020-08-06 15:14:32 +00:00
/*
2020-07-06 18:45:57 +00:00
nav {
2020-07-02 14:40:16 +00:00
background-color: #edd194;
color: #000000;
}
#menu {
background-color: #edd194;
}
#menu .main-menu {
background-color: #edd194;
}
2020-07-06 18:45:57 +00:00
#menu a:hover {
color: #27778f;
}
2020-07-02 14:40:16 +00:00
@media only screen and (min-width: 1024px) {
#menu .main-menu li {
background-color: #edd194;
}
}
#menu .sub-menu {
2020-07-06 18:45:57 +00:00
background-color: #edd194;
}
#menu .sub-menu li {
2020-07-02 14:40:16 +00:00
background-color: #f0dca9;
}
nav .donate {
background-color: #f3e8be;
2020-07-06 18:45:57 +00:00
}
2020-07-02 14:40:16 +00:00
2020-08-06 15:14:32 +00:00
*/
2020-07-22 14:53:28 +00:00