function toggleMobileMenu(menu) {
menu.classList.toggle('open');
}
function toggleSidebar(menu) {
menu.classList.toggle('open');
}
html {
height: 100%;
box-sizing: border-box;
}
*,
*:after,
*:before {
box-sizing: inherit;
}
body {
position: relative;
min-height: 100%;
min-width: 100%;
box-sizing: border-box;
margin: 0;
padding-bottom: 12rem;
font-family: 'Roboto', sans-serif !important;
background: #f2f2f2;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.body-content {
padding-bottom: 0.5rem;
width: 100%;
}
/*Main ends here*/
/*Global*/
h2 {
color: #007bff;
font-size: 20px;
}
li,
a {
list-style: none;
text-decoration: none;
}
.button {
padding: 9px 25px;
background-color: rgba(0, 136, 169, 1);
border: none;
border-radius: 50px;
cursor: pointer;
transition: all 0.3s ease 0s;
color: #fff;
}
/*Global*/
header {
padding: 0 20px;
background: #007991;
/* fallback for old browsers */
background: -webkit-linear-gradient(to left, #78ffd6, #007991);
/* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to left, #78ffd6, #007991);
/* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
-webkit-box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.75);
-moz-box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.75);
box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.75);
height: 50px;
width: 100%;
min-width: 100%;
display: flex;
justify-content: space-between;
z-index: 1001;
position: -moz-sticky;
position: -webkit-sticky;
position: sticky;
top: 0;
}
.logo {
width: 30px;
height: 30px;
justify-self: start;
margin: 10px 20px;
cursor: pointer;
}
header nav {
overflow: hidden;
margin-right: auto;
}
header nav ul {
list-style: none;
}
header nav ul li {
display: inline-block;
padding-left: 20px;
}
.active a {
color: #fff;
}
header nav ul li:hover {
transform: scale(1.1);
transition: all 0.3s ease 0s;
}
header nav ul li a {
color: #f2f3f5;
padding: 10px;
...
@media(max-width: 281px) {
.wrapper .blog-container {
padding-right: 0;
}
.blog-container .blog-cards {
grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
}
.widgets {
grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
}
}