Many many updates & I'm too lazy to comment
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
@use "variables.scss";
|
||||
@use "mixins.scss";
|
||||
@use "views/index.scss";
|
||||
@use "views/aydinlatma.scss";
|
||||
@use "partials/header.scss";
|
||||
@use "partials/footer.scss";
|
||||
|
||||
@@ -9,48 +11,36 @@ html, body {
|
||||
background-color: variables.$clr_sides;
|
||||
}
|
||||
|
||||
#container {
|
||||
height: 100vh;
|
||||
display: grid;
|
||||
grid-template-rows: auto 1fr auto;
|
||||
grid-template-columns: 1fr 1700px 1fr;
|
||||
grid-row-end: -1;
|
||||
grid-auto-rows: 1fr;
|
||||
grid-gap: 0;
|
||||
|
||||
@include mixins.main {
|
||||
grid-template-columns: 0 1fr 0;
|
||||
background: red;
|
||||
}
|
||||
}
|
||||
|
||||
#left {
|
||||
grid-column: 1;
|
||||
grid-row-start: 1;
|
||||
grid-row-end: 3;
|
||||
.content_spacing {
|
||||
padding: 0 variables.$px_contentPadding;
|
||||
}
|
||||
|
||||
#header {
|
||||
grid-column: 2;
|
||||
grid-row: 1;
|
||||
// Layout, details and children is set in partials/header.scss
|
||||
height: 10vh;
|
||||
|
||||
@include mixins.header_overflow2 {
|
||||
height: 5vh;
|
||||
}
|
||||
}
|
||||
|
||||
#container {
|
||||
height: 90vh;
|
||||
display: grid;
|
||||
grid-template-rows: 1fr auto;
|
||||
grid-template-columns: 1fr;
|
||||
grid-gap: 0;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
#content {
|
||||
background: aquamarine;
|
||||
grid-column-start: 2;
|
||||
grid-row-start: 2;
|
||||
|
||||
padding: variables.$innerContainerMargin;
|
||||
background: whitesmoke;
|
||||
grid-column-start: 1;
|
||||
grid-row-start: 1;
|
||||
overflow-wrap: break-word;
|
||||
}
|
||||
|
||||
#footer {
|
||||
grid-column: 2;
|
||||
grid-row: 3;
|
||||
}
|
||||
|
||||
#right {
|
||||
grid-column: 3;
|
||||
grid-row-start: 1;
|
||||
grid-row-end: 3;
|
||||
grid-column: 1;
|
||||
grid-row: 2;
|
||||
}
|
||||
@@ -1,17 +1,5 @@
|
||||
@use "variables.scss";
|
||||
|
||||
@mixin mobileS {
|
||||
@media screen and (max-width: $mobileS) {
|
||||
@content;
|
||||
}
|
||||
}
|
||||
|
||||
@mixin navbar_overflow {
|
||||
@media screen and (max-width: variables.$navbar_overflow) {
|
||||
@content;
|
||||
}
|
||||
}
|
||||
|
||||
@mixin footer_overflow {
|
||||
@media screen and (max-width: variables.$footer_overflow) {
|
||||
@content;
|
||||
@@ -24,20 +12,14 @@
|
||||
}
|
||||
}
|
||||
|
||||
@mixin header_overflow2 {
|
||||
@media screen and (max-width: variables.$header_overflow2) {
|
||||
@content;
|
||||
}
|
||||
}
|
||||
|
||||
@mixin footer_overflow2 {
|
||||
@media screen and (max-width: variables.$footer_overflow2) {
|
||||
@content;
|
||||
}
|
||||
}
|
||||
|
||||
@mixin main {
|
||||
@media screen and (max-width: variables.$main) {
|
||||
@content;
|
||||
}
|
||||
}
|
||||
|
||||
@mixin fourK {
|
||||
@media screen and (max-width: $fourK) {
|
||||
@content;
|
||||
}
|
||||
}
|
||||
@@ -8,7 +8,7 @@
|
||||
justify-content: flex-start;
|
||||
flex-direction: row;
|
||||
align-items: flex-start;
|
||||
padding: variables.$innerContainerMargin;
|
||||
padding: variables.$px_headerPadding;
|
||||
|
||||
.footer-column {
|
||||
color: variables.$clr_footer_sleep;
|
||||
|
||||
@@ -2,28 +2,36 @@
|
||||
@use "../mixins.scss";
|
||||
|
||||
#header {
|
||||
// Height is set in main.scss
|
||||
background: variables.$clr_header;
|
||||
padding: 0 variables.$px_headerPadding;
|
||||
position: sticky;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
|
||||
@include mixins.navbar_overflow {
|
||||
flex-direction: column;
|
||||
@include mixins.header_overflow2 {
|
||||
padding: 0 variables.$px_headerPadding2;
|
||||
}
|
||||
|
||||
#logo {
|
||||
height: 56px;
|
||||
font-family: "Montserrat", sans-serif;
|
||||
font-weight: 700;
|
||||
margin-left: variables.$innerContainerMargin;
|
||||
color: variables.$clr_logo
|
||||
|
||||
color: variables.$clr_logo;
|
||||
|
||||
@include mixins.header_overflow2 {
|
||||
height: 36px;
|
||||
}
|
||||
}
|
||||
|
||||
.navbar {
|
||||
display: flex;
|
||||
|
||||
.nav-item {
|
||||
margin-right: variables.$innerContainerMargin;
|
||||
margin-right: 1vw;
|
||||
font: 18px "Montserrat", sans-serif;
|
||||
font-weight: 600;
|
||||
color: variables.$clr_nav_sleep;
|
||||
@@ -33,10 +41,8 @@
|
||||
color: variables.$clr_nav_active;
|
||||
}
|
||||
|
||||
@include mixins.navbar_overflow {
|
||||
&:last-of-type {
|
||||
margin-right: 0;
|
||||
}
|
||||
&:last-of-type {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
@include mixins.header_overflow {
|
||||
@@ -47,7 +53,7 @@
|
||||
|
||||
.menu {
|
||||
display: none;
|
||||
margin-right: variables.$innerContainerMargin;
|
||||
filter: invert(1);
|
||||
|
||||
@include mixins.header_overflow {
|
||||
display: block;
|
||||
|
||||
@@ -1,12 +1,15 @@
|
||||
$mobileS: 360px;
|
||||
$navbar_overflow: 550px;
|
||||
$header_overflow: 730px;
|
||||
$header_overflow: 1200px;
|
||||
$header_overflow2: 850px;
|
||||
$content_fix: 850px;
|
||||
$footer_overflow2: 880px;
|
||||
$footer_overflow: 1110px;
|
||||
$main: 1700px;
|
||||
$fourK: 2560px;
|
||||
|
||||
$innerContainerMargin: 20px;
|
||||
$px_headerPadding: 150px;
|
||||
$px_headerPadding2: 50px;
|
||||
$px_contentPadding: 200px;
|
||||
|
||||
$sz_l_footer_h: 22px;
|
||||
$sz_m_footer_h: 18px;
|
||||
@@ -15,10 +18,12 @@ $sz_l_footer_p: 16px;
|
||||
$sz_m_footer_p: 12px;
|
||||
$sz_s_footer_p: 8px;
|
||||
|
||||
$clr_header: #01003B;
|
||||
$clr_dark: #01003B;
|
||||
|
||||
$clr_logo: #FDFFFF;
|
||||
$clr_nav_sleep: #A3C2C2;
|
||||
$clr_nav_active: $clr_logo;
|
||||
$clr_header: #FDFFFF;
|
||||
$clr_nav_sleep: #706fff;
|
||||
$clr_nav_active: #01003B;
|
||||
|
||||
$clr_footer: #000000;
|
||||
$clr_footer_sleep: #DFE8E8;
|
||||
|
||||
2
resources/css/views/aydinlatma.scss
Normal file
2
resources/css/views/aydinlatma.scss
Normal file
@@ -0,0 +1,2 @@
|
||||
@use "../variables.scss";
|
||||
@use "../mixins.scss";
|
||||
50
resources/css/views/index.scss
Normal file
50
resources/css/views/index.scss
Normal file
@@ -0,0 +1,50 @@
|
||||
@use "../variables.scss";
|
||||
@use "../mixins.scss";
|
||||
|
||||
.showcase {
|
||||
position: relative;
|
||||
background-image: none;
|
||||
background-color: black;
|
||||
|
||||
img {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
filter: brightness(50%);
|
||||
}
|
||||
|
||||
h1 {
|
||||
position: absolute;
|
||||
top: 30%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -30%);
|
||||
|
||||
font: 800 128px "Montserrat", sans-serif;
|
||||
color: #FFFFFF;
|
||||
}
|
||||
}
|
||||
|
||||
.group {
|
||||
background-color: #FFFFFF;
|
||||
padding: 10px variables.$px_contentPadding;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: flex-start;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.group-item {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
img {
|
||||
max-width: 300px;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
p {
|
||||
font: 400 22px "Montserrat", sans-serif;
|
||||
}
|
||||
|
||||
.side {
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user