Skip to content
Snippets Groups Projects
Commit 98f65fac authored by WiljamiT's avatar WiljamiT
Browse files

added scss

parent 88a935d1
No related branches found
No related tags found
No related merge requests found
Pipeline #609081 passed
HERO
Luonut: QuoteInspector.com | Tekijänoikeus: QuoteInspector.com
Tekijänoikeus: © 2018 QuoteInspector.com
img/bitcoin-crypto-investment.jpeg

124 KiB

......@@ -10,6 +10,7 @@
</head>
<body>
<header>
<!-- Header pic: QuoteInspector.com | Tekijänoikeus: QuoteInspector.com Tekijänoikeus: © 2018 QuoteInspector.com -->
<nav class="navBar">
<p>text</p>
<p>text</p>
......
@mixin headerImg {
max-width: 100%;
height: auto;
object-fit: cover;
}
@mixin bgImg {
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
header {
@include bgImg();
background-image: url("../img/bitcoin-crypto-investment.jpeg");
height: 300px;
width: 100%;
}
\ No newline at end of file
......@@ -26,7 +26,8 @@ body {
nav {
@include flexRowNavLinks();
background: $navColor;
background-color: $navColor;
color: $navText;
button {
@include buttonMain();
background: $navButton;
......
$navColor: lightblue;
$navButton: lightgreen;
\ No newline at end of file
$navColor: rgb(0, 0, 0, 0.2);
$navText: white;
$navButton: lightgreen;
......@@ -8,7 +8,8 @@ nav {
flex-direction: row;
align-items: center;
justify-content: space-between;
background: lightblue;
background-color: rgba(0, 0, 0, 0.2);
color: white;
padding: 0 5px 0 5px;
}
nav button {
......@@ -21,4 +22,13 @@ nav button {
}
nav button:hover {
background: red;
}
header {
background-position: center;
background-repeat: no-repeat;
background-size: cover;
background-image: url("../img/bitcoin-crypto-investment.jpeg");
height: 300px;
width: 100%;
}/*# sourceMappingURL=styles.css.map */
\ No newline at end of file
{"version":3,"sources":["_navbar.scss","styles.css","_variables.scss"],"names":[],"mappings":"AAqBA;EACI,SAAA;EACA,UAAA;ACpBJ;;ADuBA;EAlBI,aAAA;EACA,mBAAA;EACA,mBAAA;EACA,8BAAA;EAiBA,qBE5BO;EFqCP,oBAAA;ACzBJ;ADiBI;EAdA,uBAAA;EACA,WAAA;EACA,YAAA;EACA,kBAAA;EAaI,sBE9BI;EF+BJ,eAAA;ACZR;ADaQ;EACI,eAAA;ACXZ","file":"styles.css"}
\ No newline at end of file
{"version":3,"sources":["_navbar.scss","styles.css","_variables.scss","_header.scss"],"names":[],"mappings":"AAqBA;EACI,SAAA;EACA,UAAA;ACpBJ;;ADuBA;EAlBI,aAAA;EACA,mBAAA;EACA,mBAAA;EACA,8BAAA;EAiBA,oCE5BO;EF6BP,YE5BM;EFqCN,oBAAA;ACzBJ;ADiBI;EAfA,uBAAA;EACA,WAAA;EACA,YAAA;EACA,kBAAA;EAcI,sBE9BI;EF+BJ,eAAA;ACZR;ADaQ;EACI,eAAA;ACXZ;;AEZA;EALI,2BAAA;EACA,4BAAA;EACA,sBAAA;EAKA,8DAAA;EACA,aAAA;EACA,WAAA;AFiBJ","file":"styles.css"}
\ No newline at end of file
@import './variables';
@import './navbar';
\ No newline at end of file
@import './navbar';
@import './header';
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment