favycon/styles/breakpoints.scss
Rui Saraiva 20f009e848
feat: responsive version (#113)
* feat: wip - responsive version

* chore(config): update eslint config

* fix: align drop zone footer

* fix: add prop for immutable colors

* fix: container width issue on tablet

* chore: change class name convention

* chore: add missing error styles on mobile

* style(viewport): add 100vh fix for safari

* style: update bottom info padding on mobile

* perf: remove getInitialProps function and dependencies

* chore(deps): update sharp to v0.25.0

* chore: delete unused hook

* docs: add @miguellteixeira as a contributor

* test(cypress): update page load wait

* feat(responsive): update code modal for mobile

* feat(responsive): update background images and light/dark toggle color

* feat(responsive): add about us modal on mobile

* feat(responsive): update sharable image

Co-authored-by: Miguel Teixeira <teixeira.silva.miguel@gmail.com>
2020-09-10 17:57:57 +01:00

35 lines
562 B
SCSS

$breakpoint-xs: 576px;
$breakpoint-sm: 768px;
$breakpoint-md: 992px;
$breakpoint-lg: 1200px;
@mixin breakpoint-xs {
@media screen and (max-width: $breakpoint-xs - 1) {
@content;
}
}
@mixin breakpoint-sm {
@media screen and (max-width: $breakpoint-sm - 1) {
@content;
}
}
@mixin breakpoint-md {
@media screen and (max-width: $breakpoint-md - 1) {
@content;
}
}
@mixin breakpoint-md-up {
@media screen and (min-width: $breakpoint-md) {
@content;
}
}
@mixin breakpoint-lg {
@media screen and (max-width: $breakpoint-lg - 1) {
@content;
}
}