Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion preview-src/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,9 @@ It might be a gentle suggestion in the form of a note or tip or something more s
****

[TIP]
====
This oughta do it!

====
[NOTE]
====
Oh, you've been down _this_ road before.
Expand Down
19 changes: 17 additions & 2 deletions src/css/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ body {

body {
color: var(--color-text);
font-family: "Gotham", sans-serif;
font-family: "Source Sans Pro", sans-serif;
/* font-family: "Gotham", sans-serif; */
line-height: 1.5;
margin: 0;
}
Expand Down Expand Up @@ -74,8 +75,22 @@ small {
font-size: 0.8em;
}

.container {
.container,
.container-fluid {
margin: 0 auto;
max-width: var(--width-container);
padding: 0 var(--width-container-gutter);
}
/* .container-fluid {
max-width: var(--width-container-fluid);
padding: 0;
margin: 0 auto;
} */

@media screen and (min-width: 1024px) {
.container-fluid {
max-width: var(--width-container-fluid);
padding: 0;
margin: 0 auto;
}
}
49 changes: 49 additions & 0 deletions src/css/clipboard.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
.copy-code-button {
position: absolute;
background: url(../img/copy.png) no-repeat center right/contain;
width: 20px;
height: 10px;
right: 0.5rem;
top: 0.375rem;
display: none;
cursor: pointer;
}

.doc .listingblock:hover .copy-code-button {
display: block;
}

.copy-code-button:hover::after {
content: attr(data-title);
color: var("--color-brand-gray4");
font-size: 0.7em;
font-weight: var(--weight-light);
letter-spacing: 1px;
line-height: 1;
text-transform: capitalize;
position: absolute;
bottom: -30px;
right: -100%;
left: -100%;
margin: auto;
padding: 5px;
text-align: center;
box-shadow: inset 0 0 1px #bec0c1;
background: var(--color-brand-white);
border: 1px solid var(--color-brand-gray6);
box-sizing: border-box;
border-radius: 3px;
}

.copy-code-button:hover::before {
width: 0;
height: 0;
border-left: 5px solid transparent;
border-right: 5px solid transparent;
border-bottom: 10px solid var(--color-brand-white);
position: absolute;
content: "";
box-shadow: inset 0 0 1px #bec0c1;
bottom: -10px;
right: 0;
}
26 changes: 26 additions & 0 deletions src/css/common.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
.fixed-top {
position: fixed;
top: 0;
right: 0;
left: 0;
z-index: 1030;
}

.btn {
border-radius: 3px;
font-family: "Source Sans Pro", sans-serif;
font-size: 1.125rem;
}

.btn-primary {
padding: 5px 15px;
border: 1px solid var(--color-brand-blue);
background: var(--color-brand-blue);
color: var(--color-brand-white);
}

@media screen and (min-width: 768px) {
.btn-primary {
padding: 8px 25px;
}
}
41 changes: 41 additions & 0 deletions src/css/component-frame.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
.component-frame {
/* rgba(87, 160, 255, 1) */
background: rgba(var(--color-blue-rgb), 0.07);
padding: 12px 30px;
display: flex;
align-items: center;
}

.frame-body {
margin-left: 10px;
}

.frame-body .title {
margin: 0;
font-size: 1.25rem;
font-weight: var(--weight-semibold);
color: var(--color-brand-gray1);
}

.frame-dropdown {
position: absolute;
display: none;
}

.frame-dropdown .frame-dropdown-list {
margin: 0;
padding: 0;
list-style: none;
}

.frame-link,
.frame-item {
font-size: 1rem;
color: var(--color-brand-gray4);
text-decoration: none;
}

.frame-link:hover,
.frame-item:hover {
text-decoration: none;
}
Loading