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
9e910946
Commit
9e910946
authored
Oct 16, 2011
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
biiiiiig update coming for responsiveness
parent
fbe22f05
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
433 additions
and
481 deletions
+433
-481
bootstrap.css
bootstrap.css
+222
-200
bootstrap.min.css
bootstrap.min.css
+78
-94
docs/assets/css/docs.css
docs/assets/css/docs.css
+48
-23
docs/index.html
docs/index.html
+79
-136
lib/mixins.less
lib/mixins.less
+0
-3
lib/scaffolding.less
lib/scaffolding.less
+4
-23
lib/variables.less
lib/variables.less
+2
-2
No files found.
bootstrap.css
View file @
9e910946
This diff is collapsed.
Click to expand it.
bootstrap.min.css
View file @
9e910946
This diff is collapsed.
Click to expand it.
docs/assets/css/docs.css
View file @
9e910946
...
@@ -8,8 +8,9 @@
...
@@ -8,8 +8,9 @@
/* Body and structure
/* Body and structure
-------------------------------------------------- */
-------------------------------------------------- */
body
{
body
{
background-color
:
#fff
;
position
:
relative
;
position
:
relative
;
padding-top
:
40px
;
background-color
:
#fff
;
}
}
section
{
section
{
padding-top
:
60px
;
padding-top
:
60px
;
...
@@ -21,22 +22,29 @@ section > .row {
...
@@ -21,22 +22,29 @@ section > .row {
/* Jumbotrons
/* Jumbotrons
-------------------------------------------------- */
-------------------------------------------------- */
.jumbotron
,
.jumbotron
.inner
{
-webkit-border-radius
:
0
0
6px
6px
;
-moz-border-radius
:
0
0
6px
6px
;
border-radius
:
0
0
6px
6px
;
}
.jumbotron
{
.jumbotron
{
min-width
:
940px
;
margin-bottom
:
40px
;
padding-top
:
40px
;
-webkit-box-shadow
:
inset
0
-1px
0
rgba
(
0
,
0
,
0
,
.15
),
0
1px
3px
rgba
(
0
,
0
,
0
,
.25
);
-moz-box-shadow
:
inset
0
-1px
0
rgba
(
0
,
0
,
0
,
.15
),
0
1px
3px
rgba
(
0
,
0
,
0
,
.25
);
box-shadow
:
inset
0
-1px
0
rgba
(
0
,
0
,
0
,
.15
),
0
1px
3px
rgba
(
0
,
0
,
0
,
.25
);
}
}
.jumbotron
.inner
{
.jumbotron
.inner
{
background
:
transparent
url(../img/grid-18px.png)
top
center
;
background
:
transparent
url(../img/grid-18px.png)
top
center
;
padding
:
45px
0
;
padding
:
36px
60px
;
-webkit-box-shadow
:
inset
0
10px
30px
rgba
(
0
,
0
,
0
,
.3
);
-webkit-box-shadow
:
inset
0
-15px
30px
rgba
(
0
,
0
,
0
,
.1
);
-moz-box-shadow
:
inset
0
10px
30px
rgba
(
0
,
0
,
0
,
.3
);
-moz-box-shadow
:
inset
0
-15px
30px
rgba
(
0
,
0
,
0
,
.1
);
/* box-shadow: inset 0 10px 30px rgba(0,0,0,.3
);
box-shadow
:
inset
0
-15px
30px
rgba
(
0
,
0
,
0
,
.1
);
*/
}
}
.jumbotron
h1
,
.jumbotron
h1
,
.jumbotron
p
{
.jumbotron
p
{
margin-bottom
:
9px
;
margin-bottom
:
9px
;
color
:
#fff
;
color
:
#fff
;
text-align
:
center
;
text-shadow
:
0
1px
1px
rgba
(
0
,
0
,
0
,
.3
);
text-shadow
:
0
1px
1px
rgba
(
0
,
0
,
0
,
.3
);
}
}
.jumbotron
h1
{
.jumbotron
h1
{
...
@@ -46,6 +54,7 @@ section > .row {
...
@@ -46,6 +54,7 @@ section > .row {
}
}
.jumbotron
p
{
.jumbotron
p
{
font-weight
:
300
;
font-weight
:
300
;
margin-right
:
25%
;
}
}
.jumbotron
.lead
{
.jumbotron
.lead
{
font-size
:
20px
;
font-size
:
20px
;
...
@@ -60,14 +69,14 @@ section > .row {
...
@@ -60,14 +69,14 @@ section > .row {
------------------------- */
------------------------- */
/* main docs page */
/* main docs page */
.masthead
{
.masthead
{
background-color
:
#0
49cd9
;
background-color
:
#0
04d9f
;
background-repeat
:
no-repeat
;
background-repeat
:
no-repeat
;
background-image
:
-webkit-gradient
(
linear
,
left
top
,
left
bottom
,
from
(
#0
04D9F
),
to
(
#049cd9
));
background-image
:
-webkit-gradient
(
linear
,
left
top
,
left
bottom
,
from
(
#0
48ccd
),
to
(
#004d9f
));
background-image
:
-webkit-linear-gradient
(
#0
04D9F
,
#049cd9
);
background-image
:
-webkit-linear-gradient
(
#0
48ccd
,
#004d9f
);
background-image
:
-moz-linear-gradient
(
#0
04D9F
,
#049cd9
);
background-image
:
-moz-linear-gradient
(
#0
48ccd
,
#004d9f
);
background-image
:
-o-linear-gradient
(
top
,
#0
04D9F
,
#049cd9
);
background-image
:
-o-linear-gradient
(
top
,
#0
48ccd
,
#004d9f
);
background-image
:
-khtml-gradient
(
linear
,
left
top
,
left
bottom
,
from
(
#0
04D9F
),
to
(
#049cd9
));
background-image
:
-khtml-gradient
(
linear
,
left
top
,
left
bottom
,
from
(
#0
48ccd
),
to
(
#004d9f
));
filter
:
progid
:
DXImageTransform
.
Microsoft
.
gradient
(
startColorstr
=
'#0
04D9F'
,
endColorstr
=
'#049cd9
'
,
GradientType
=
0
);
/* IE8 and down */
filter
:
progid
:
DXImageTransform
.
Microsoft
.
gradient
(
startColorstr
=
'#0
48ccd'
,
endColorstr
=
'#004d9f
'
,
GradientType
=
0
);
/* IE8 and down */
}
}
/* supporting docs pages */
/* supporting docs pages */
.subhead
{
.subhead
{
...
@@ -98,15 +107,9 @@ section > .row {
...
@@ -98,15 +107,9 @@ section > .row {
/* Footer
/* Footer
-------------------------------------------------- */
-------------------------------------------------- */
.footer
{
.footer
{
background-color
:
#eee
;
min-width
:
940px
;
padding
:
30px
0
;
padding
:
30px
0
;
text-shadow
:
0
1px
0
#fff
;
border-top
:
1px
solid
#e5e5e5
;
border-top
:
1px
solid
#e5e5e5
;
-webkit-box-shadow
:
inset
0
5px
15px
rgba
(
0
,
0
,
0
,
.025
);
}
-moz-box-shadow
:
inset
0
5px
15px
rgba
(
0
,
0
,
0
,
.025
);
/* box-shadow: inset 0 5px 15px rgba(0,0,0,.025);
*/
}
.footer
p
{
.footer
p
{
color
:
#555
;
color
:
#555
;
}
}
...
@@ -323,3 +326,25 @@ pre.prettyprint {
...
@@ -323,3 +326,25 @@ pre.prettyprint {
.well
form
{
.well
form
{
margin-bottom
:
0
;
margin-bottom
:
0
;
}
}
/* Responsive Docs
-------------------------------------------------- */
/* Tablet to Medium Desktop
------------------------- */
@media
(
min-width
:
768px
)
and
(
max-width
:
900px
)
{
.footer
,
.jumbotron
{
min-width
:
748px
;
}
.jumbotron
.inner
h1
,
.jumbotron
.inner
p
{
margin-left
:
40px
;
margin-right
:
40px
;
}
}
docs/index.html
View file @
9e910946
This diff is collapsed.
Click to expand it.
lib/mixins.less
View file @
9e910946
...
@@ -101,9 +101,6 @@
...
@@ -101,9 +101,6 @@
-webkit-border-radius: @radius;
-webkit-border-radius: @radius;
-moz-border-radius: @radius;
-moz-border-radius: @radius;
border-radius: @radius;
border-radius: @radius;
-webkit-background-clip: padding-box;
-moz-background-clip: padding;
background-clip: padding-box;
}
}
.border-radius-custom(@topLeft, @topRight, @bottomRight, @bottomLeft) {
.border-radius-custom(@topLeft, @topRight, @bottomRight, @bottomLeft) {
-webkit-border-top-left-radius: @topLeft;
-webkit-border-top-left-radius: @topLeft;
...
...
lib/scaffolding.less
View file @
9e910946
...
@@ -84,10 +84,8 @@ a {
...
@@ -84,10 +84,8 @@ a {
// GRID SYSTEM
// GRID SYSTEM
// -----------
// -----------
// To customize the grid system, bring up the variables.less file and change the column count, size, and gutter there
// To customize the grid system, bring up the variables.less file and change the column count, size, and gutter there
.row {
.row {
.clearfix();
.clearfix();
margin-left: -1 * @gridGutterWidth;
}
}
// Find all .span# classes within .row and give them the necessary properties for grid columns (supported by all browsers back to IE7)
// Find all .span# classes within .row and give them the necessary properties for grid columns (supported by all browsers back to IE7)
...
@@ -95,6 +93,10 @@ a {
...
@@ -95,6 +93,10 @@ a {
[class*="span"] {
[class*="span"] {
.gridColumn();
.gridColumn();
}
}
// Kill the margin on the first column
.row > [class*="span"]:first-child {
margin-left: 0;
}
// Default columns
// Default columns
.span1 { .columns(1); }
.span1 { .columns(1); }
...
@@ -109,20 +111,6 @@ a {
...
@@ -109,20 +111,6 @@ a {
.span10 { .columns(10); }
.span10 { .columns(10); }
.span11 { .columns(11); }
.span11 { .columns(11); }
.span12 { .columns(12); }
.span12 { .columns(12); }
.span13 { .columns(13); }
.span14 { .columns(14); }
.span15 { .columns(15); }
.span16 { .columns(16); }
// For optional 24-column grid
.span17 { .columns(17); }
.span18 { .columns(18); }
.span19 { .columns(19); }
.span20 { .columns(20); }
.span21 { .columns(21); }
.span22 { .columns(22); }
.span23 { .columns(23); }
.span24 { .columns(24); }
// Offset column options
// Offset column options
.offset1 { .offset(1); }
.offset1 { .offset(1); }
...
@@ -136,10 +124,3 @@ a {
...
@@ -136,10 +124,3 @@ a {
.offset9 { .offset(9); }
.offset9 { .offset(9); }
.offset10 { .offset(10); }
.offset10 { .offset(10); }
.offset11 { .offset(11); }
.offset11 { .offset(11); }
.offset12 { .offset(12); }
// Unique column sizes for 16-column grid
.span-one-third { width: 300px; }
.span-two-thirds { width: 620px; }
.offset-one-third { margin-left: 340px; }
.offset-two-thirds { margin-left: 660px; }
lib/variables.less
View file @
9e910946
...
@@ -38,8 +38,8 @@
...
@@ -38,8 +38,8 @@
// ----
// ----
// Modify the grid styles in mixins.less
// Modify the grid styles in mixins.less
@gridColumns: 1
6
;
@gridColumns: 1
2
;
@gridColumnWidth:
4
0px;
@gridColumnWidth:
6
0px;
@gridGutterWidth: 20px;
@gridGutterWidth: 20px;
@extraSpace: (@gridGutterWidth * 2); // For our grid calculations
@extraSpace: (@gridGutterWidth * 2); // For our grid calculations
@siteWidth: (@gridColumns * @gridColumnWidth) + (@gridGutterWidth * (@gridColumns - 1));
@siteWidth: (@gridColumns * @gridColumnWidth) + (@gridGutterWidth * (@gridColumns - 1));
...
...
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