Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
K
kpp
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alexandr Veselov
kpp
Commits
475fea52
Commit
475fea52
authored
Mar 22, 2017
by
Nikolay Gromov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Добавил прибитый подвал
parent
10cfe6cc
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
41 additions
and
5 deletions
+41
-5
blocks-demo.html
src/blocks-demo.html
+11
-3
page.scss
src/blocks/page/page.scss
+14
-0
index.html
src/index.html
+16
-2
No files found.
src/blocks-demo.html
View file @
475fea52
...
@@ -68,13 +68,21 @@
...
@@ -68,13 +68,21 @@
<li>
Ограничение размера картинок до 100% ширины родителя.
</li>
<li>
Ограничение размера картинок до 100% ширины родителя.
</li>
</ul>
</ul>
<p>
В стилизацию блока включена стилизация «прибитого подвала».
</p>
<div
class=
"blocks-library__code-wrapper"
>
<div
class=
"blocks-library__code-wrapper"
>
<span
class=
"blocks-library__code-show-trigger"
title=
"Показать код"
><i
class=
"blocks-library__code-icon"
></i></span>
<span
class=
"blocks-library__code-show-trigger"
title=
"Показать код"
><i
class=
"blocks-library__code-icon"
></i></span>
<div
class=
"blocks-library__code"
>
<div
class=
"blocks-library__code"
>
<pre
class=
"code"
>
<pre
class=
"code"
>
<code>
<
html class="page">
</code>
<code>
<
!DOCTYPE html>
</code>
<code>
<
head>...
<
/head>
</code>
<code>
<
html class="no-js page" lang="ru">
</code>
<code>
<
body>...
<
/body>
</code>
<code>
<
head>...
<
/head>
</code>
<code>
<
body>
</code>
<code>
<
div class="page__inner">
</code>
<code>
<
div class="page__content">Основное содержимое
<
/div>
</code>
<code>
<
div class="page__footer-wrapper">Прибитый «подвал»
<
/div>
</code>
<code>
<
/div>
</code>
<code>
<
/body>
</code>
<code>
<
/html>
</code>
<code>
<
/html>
</code>
</pre>
</pre>
</div>
</div>
...
...
src/blocks/page/page.scss
View file @
475fea52
...
@@ -16,6 +16,20 @@
...
@@ -16,6 +16,20 @@
-ms-text-size-adjust
:
100%
;
/* stylelint-disable-line property-no-vendor-prefix */
-ms-text-size-adjust
:
100%
;
/* stylelint-disable-line property-no-vendor-prefix */
min-width
:
320px
;
min-width
:
320px
;
min-height
:
100%
;
min-height
:
100%
;
&
__inner
{
min-height
:
100vh
;
display
:
flex
;
flex-direction
:
column
;
}
&
__content
{
flex-grow
:
1
;
}
&
__footer-wrapper
{
flex-shrink
:
0
;
}
}
}
*,
*,
...
...
src/index.html
View file @
475fea52
...
@@ -10,10 +10,24 @@
...
@@ -10,10 +10,24 @@
<body>
<body>
<div
class=
"page__inner"
>
<div
class=
"page__content"
>
@@include('blocks/page-header/page-header.html')
<h1>
NTH start project
</h1>
<h1>
NTH start project
</h1>
<p><a
href=
"blocks-demo.html"
>
Страница с демкой компонентов
</a></p>
<p><a
href=
"blocks-demo.html"
>
Страница с демкой компонентов
</a></p>
</div>
<div
class=
"page__footer-wrapper"
>
@@include('blocks/page-footer/page-footer.html')
</div>
</div>
@@include('_include/page_bottom.html')
@@include('_include/page_bottom.html')
</body>
</body>
</html>
</html>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment