Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
coopwire-hypothesis
Project
Project
Details
Activity
Releases
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
孙灵跃 Leon Sun
coopwire-hypothesis
Commits
f18d6911
Commit
f18d6911
authored
May 15, 2013
by
Randall Leeds
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
move .content responsive css to site.scss
fixes #412
parent
35a1c55c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
59 deletions
+14
-59
common.scss
h/css/common.scss
+2
-59
site.scss
h/css/site.scss
+12
-0
No files found.
h/css/common.scss
View file @
f18d6911
...
...
@@ -587,12 +587,8 @@ blockquote {
}
}
.inner
{
max-width
:
grid
(
12
);
margin
:
0
auto
;
&
>
*
{
padding
:
.3em
;
}
.inner
>
*
{
padding
:
.3em
;
}
.tinyman
{
...
...
@@ -845,56 +841,3 @@ blockquote {
display
:
none
;
}
}
/*
Mobile layout
240-479 px
Zoomed out below 320 px
*/
@media
screen
and
(
min-width
:
15em
)
{
.content
{
padding
:
3em
1em
;
}
}
/*
Wide mobile layout
480-767 px
Zoomed in above 480 px
*/
@media
screen
and
(
min-width
:
30em
)
{
}
/*
Tablet layout
600-911 px
Zoomed in above 600 px
*/
@media
screen
and
(
min-width
:
37
.5em
)
{
.content
{
padding
:
6em
;
}
}
/*
Widescreen layout
912-1887 px
Zoomed in above 912 px
*/
@media
screen
and
(
min-width
:
57em
)
{
.content
{
max-width
:
grid
(
12
);
margin
:
auto
;
}
}
/*
Huge-screen layout
1888-2520 px
Zoomed in above 1920 px
*/
@media
screen
and
(
min-width
:
118em
)
{
}
h/css/site.scss
View file @
f18d6911
...
...
@@ -70,6 +70,8 @@ hgroup {
@media
screen
and
(
min-width
:
15em
)
{
.auth
{
width
:
100%
;
}
.content
{
padding
:
3em
1em
;
}
header
{
margin-bottom
:
2em
;
text-align
:
center
;
...
...
@@ -99,6 +101,7 @@ hgroup {
*/
@media
screen
and
(
min-width
:
37
.5em
)
{
.content
{
padding
:
6em
;
}
}
/*
...
...
@@ -108,6 +111,15 @@ hgroup {
*/
@media
screen
and
(
min-width
:
57em
)
{
.content
{
max-width
:
grid
(
12
);
margin
:
auto
;
}
.topbar
.inner
{
max-width
:
grid
(
12
);
margin
:
0
auto
;
}
}
/*
...
...
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