Commit 9d1a27fe authored by Sergey's avatar Sergey

Upd gulpfile and upd header

parent bb7dc385
Pipeline #17 failed with stages
...@@ -51,6 +51,13 @@ gulp.task('sass', function () { ...@@ -51,6 +51,13 @@ gulp.task('sass', function () {
cascade: false cascade: false
})) }))
.pipe(sass().on('error', sass.logError)) .pipe(sass().on('error', sass.logError))
.pipe(concat('style.css'))
.pipe(minify({
ext:{
src:'',
min:'.min.css'
},
noSource: false}))
.pipe(sourcemaps.write()) .pipe(sourcemaps.write())
.pipe(gulp.dest('./build/css')); .pipe(gulp.dest('./build/css'));
}); });
......
@import "../../settings/color";
.header{
background: $red-color;
}
@import "../../settings/color";
.nav__list{
display: flex;
padding-left: 0;
margin: 0;
list-style-type: none;
}
.nav__link{
text-decoration: none;
color: $white-text;
}
\ No newline at end of file
$red-color: #e33000;
$white-text: #fefefe;
\ No newline at end of file
*, *:after, *:before{
box-sizing: border-box;
}
body{
margin: 0;
padding: 0;
}
.wrapper{
width: 1170px;
margin: 0 auto;
}
\ No newline at end of file
...@@ -3,8 +3,26 @@ ...@@ -3,8 +3,26 @@
<head lang="ru"> <head lang="ru">
<meta charset="UTF-8"> <meta charset="UTF-8">
<title>Bobcat SU</title> <title>Bobcat SU</title>
<link rel="stylesheet" href="css/utils.css"> <link rel="stylesheet" href="css/style.css">
</head> </head>
<body> <body>
<p>ddaddas</p> <header class="header">
<p>test headder</p> <div class="wrapper header__wrapper">
\ No newline at end of file <div class="header__bl header__bl-nav">
<nav class="header__nav">
<ul class="header__nav-list nav__list">
<li class="nav__item"><a class="nav__link" href="#">Каталог</a></li>
<li class="nav__item"><a class="nav__link" href="#">Сервис</a></li>
<li class="nav__item"><a class="nav__link" href="#">Запчасти</a></li>
<li class="nav__item"><a class="nav__link" href="#">Аренда</a></li>
<li class="nav__item"><a class="nav__link" href="#">Техника Б/У</a></li>
<li class="nav__item"><a class="nav__link" href="#">Акции</a></li>
<li class="nav__item"><a class="nav__link" href="#">Контакты</a></li>
</ul>
</nav>
</div>
<div class="header__bl">
</div>
</div>
</header>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment