2018-07-25 02:21:03 +00:00
|
|
|
// mobile ~320..480px
|
|
|
|
// 320px ~ 16rem/16px ~ 18.8235/17px ~ 17.7778/18px
|
|
|
|
// 480px ~ 30rem/16px ~ 28.2353rem/17px ~ 26.6667rem/18px
|
2018-09-18 05:20:12 +00:00
|
|
|
@media (min-width: 320px) and (max-width: 767px) {
|
|
|
|
html,
|
|
|
|
body {
|
|
|
|
font-size: $small-device-font-size;
|
|
|
|
}
|
2018-07-26 07:51:50 +00:00
|
|
|
.sidebar {
|
2018-07-27 23:06:50 +00:00
|
|
|
li {
|
2018-09-20 06:50:34 +00:00
|
|
|
padding: .1rem 0;
|
2018-07-27 23:06:50 +00:00
|
|
|
}
|
2018-11-02 04:36:09 +00:00
|
|
|
.container {
|
|
|
|
padding-left: 0;
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
2018-07-27 23:06:50 +00:00
|
|
|
}
|
|
|
|
.hidden-tablet {
|
|
|
|
display: none;
|
2018-07-26 07:51:50 +00:00
|
|
|
}
|
2018-09-20 06:50:34 +00:00
|
|
|
.sidebar-about,
|
2018-09-18 05:20:12 +00:00
|
|
|
.copyright {
|
|
|
|
display: none;
|
2018-09-20 06:50:34 +00:00
|
|
|
}
|
2018-09-18 05:20:12 +00:00
|
|
|
.sidebar {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
.menu-content {
|
|
|
|
padding: 0 0 0 0px;
|
|
|
|
max-height: 0;
|
|
|
|
overflow: hidden;
|
2018-09-20 06:50:34 +00:00
|
|
|
margin-top: 0; }
|
2018-09-18 05:20:12 +00:00
|
|
|
.collapsible-menu {
|
2018-09-20 06:50:34 +00:00
|
|
|
padding: 0px 0px;
|
2018-09-18 05:20:12 +00:00
|
|
|
}
|
|
|
|
.collapsible-menu ul {
|
|
|
|
list-style-type: none;
|
2018-09-20 06:50:34 +00:00
|
|
|
padding: 0;
|
2018-09-18 05:20:12 +00:00
|
|
|
}
|
|
|
|
.collapsible-menu li {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
.collapsible-menu a {
|
|
|
|
text-decoration: none;
|
2018-09-20 06:50:34 +00:00
|
|
|
cursor: pointer; }
|
2018-09-18 05:20:12 +00:00
|
|
|
.collapsible-menu label {
|
2018-09-20 06:50:34 +00:00
|
|
|
background: url(/img/menu-open.svg) no-repeat left center;
|
2018-11-02 04:36:09 +00:00
|
|
|
background-position: 1.5rem;
|
2018-09-18 05:20:12 +00:00
|
|
|
display: block;
|
|
|
|
cursor: pointer;
|
2018-09-20 06:50:34 +00:00
|
|
|
color: #fff;
|
|
|
|
padding: 10px 0 10px 0px; }
|
|
|
|
|
2018-09-18 05:20:12 +00:00
|
|
|
input#menuToggle {
|
2018-09-20 06:50:34 +00:00
|
|
|
display: none;
|
2018-09-18 05:20:12 +00:00
|
|
|
}
|
|
|
|
input#menuToggle + label {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
input#menuToggle:checked + label {
|
2018-11-02 04:36:09 +00:00
|
|
|
background-image: url(/img/menu-close.svg);
|
|
|
|
background-position: 1.5rem;
|
2018-09-20 06:50:34 +00:00
|
|
|
color: #fff;
|
2018-09-18 05:20:12 +00:00
|
|
|
}
|
2018-09-20 06:50:34 +00:00
|
|
|
|
2018-09-18 05:20:12 +00:00
|
|
|
input#menuToggle:checked ~ .menu-content {
|
|
|
|
max-height: 100% !important;
|
|
|
|
}
|
|
|
|
.social {
|
|
|
|
padding: 1em 0 1em 0;
|
|
|
|
}
|
2018-07-25 02:21:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// tablet/medium device ~768px+
|
|
|
|
// 768px ~ 48em/16px ~ 45.1765em/17px ~ 42.6667/18px
|
|
|
|
@media (min-width: 768px) {
|
|
|
|
html,
|
|
|
|
body {
|
2018-07-27 23:06:50 +00:00
|
|
|
font-size: $small-device-font-size;
|
|
|
|
}
|
2018-07-25 02:21:03 +00:00
|
|
|
.sidebar {
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
position: fixed;
|
|
|
|
text-align: left;
|
|
|
|
top: 0;
|
|
|
|
width: 18rem;
|
|
|
|
}
|
|
|
|
.sidebar-sticky {
|
|
|
|
left: 1rem;
|
|
|
|
position: absolute;
|
|
|
|
right: 1rem;
|
|
|
|
top: 1rem;
|
|
|
|
}
|
|
|
|
.content {
|
|
|
|
margin-left: 20rem;
|
|
|
|
margin-right: 2rem;
|
|
|
|
max-width: 38rem;
|
|
|
|
}
|
|
|
|
.layout-reverse {
|
|
|
|
.sidebar {
|
|
|
|
left: auto;
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
.content {
|
|
|
|
margin-left: 2rem;
|
|
|
|
margin-right: 20rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.col-sm-8 {
|
|
|
|
width: 66.66666667%;
|
|
|
|
}
|
|
|
|
.project__title {
|
|
|
|
margin-top: 0.2rem;
|
|
|
|
}
|
2018-09-12 02:32:10 +00:00
|
|
|
.navigation {
|
2018-07-25 02:21:03 +00:00
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
a {
|
|
|
|
width: calc(50% - 10px);
|
|
|
|
&:nth-child(2) {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-09-18 05:20:12 +00:00
|
|
|
input#menuToggle,
|
|
|
|
input#menuToggle + label {
|
|
|
|
display: none;
|
|
|
|
}
|
2018-07-25 02:21:03 +00:00
|
|
|
}
|
|
|
|
|
2018-09-20 06:50:34 +00:00
|
|
|
// Large devices (laptops/desktops, 992px and up)
|
2018-07-25 02:21:03 +00:00
|
|
|
// ~ 62rem/16px ~ 58.3529rem/17px ~ 55.1111rem/18px
|
|
|
|
@media (min-width: 992px) {
|
|
|
|
html,
|
|
|
|
body {
|
2018-07-27 23:06:50 +00:00
|
|
|
font-size: $large-device-font-size;
|
2018-07-25 02:21:03 +00:00
|
|
|
}
|
|
|
|
.content {
|
|
|
|
margin-left: 20rem;
|
|
|
|
margin-right: 2rem;
|
2018-08-13 03:20:46 +00:00
|
|
|
// max-width: 46.056rem;
|
|
|
|
max-width: 38rem; // @ ~70 CPL
|
2018-07-25 02:21:03 +00:00
|
|
|
}
|
|
|
|
.layout-reverse .content {
|
|
|
|
margin-left: 4rem;
|
|
|
|
margin-right: 22rem;
|
|
|
|
}
|
|
|
|
.col-md-4 {
|
|
|
|
float: left;
|
|
|
|
width: 33.33333333%;
|
|
|
|
}
|
|
|
|
.col-md-8 {
|
|
|
|
float: left;
|
|
|
|
width: 66.66666667%;
|
|
|
|
}
|
|
|
|
.portfolio-container {
|
|
|
|
width: 1360px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Large device ~1024px
|
|
|
|
// 1024px ~ 64rem/16px ~ 60.2353rem/17px 56.8889rem/18px
|
|
|
|
@media (min-width: 1024px) {
|
|
|
|
// styles
|
|
|
|
}
|