Skip to content
Closed
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
4 changes: 2 additions & 2 deletions layouts/css/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -66,15 +66,15 @@ img {

code {
background-color: $light-gray3;
font-size: 85%;
font-size: 1.07rem;
padding: .2em;
}

pre {
background-color: $node-gray;
border-radius: 3px;
padding: .75em 1.2em;
font-size: .8em;
font-size: 1rem;
white-space: pre;
color: $light-gray3;
overflow-x: auto;
Expand Down
20 changes: 20 additions & 0 deletions layouts/css/_utils.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@
background-color: $node-gray !important;
}

.color-lightgray {
color: $light-gray;

a:hover & {
color: $white;
}
}

.table-no-border-no-padding {
border-spacing: 0;

Expand All @@ -14,6 +22,18 @@
}
}

.full-width {
width: 100%;
}

.small {
font-size: .625rem;
}

.no-padding {
padding: 0;
}

// borrowed from Bootstrap
.sr-only {
position: absolute;
Expand Down
2 changes: 1 addition & 1 deletion layouts/css/page-modules/_blog-index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

.summary {
margin-left: 1em;
font-size: 75%;
font-size: .95rem;
}
}

Expand Down
14 changes: 7 additions & 7 deletions layouts/css/page-modules/_download.scss
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,12 @@
}

.title {
font-size: 1.5em;
font-size: 1.875rem;
line-height: 1;
}

.tag {
font-size: .8em;
font-size: 1rem;
}
}

Expand All @@ -122,7 +122,7 @@
height: 100%;
width: 100%;
text-align: center;
font-size: .8em;
font-size: 1rem;
}

a:hover,
Expand All @@ -138,7 +138,7 @@ h5.download-table-previous-releases-header {
}

.download-table {
font-size: small;
font-size: .8125rem;
border: 1px solid $light-gray2;
border-spacing: 0;

Expand Down Expand Up @@ -195,7 +195,7 @@ td.download-table-last {
}

.tag {
font-size: .6em;
font-size: .75rem;
}
}
}
Expand Down Expand Up @@ -275,11 +275,11 @@ td.download-table-last {
.download-hero {
.download-version-toggle {
li {
font-size: 1em;
font-size: 1.25rem;
}

.tag {
font-size: .4em;
font-size: .5rem;
}
}
}
Expand Down
6 changes: 3 additions & 3 deletions layouts/css/page-modules/_header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ header {
a:active {
padding: 0 8px;
text-transform: uppercase;
font-size: 14px;
font-size: .875rem;
color: $light-gray2 !important;
}

Expand Down Expand Up @@ -70,7 +70,7 @@ header {
cursor: pointer;
display: inline-block;
font-family: inherit;
font-size: 14px;
font-size: .875rem;
line-height: 1.5;
margin: 0 auto;
padding: .5em 1em;
Expand Down Expand Up @@ -174,6 +174,6 @@ header {
}

img {
margin: .5em auto 0;
margin: .625rem auto;
}
}
6 changes: 3 additions & 3 deletions layouts/css/page-modules/_home.scss
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
.home-version {
padding-top: 10px;
font-size: 16px;
font-size: 1rem;
color: $gray;
}

.home-version-banner {
color: $node-gray;
font-size: 130%;
font-size: 1.625rem;
background-color: $light-green;
padding: 5px 15px;
border-radius: 2px;
Expand Down Expand Up @@ -72,7 +72,7 @@
background-color: $active-green;
color: $white !important;
border-radius: 2px;
font-size: 30px;
font-size: 1.875rem;
font-weight: 400;
transition: background-color .2s ease-in-out;

Expand Down
2 changes: 1 addition & 1 deletion layouts/css/page-modules/_linuxfoundation.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.linuxfoundation-footer {
padding: 1em 20px;
font-size: 14px;
font-size: .875rem;
color: $white;
background: $node-gray;
direction: ltr;
Expand Down
24 changes: 2 additions & 22 deletions layouts/css/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ article a {

.intro {
margin-top: 140px;
font-size: 38px;
font-size: 2.375rem;
line-height: 1.2;

h1 {
Expand Down Expand Up @@ -87,7 +87,7 @@ article a {

.edit-link {
float: right;
font-size: .9em;
font-size: 1.125rem;
margin: .5em 0;
}

Expand All @@ -104,26 +104,6 @@ article a {
}
}

.full-width {
width: 100%;
}

.small {
font-size: 10px;
}

.color-lightgray {
color: $light-gray;
}

a:hover .color-lightgray {
color: $white;
}

.no-padding {
padding: 0;
}

.highlight-box {
background-color: $light-gray3;
padding: 5px 15px;
Expand Down