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
6cce5606
Commit
6cce5606
authored
Jul 19, 2013
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Better code snippets on mobile in docs
parent
95b9f441
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
16 deletions
+22
-16
assets/css/docs.css
assets/css/docs.css
+22
-16
No files found.
assets/css/docs.css
View file @
6cce5606
...
...
@@ -313,26 +313,25 @@ body {
/* Base class */
.bs-example
{
position
:
relative
;
padding
:
39px
14px
14px
;
margin-bottom
:
-1px
;
border
:
1px
solid
#ddd
;
border-top-left-radius
:
4px
;
border-top-right-radius
:
4px
;
padding
:
45px
15px
15px
;
margin
:
0
-15px
-1px
;
background-color
:
#fafafa
;
box-shadow
:
inset
0
3px
6px
rgba
(
0
,
0
,
0
,
.05
);
border-color
:
#e5e5e5
#eee
#eee
;
border-style
:
solid
;
border-width
:
1px
0
;
}
/* Echo out a label for the example */
.bs-example
:after
{
content
:
"Example"
;
position
:
absolute
;
top
:
-1px
;
left
:
-1px
;
padding
:
3px
7px
;
top
:
15px
;
left
:
15px
;
font-size
:
12px
;
font-weight
:
bold
;
color
:
#9da0a4
;
background-color
:
#f5f5f5
;
border
:
1px
solid
#ddd
;
border-top-left-radius
:
4px
;
border-bottom-right-radius
:
4px
;
color
:
#bbb
;
text-transform
:
uppercase
;
letter-spacing
:
1px
;
}
/* Tweak display of the examples */
...
...
@@ -715,9 +714,6 @@ input.focused {
/* Hide code snippets on mobile devices */
@media
screen
and
(
max-width
:
480px
)
{
.bs-example
{
border-radius
:
4px
;
}
.highlight
{
display
:
none
;
}
...
...
@@ -756,6 +752,16 @@ input.focused {
line-height
:
1
;
}
.bs-example
{
margin-left
:
0
;
margin-right
:
0
;
background-color
:
#fff
;
border-width
:
1px
;
border-color
:
#ddd
;
border-radius
:
4px
4px
0
0
;
box-shadow
:
none
;
}
.carbonad
{
margin
:
0
!important
;
border
:
1px
solid
#e5e5e5
!important
;
...
...
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