Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
blog
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
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
mastodon
blog
Commits
f6af13c9
Commit
f6af13c9
authored
Jun 22, 2018
by
Eugen Rochko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add responsive design
parent
0235dea6
Pipeline
#26
passed with stages
in 0 seconds
Changes
5
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
51 additions
and
1 deletion
+51
-1
.gitignore
.gitignore
+1
-0
style.scssc
...ache/1aebeb861dee8082dc33c2f59016d172ee2041e1/style.scssc
+0
-0
style.css
static/style.css
+21
-0
style.css.map
static/style.css.map
+1
-1
style.scss
static/style.scss
+28
-0
No files found.
.gitignore
View file @
f6af13c9
public/
static/.sass-cache
static/.sass-cache/1aebeb861dee8082dc33c2f59016d172ee2041e1/style.scssc
deleted
100644 → 0
View file @
0235dea6
File deleted
static/style.css
View file @
f6af13c9
...
...
@@ -67,12 +67,20 @@ body {
.container
{
max-width
:
800px
;
margin
:
0
auto
;
}
@media
screen
and
(
max-width
:
600px
)
{
.container
{
padding
:
0
20px
;
}
}
.navbar
{
padding-top
:
15px
;
margin-bottom
:
90px
;
display
:
flex
;
justify-content
:
space-between
;
}
@media
screen
and
(
max-width
:
600px
)
{
.navbar
{
flex-wrap
:
wrap
;
justify-content
:
center
;
margin-bottom
:
30px
;
}
}
.navbar
ul
{
list-style
:
none
;
}
.navbar
ul
li
{
...
...
@@ -127,6 +135,9 @@ body {
top
:
-21px
;
left
:
-28px
;
pointer-events
:
none
;
}
@media
screen
and
(
max-width
:
600px
)
{
.brand
::before
{
display
:
none
;
}
}
.brand
:hover::before
{
top
:
-20px
;
}
...
...
@@ -143,6 +154,11 @@ body {
font-weight
:
500
;
color
:
#d9e1e8
;
line-height
:
1
;
}
@media
screen
and
(
max-width
:
600px
)
{
.intro
{
padding-top
:
20px
;
}
.intro
h1
{
font-size
:
28px
;
}
}
.thumbnail-grid
{
display
:
flex
;
...
...
@@ -154,6 +170,9 @@ body {
flex
:
0
0
auto
;
padding
:
0
15px
;
margin-bottom
:
30px
;
}
@media
screen
and
(
max-width
:
600px
)
{
.thumbnail-grid
li
{
width
:
100%
;
}
}
.thumbnail-grid
li
.cover
{
display
:
block
;
background
:
#282d37
;
...
...
@@ -343,12 +362,14 @@ body {
padding
:
40px
;
}
.cta-banner
h4
{
font-size
:
24px
;
line-height
:
1.08
;
font-weight
:
600
;
margin-bottom
:
20px
;
color
:
#fff
;
}
.cta-banner
p
{
color
:
#fff
;
font-size
:
18px
;
line-height
:
1.22
;
margin-bottom
:
20px
;
}
.cta-banner
>
a
{
font-weight
:
500
;
...
...
static/style.css.map
View file @
f6af13c9
This diff is collapsed.
Click to expand it.
static/style.scss
View file @
f6af13c9
...
...
@@ -94,6 +94,10 @@ body {
.container
{
max-width
:
$content-width
;
margin
:
0
auto
;
@media
screen
and
(
max-width
:
600px
)
{
padding
:
0
20px
;
}
}
.navbar
{
...
...
@@ -102,6 +106,12 @@ body {
display
:
flex
;
justify-content
:
space-between
;
@media
screen
and
(
max-width
:
600px
)
{
flex-wrap
:
wrap
;
justify-content
:
center
;
margin-bottom
:
30px
;
}
ul
{
list-style
:
none
;
...
...
@@ -178,6 +188,10 @@ body {
top
:
-21px
;
left
:
-28px
;
pointer-events
:
none
;
@media
screen
and
(
max-width
:
600px
)
{
display
:
none
;
}
}
&
:hover
{
...
...
@@ -204,6 +218,14 @@ body {
color
:
$lightest
;
line-height
:
1
;
}
@media
screen
and
(
max-width
:
600px
)
{
padding-top
:
20px
;
h1
{
font-size
:
28px
;
}
}
}
.thumbnail-grid
{
...
...
@@ -218,6 +240,10 @@ body {
padding
:
0
15px
;
margin-bottom
:
30px
;
@media
screen
and
(
max-width
:
600px
)
{
width
:
100%
;
}
.cover
{
display
:
block
;
background
:
lighten
(
$darkest
,
4%
);
...
...
@@ -486,6 +512,7 @@ body {
h4
{
font-size
:
24px
;
line-height
:
1
.08
;
font-weight
:
600
;
margin-bottom
:
20px
;
color
:
#fff
;
...
...
@@ -494,6 +521,7 @@ body {
p
{
color
:
#fff
;
font-size
:
18px
;
line-height
:
1
.22
;
margin-bottom
:
20px
;
}
...
...
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