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
6f4360c4
Commit
6f4360c4
authored
Jun 28, 2012
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleanup docs css more
parent
c31a4e51
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
94 additions
and
145 deletions
+94
-145
docs/assets/css/docs.css
docs/assets/css/docs.css
+94
-145
No files found.
docs/assets/css/docs.css
View file @
6f4360c4
...
@@ -51,6 +51,8 @@ h3 code {
...
@@ -51,6 +51,8 @@ h3 code {
.navbar
{
.navbar
{
font-size
:
13px
;
font-size
:
13px
;
}
}
/* Change the docs' brand */
body
>
.navbar-fixed-top
.brand
{
body
>
.navbar-fixed-top
.brand
{
padding-right
:
0
;
padding-right
:
0
;
padding-left
:
0
;
padding-left
:
0
;
...
@@ -93,6 +95,7 @@ hr.soften {
...
@@ -93,6 +95,7 @@ hr.soften {
}
}
/* Jumbotrons
/* Jumbotrons
-------------------------------------------------- */
-------------------------------------------------- */
...
@@ -149,7 +152,7 @@ hr.soften {
...
@@ -149,7 +152,7 @@ hr.soften {
font-size
:
60px
;
font-size
:
60px
;
}
}
/* Quick links
/* Quick links
on Home
------------------------- */
------------------------- */
.bs-links
{
.bs-links
{
margin
:
40px
0
0
;
margin
:
40px
0
0
;
...
@@ -178,8 +181,10 @@ hr.soften {
...
@@ -178,8 +181,10 @@ hr.soften {
}
}
/* Marketing section of Overview
/* Marketing section of Overview
-------------------------------------------------- */
-------------------------------------------------- */
.marketing
.row
{
.marketing
.row
{
margin-bottom
:
9px
;
margin-bottom
:
9px
;
}
}
...
@@ -189,8 +194,7 @@ hr.soften {
...
@@ -189,8 +194,7 @@ hr.soften {
font-weight
:
300
;
font-weight
:
300
;
text-align
:
center
;
text-align
:
center
;
}
}
.marketing
h2
,
.marketing
h2
{
.marketing
h3
{
font-weight
:
300
;
font-weight
:
300
;
}
}
.marketing
p
{
.marketing
p
{
...
@@ -201,10 +205,6 @@ hr.soften {
...
@@ -201,10 +205,6 @@ hr.soften {
margin
:
7px
10px
0
0
;
margin
:
7px
10px
0
0
;
opacity
:
.8
;
opacity
:
.8
;
}
}
.marketing
.small-bs-icon
{
float
:
left
;
margin
:
4px
5px
0
0
;
}
.marketing
.marketing-byline
{
.marketing
.marketing-byline
{
margin-bottom
:
30px
;
margin-bottom
:
30px
;
font-size
:
20px
;
font-size
:
20px
;
...
@@ -215,8 +215,10 @@ hr.soften {
...
@@ -215,8 +215,10 @@ hr.soften {
}
}
/* Footer
/* Footer
-------------------------------------------------- */
-------------------------------------------------- */
.footer
{
.footer
{
padding
:
40px
0
;
padding
:
40px
0
;
margin-top
:
49px
;
margin-top
:
49px
;
...
@@ -231,6 +233,7 @@ hr.soften {
...
@@ -231,6 +233,7 @@ hr.soften {
/* Special grid styles
/* Special grid styles
-------------------------------------------------- */
-------------------------------------------------- */
.show-grid
{
.show-grid
{
margin-top
:
10px
;
margin-top
:
10px
;
margin-bottom
:
20px
;
margin-bottom
:
20px
;
...
@@ -256,7 +259,8 @@ hr.soften {
...
@@ -256,7 +259,8 @@ hr.soften {
}
}
/* Render mini layout previews
/* Mini layout previews
-------------------------------------------------- */
-------------------------------------------------- */
.mini-layout
{
.mini-layout
{
border
:
1px
solid
#ddd
;
border
:
1px
solid
#ddd
;
...
@@ -301,32 +305,10 @@ hr.soften {
...
@@ -301,32 +305,10 @@ hr.soften {
}
}
/* Popover docs
-------------------------------------------------- */
.popover-well
{
min-height
:
160px
;
}
.popover-well
.popover
{
display
:
block
;
}
.popover-well
.popover-wrapper
{
width
:
50%
;
height
:
160px
;
float
:
left
;
margin-left
:
55px
;
position
:
relative
;
}
.popover-well
.popover-menu-wrapper
{
height
:
80px
;
}
.large-bird
{
margin
:
5px
0
0
310px
;
opacity
:
.1
;
}
/* Download page
/* Download page
-------------------------------------------------- */
-------------------------------------------------- */
.download
.page-header
{
.download
.page-header
{
margin-top
:
36px
;
margin-top
:
36px
;
}
}
...
@@ -410,30 +392,6 @@ hr.soften {
...
@@ -410,30 +392,6 @@ hr.soften {
/* Color swatches on LESS docs page
-------------------------------------------------- */
/* Sets the width of the td */
.swatch-col
{
width
:
30px
;
}
/* Le swatch */
.swatch
{
display
:
inline-block
;
width
:
30px
;
height
:
20px
;
margin
:
-6px
0
;
-webkit-border-radius
:
3px
;
-moz-border-radius
:
3px
;
border-radius
:
3px
;
}
/* For white swatches, give a border */
.swatch-bordered
{
width
:
28px
;
height
:
18px
;
border
:
1px
solid
#eee
;
}
/* Misc
/* Misc
-------------------------------------------------- */
-------------------------------------------------- */
...
@@ -460,15 +418,6 @@ h2 + .row {
...
@@ -460,15 +418,6 @@ h2 + .row {
position
:
relative
;
position
:
relative
;
}
}
/* Remove bottom margin on example forms in wells */
form
.well
{
padding
:
14px
;
}
/* Tighten up spacing */
.well
hr
{
margin
:
18px
0
;
}
/* Fake the :focus state to demo it */
/* Fake the :focus state to demo it */
.focused
{
.focused
{
...
@@ -507,8 +456,12 @@ form.well {
...
@@ -507,8 +456,12 @@ form.well {
background-color
:
#fff
;
background-color
:
#fff
;
}
}
/* Docs examples
------------------------- */
/* Bootstrap code examples
-------------------------------------------------- */
/* Base class */
.bs-docs-example
{
.bs-docs-example
{
position
:
relative
;
position
:
relative
;
margin
:
15px
0
;
margin
:
15px
0
;
...
@@ -519,6 +472,8 @@ form.well {
...
@@ -519,6 +472,8 @@ form.well {
-moz-border-radius
:
4px
;
-moz-border-radius
:
4px
;
border-radius
:
4px
;
border-radius
:
4px
;
}
}
/* Echo out a label for the example */
.bs-docs-example
:after
{
.bs-docs-example
:after
{
content
:
"Example"
;
content
:
"Example"
;
position
:
absolute
;
position
:
absolute
;
...
@@ -534,10 +489,15 @@ form.well {
...
@@ -534,10 +489,15 @@ form.well {
-moz-border-radius
:
4px
0
4px
0
;
-moz-border-radius
:
4px
0
4px
0
;
border-radius
:
4px
0
4px
0
;
border-radius
:
4px
0
4px
0
;
}
}
/* Remove spacing between an example and it's code */
.bs-docs-example
+
.prettyprint
{
.bs-docs-example
+
.prettyprint
{
margin-top
:
-20px
;
margin-top
:
-20px
;
padding-top
:
15px
;
padding-top
:
15px
;
}
}
/* Tweak examples
------------------------- */
.bs-docs-example
,
.bs-docs-example
,
.bs-docs-example
>
p
{
.bs-docs-example
>
p
{
font-size
:
13px
;
font-size
:
13px
;
...
@@ -614,7 +574,11 @@ form.bs-docs-example {
...
@@ -614,7 +574,11 @@ form.bs-docs-example {
}
}
/* Responsive table
/* Responsive docs
-------------------------------------------------- */
/* Utility classes table
------------------------- */
------------------------- */
.responsive-utilities
th
small
{
.responsive-utilities
th
small
{
display
:
block
;
display
:
block
;
...
@@ -680,10 +644,71 @@ form.bs-docs-example {
...
@@ -680,10 +644,71 @@ form.bs-docs-example {
/* Responsive
Docs
/* Responsive
-------------------------------------------------- */
-------------------------------------------------- */
@media
(
max-width
:
480px
)
{
/* Desktop large
------------------------- */
@media
(
min-width
:
1210px
)
{
.bs-docs-container
{
max-width
:
970px
;
}
}
/* Desktop
------------------------- */
@media
(
max-width
:
980px
)
{
/* Unfloat brand */
body
>
.navbar-fixed-top
.brand
{
float
:
left
;
margin-left
:
0
;
padding-left
:
10px
;
padding-right
:
10px
;
}
/* Inline-block quick links for more spacing */
.quick-links
li
{
display
:
inline-block
;
margin
:
5px
;
}
}
/* Tablet to desktop
------------------------- */
@media
(
min-width
:
768px
)
and
(
max-width
:
980px
)
{
/* Remove any padding from the body */
body
{
padding-top
:
0
;
}
}
/* Tablet
------------------------- */
@media
(
max-width
:
768px
)
{
/* Remove any padding from the body */
body
{
padding-top
:
0
;
}
/* Jumbotron buttons */
.jumbotron
.btn
{
margin-bottom
:
10px
;
}
/* Space out the show-grid examples */
.show-grid
[
class
*=
"span"
]
{
margin-bottom
:
5px
;
}
/* Unfloat the back to top link in footer */
.footer
p
{
margin-bottom
:
9px
;
}
}
/* Landscape phones
------------------------- */
@media
(
max-width
:
480px
)
{
/* Reduce padding above jumbotron */
/* Reduce padding above jumbotron */
body
{
body
{
padding-top
:
70px
;
padding-top
:
70px
;
...
@@ -749,80 +774,4 @@ form.bs-docs-example {
...
@@ -749,80 +774,4 @@ form.bs-docs-example {
.footer
.pull-right
{
.footer
.pull-right
{
float
:
none
;
float
:
none
;
}
}
}
@media
(
max-width
:
768px
)
{
/* Remove any padding from the body */
body
{
padding-top
:
0
;
}
/* Jumbotron buttons */
.jumbotron
.btn
{
margin-bottom
:
10px
;
}
/* Space out the show-grid examples */
.show-grid
[
class
*=
"span"
]
{
margin-bottom
:
5px
;
}
/* Unfloat the back to top link in footer */
.footer
p
{
margin-bottom
:
9px
;
}
}
@media
(
min-width
:
480px
)
and
(
max-width
:
768px
)
{
}
@media
(
min-width
:
768px
)
and
(
max-width
:
980px
)
{
/* Remove any padding from the body */
body
{
padding-top
:
0
;
}
}
@media
(
max-width
:
980px
)
{
/* Unfloat brand */
body
>
.navbar-fixed-top
.brand
{
float
:
left
;
margin-left
:
0
;
padding-left
:
10px
;
padding-right
:
10px
;
}
/* Inline-block quick links for more spacing */
.quick-links
li
{
display
:
inline-block
;
margin
:
5px
;
}
}
/* LARGE DESKTOP SCREENS */
@media
(
min-width
:
1210px
)
{
.bs-docs-container
{
max-width
:
970px
;
}
/* Update subnav container */
.subnav-fixed
.nav
{
max-width
:
970px
;
/* 2px less to account for left/right borders being removed when in fixed mode */
}
}
}
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