Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
bjcp-2015-styleguide
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Frank Steinberg
bjcp-2015-styleguide
Commits
2c764607
Commit
2c764607
authored
5 years ago
by
Frank Steinberg
Browse files
Options
Downloads
Patches
Plain Diff
CSS improvements.
parent
e0bf6610
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
web/show.css
+16
-48
16 additions, 48 deletions
web/show.css
with
16 additions
and
48 deletions
web/show.css
+
16
−
48
View file @
2c764607
...
@@ -3,18 +3,6 @@ styleguide {
...
@@ -3,18 +3,6 @@ styleguide {
font-family
:
Helvetica
,
Arial
,
Geneva
,
sans-serif
;
font-family
:
Helvetica
,
Arial
,
Geneva
,
sans-serif
;
}
}
styleguide
chapter
p
,
styleguide
chapter
h1
,
styleguide
chapter
h2
,
styleguide
chapter
h3
,
styleguide
chapter
h4
,
styleguide
chapter
ol
,
styleguide
chapter
ul
,
styleguide
chapter
{
margin-left
:
0.7em
;
}
styleguide
chapter
{
padding
:
0px
;
margin
:
0px
;
}
/* the following rules are copied from standard html rules */
/* the following rules are copied from standard html rules */
styleguide
p
{
styleguide
p
{
...
@@ -94,21 +82,19 @@ styleguide div.table-cell, styleguide div[class*="cell"] {
...
@@ -94,21 +82,19 @@ styleguide div.table-cell, styleguide div[class*="cell"] {
}
}
/* categories */
styleguide
c
ategory
,
styleguide
subcategory
{
styleguide
c
hapter
,
/*margin-top:1em;*/
styleguide
category
,
/*margin-bottom:1em;*/
styleguide
subcategory
{
margin-left
:
1em
;
margin-left
:
1em
;
display
:
block
;
display
:
block
;
transition-property
:
all
;
transition-duration
:
.3s
;
transition-timing-function
:
cubic-bezier
(
0
,
1
,
0.5
,
1
);
overflow-y
:
hidden
;
max-height
:
10000px
;
}
}
/*
styleguide p {
margin-top:1em;
}
*/
styleguide
b
{
styleguide
b
{
font-weight
:
bold
;
font-weight
:
bold
;
}
}
...
@@ -123,19 +109,12 @@ styleguide u {
...
@@ -123,19 +109,12 @@ styleguide u {
styleguide
name
{
styleguide
name
{
display
:
inline-block
;
display
:
inline-block
;
/*margin-bottom:0.5em;*/
font-size
:
1.5em
;
font-size
:
1.5em
;
font-weight
:
bold
;
font-weight
:
bold
;
}
}
styleguide
description
{
styleguide
description
{
/*margin-left:1em;*/
display
:
block
;
display
:
block
;
}
}
/*
styleguide description p {
margin-top: 0;
}
*/
styleguide
overall-impression
:before
{
styleguide
overall-impression
:before
{
content
:
"Overall Impression: "
;
content
:
"Overall Impression: "
;
...
@@ -320,33 +299,22 @@ styleguide nav {
...
@@ -320,33 +299,22 @@ styleguide nav {
background-image
:
url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 320 512%27%3E%3Cpath fill=%27%23003f57%27 d=%27M143 352.3L7 216.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0l96.4 96.4 96.4-96.4c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.2 9.4-24.4 9.4-33.8 0z%27/%3E%3C/svg%3E")
;
background-image
:
url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 320 512%27%3E%3Cpath fill=%27%23003f57%27 d=%27M143 352.3L7 216.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0l96.4 96.4 96.4-96.4c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.2 9.4-24.4 9.4-33.8 0z%27/%3E%3C/svg%3E")
;
}
}
styleguide
*
.closed
>
nav
,
styleguide
*[
class
*=
"closed"
]
>
nav
{
-webkit-transform
:
rotate
(
-90deg
);
transform
:
rotate
(
-90deg
);
}
styleguide
*
.open
>
nav
,
styleguide
*[
class
*=
"open"
]
>
nav
{
styleguide
*
.open
>
nav
,
styleguide
*[
class
*=
"open"
]
>
nav
{
-webkit-transform
:
rotate
(
0deg
);
-webkit-transform
:
rotate
(
0deg
);
transform
:
rotate
(
0deg
);
transform
:
rotate
(
0deg
);
}
}
/*
styleguide
*
.closed
>
nav
,
styleguide
*[
class
*=
"closed"
]
>
nav
{
styleguide chapter.closed,
-webkit-transform
:
rotate
(
-90deg
);
styleguide category.closed,
transform
:
rotate
(
-90deg
);
styleguide subcategory.closed {
overflow: hidden;
}
}
*/
styleguide
*
.closed
div
.table
,
styleguide
*[
class
*=
"closed"
]
div
[
class
*=
"table"
],
styleguide
*
.closed
*
>
nav
,
styleguide
*[
class
*=
"closed"
]
*
>
nav
{
styleguide
*
.closed
*,
styleguide
*[
class
*=
"closed"
]
*
{
display
:
none
;
display
:
none
;
}
}
styleguide
*
.closed
nav
,
styleguide
*[
class
*=
"closed"
]
nav
,
styleguide
*
.closed
h2
,
styleguide
*[
class
*=
"closed"
]
h2
,
styleguide
*
.closed
,
styleguide
*[
class
*=
"closed"
]
{
styleguide
*
.closed
name
,
styleguide
*[
class
*=
"closed"
]
name
{
max-height
:
1.8em
;
display
:
block
;
}
}
styleguide
category
>
*
:nth-child
(
3
),
styleguide
category
>
*
:nth-child
(
3
),
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment