trillo basic layout + sprite
This commit is contained in:
1 parent
a23934d6d0
commit
778a41bbf4
8 files changed
+358
-129
No files matched your search
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
COLORS
|
||||
|
||||
Primary: #eb2f64
|
||||
Primary light: #FF3366
|
||||
Primary dark: #BA265D
|
||||
|
||||
Grey light 1: #faf9f9
|
||||
Grey light 2: #f4f2f2
|
||||
Grey light 3: #f0eeee
|
||||
Grey light 4: #ccc
|
||||
|
||||
Grey dark 1: #333
|
||||
Grey dark 2: #777
|
||||
Grey dark 3: #999
|
||||
*/
|
||||
|
||||
:root {
|
||||
// like html selector but with higher specificity, like a global parent element
|
||||
--color-primary: #eb2f64;
|
||||
--color-primary-light: #ff3366;
|
||||
--color-primary-dark: #ba265d;
|
||||
--color-grey-light-1: #faf9f9;
|
||||
--color-grey-light-2: #f4f2f2;
|
||||
--color-grey-light-3: #f0eeee;
|
||||
--color-grey-light-4: #ccc;
|
||||
--color-grey-dark-1: #333;
|
||||
--color-grey-dark-2: #777;
|
||||
--color-grey-dark-3: #999;
|
||||
|
||||
--shadow-dark: 0 2rem 6rem rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
*,
|
||||
*::before,
|
||||
*::after {
|
||||
box-sizing: inherit;
|
||||
}
|
||||
|
||||
html {
|
||||
box-sizing: border-box;
|
||||
font-size: 62.5%; // 1rem = 10px
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: "Open Sans", sans-serif;
|
||||
font-weight: 400;
|
||||
color: var(--color-grey-dark-2);
|
||||
line-height: 1.6;
|
||||
background-image: linear-gradient(
|
||||
to right bottom,
|
||||
var(--color-primary-light),
|
||||
var(--color-primary-dark)
|
||||
);
|
||||
background-size: cover;
|
||||
|
||||
min-height: 100vh;
|
||||
}
|
||||
Whitespace-only changes.
@@ -0,0 +1,27 @@
|
||||
.container {
|
||||
max-width: 120rem;
|
||||
min-height: 50rem;
|
||||
margin: 8rem auto;
|
||||
background-color: var(--color-grey-light-1);
|
||||
box-shadow: var(--shadow-dark);
|
||||
}
|
||||
|
||||
.header {
|
||||
height: 7rem;
|
||||
background-color: #fff;
|
||||
border-bottom: var(--color-grey-light-2);
|
||||
}
|
||||
|
||||
.content {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.sidebar {
|
||||
background-color: var(--color-grey-dark-1);
|
||||
flex: 0 0 18%;
|
||||
}
|
||||
|
||||
.hotel-view {
|
||||
flex: 1;
|
||||
background-color: #fff;
|
||||
}
|
||||
@@ -1,17 +1,3 @@
|
||||
/*
|
||||
COLORS
|
||||
|
||||
Primary: #eb2f64
|
||||
Primary light: #FF3366
|
||||
Primary dark: #BA265D
|
||||
|
||||
Grey light 1: #faf9f9
|
||||
Grey light 2: #f4f2f2
|
||||
Grey light 3: #f0eeee
|
||||
Grey light 4: #ccc
|
||||
|
||||
Grey dark 1: #333
|
||||
Grey dark 2: #777
|
||||
Grey dark 3: #999
|
||||
|
||||
*/
|
||||
@import "base";
|
||||
@import "components";
|
||||
@import "layout";
|
||||
Reference in new issue
Block a user