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
e3bc8f36
Commit
e3bc8f36
authored
Nov 15, 2018
by
Nikolay Gromov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Исправления для блока page
parent
0a9ce1e1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
0 deletions
+21
-0
page.scss
src/blocks/page/page.scss
+20
-0
index.pug
src/index.pug
+1
-0
No files found.
src/blocks/page/page.scss
View file @
e3bc8f36
// Стилизация БЭМ-блока page и общие стили тегов
$body-bg
:
#fff
!
default
;
$link-color
:
hsl
(
208
,
98%
,
43%
)
!
default
;
$link-color--hover
:
darken
(
hsl
(
208
,
98%
,
43%
)
,
15%
)
!
default
;
$screen-xl
:
1200px
!
default
;
// Сделаем viewport великим снова! (привет, IE10)
// http://timkadlec.com/2012/10/ie10-snap-mode-and-responsive-design/
...
...
@@ -145,6 +154,17 @@ a {
&
:visited
{
color
:
$link-color--hover
;
}
&
[
href
^=
"tel:"
]
{
// На больших экранах телефоны-ссылки делаем обычным текстом
@media
(
min-width
:
$screen-xl
)
{
white-space
:
nowrap
;
pointer-events
:
none
;
text-decoration
:
inherit
;
color
:
inherit
;
}
}
}
hr
{
...
...
src/index.pug
View file @
e3bc8f36
...
...
@@ -19,6 +19,7 @@ block content
block footer
+page-footer()
p «Подвал»
p Контактный телефон: #[a(href="tel:+70000000000") +7 000 000 00 00]
//- block page-bottom
//- script(src='js/some.js')
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