Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bootstrap
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
Administrator
bootstrap
Commits
4129be6e
Commit
4129be6e
authored
Jan 17, 2013
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update sidenav and responsive css
parent
f5352017
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
52 additions
and
35 deletions
+52
-35
docs/assets/css/docs.css
docs/assets/css/docs.css
+52
-35
No files found.
docs/assets/css/docs.css
View file @
4129be6e
...
@@ -91,7 +91,7 @@ section > ul li {
...
@@ -91,7 +91,7 @@ section > ul li {
}
}
.masthead
h1
{
.masthead
h1
{
/*font-size: 120px;*/
/*font-size: 120px;*/
/*line-height: 1;*/
line-height
:
1
;
/*letter-spacing: -2px;*/
/*letter-spacing: -2px;*/
}
}
.masthead
p
{
.masthead
p
{
...
@@ -111,13 +111,6 @@ section > ul li {
...
@@ -111,13 +111,6 @@ section > ul li {
color
:
rgba
(
255
,
255
,
255
,
.25
);
color
:
rgba
(
255
,
255
,
255
,
.25
);
}
}
/* Subhead (other docs pages)
------------------------- */
.subhead
{
text-align
:
left
;
}
/* Marketing section of Overview
/* Marketing section of Overview
...
@@ -203,33 +196,6 @@ section > ul li {
...
@@ -203,33 +196,6 @@ section > ul li {
opacity
:
1
;
opacity
:
1
;
}
}
/* Affix all the things, and set widths because they're positioned, depending on viewport size */
@media
screen
and
(
min-width
:
768px
)
{
body
{
padding-top
:
44px
;
}
/* From here, start to affix the nav because we keep columns here */
.bs-docs-sidenav.affix
{
position
:
fixed
;
top
:
54px
;
}
.bs-docs-sidenav
{
width
:
170px
;
}
}
@media
screen
and
(
min-width
:
992px
)
{
.bs-docs-sidenav
{
width
:
220px
;
}
}
@media
screen
and
(
min-width
:
1200px
)
{
.bs-docs-sidenav
{
width
:
260px
;
}
}
/* Bootstrap code examples
/* Bootstrap code examples
...
@@ -474,3 +440,54 @@ section > ul li {
...
@@ -474,3 +440,54 @@ section > ul li {
.bs-docs-social-buttons
.twitter-share-button
{
.bs-docs-social-buttons
.twitter-share-button
{
width
:
98px
!important
;
width
:
98px
!important
;
}
}
/* Responsive variations
-------------------------------------------------- */
/* Tablets and up */
@media
screen
and
(
min-width
:
768px
)
{
/* Account for fixed navbar */
body
{
padding-top
:
44px
;
}
/* Tweak display of docs jumbotrons */
.bs-docs-jumbotron
{
padding-top
:
100px
;
padding-bottom
:
100px
;
}
.masthead
h1
{
font-size
:
80px
;
}
.masthead
p
{
font-size
:
24px
;
}
.subhead
{
text-align
:
left
;
}
/* From here, start to affix the nav because we keep columns here */
.bs-docs-sidenav.affix
{
position
:
fixed
;
top
:
54px
;
}
.bs-docs-sidenav
{
width
:
170px
;
}
}
/* Tablets/desktops and up */
@media
screen
and
(
min-width
:
992px
)
{
.bs-docs-sidenav
{
width
:
220px
;
}
}
/* Large desktops and up */
@media
screen
and
(
min-width
:
1200px
)
{
.bs-docs-sidenav
{
width
:
260px
;
}
}
\ No newline at end of file
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