Skip to content

Commit

Permalink
Fix styling of tutorial pages (#17177)
Browse files Browse the repository at this point in the history
* [WIP] Fix styling of tutorial pages

* additional cleanup of styles.css
  • Loading branch information
kbhawkey authored and k8s-ci-robot committed Oct 26, 2019
1 parent fbc2e49 commit c26ea07
Show file tree
Hide file tree
Showing 5 changed files with 50 additions and 9 deletions.
2 changes: 2 additions & 0 deletions content/en/docs/tutorials/kubernetes-basics/_index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@

<body>

<link href="/docs/tutorials/kubernetes-basics/public/css/styles.css" rel="stylesheet">

<div class="layout" id="top">

<main class="content">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<body>

<link href="/docs/tutorials/kubernetes-basics/public/css/styles.css" rel="stylesheet">
<link href="/docs/tutorials/kubernetes-basics/public/css/styles.css" rel="stylesheet">

<div class="layout" id="top">

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<body>

<link href="/docs/tutorials/kubernetes-basics/public/css/styles.css" rel="stylesheet">
<link href="/docs/tutorials/kubernetes-basics/public/css/styles.css" rel="stylesheet">

<div class="layout" id="top">

Expand Down
49 changes: 44 additions & 5 deletions content/en/docs/tutorials/kubernetes-basics/public/css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */

/*
html
{
font-family: sans-serif;
Expand Down Expand Up @@ -57,6 +59,7 @@ template
{
display: none;
}
*/

a
{
Expand All @@ -69,6 +72,7 @@ a:hover
outline: 0;
}

/*
abbr[title]
{
border-bottom: 1px dotted;
Expand All @@ -91,7 +95,9 @@ h1
margin: .67em 0;
}
*/

/*
mark
{
color: #000;
Expand Down Expand Up @@ -123,6 +129,7 @@ sub
{
bottom: -.25em;
}
*/

img
{
Expand Down Expand Up @@ -366,17 +373,22 @@ th
}
}

/*
*
{
box-sizing: border-box;
}
*/

/*
*:before,
*:after
{
box-sizing: border-box;
}
*/

/*
html
{
font-size: 10px;
Expand All @@ -393,6 +405,7 @@ body
color: #333;
background-color: #fff;
}
*/

input,
button,
Expand All @@ -404,6 +417,7 @@ textarea
line-height: inherit;
}

/*
a
{
text-decoration: none;
Expand All @@ -422,6 +436,8 @@ a:focus
outline: 5px auto -webkit-focus-ring-color;
outline-offset: -2px;
}
*/


figure
{
Expand Down Expand Up @@ -511,6 +527,7 @@ hr
cursor: pointer;
}

/*
h1,
h2,
h3,
Expand Down Expand Up @@ -560,7 +577,10 @@ h6 .small,
color: #777;
}
*/


/*
h1,
.h1,
h2,
Expand All @@ -586,7 +606,9 @@ h3 .small,
{
font-size: 65%;
}
*/

/*
h4,
.h4,
h5,
Expand All @@ -612,12 +634,15 @@ h6 .small,
{
font-size: 75%;
}
*/

/*
h1,
.h1
{
font-size: 36px;
}
*/

h2,
.h2
Expand All @@ -637,6 +662,7 @@ h4,
font-size: 18px;
}

/*
h5,
.h5
{
Expand All @@ -648,6 +674,7 @@ h6,
{
font-size: 12px;
}
*/

p
{
Expand Down Expand Up @@ -853,6 +880,7 @@ a.bg-danger:focus
border-bottom: 1px solid #eee;
}

/*
ul,
ol
{
Expand Down Expand Up @@ -888,6 +916,9 @@ ol ol
padding-right: 5px;
padding-left: 5px;
}
*/



dl
{
Expand Down Expand Up @@ -5976,7 +6007,7 @@ a.badge:focus
{
padding: 9px;

color: #333;
/*color: #333;*/
}

a.thumbnail:hover,
Expand Down Expand Up @@ -8769,6 +8800,7 @@ button.close
border-top: 1px solid #e5eaf9;
}


.content
{
position: relative;
Expand All @@ -8788,6 +8820,8 @@ button.close
-ms-flex: 1 1 auto;
flex: 1 1 auto;
}


@media screen and (max-width: 998px)
{
.content
Expand Down Expand Up @@ -9042,6 +9076,7 @@ button.close
max-width: 300px;
}

/*
.header
{
padding: 20px 20px;
Expand Down Expand Up @@ -9532,7 +9567,9 @@ button.close
display: none;
}
}
*/

/*
.scrolltop
{
position: fixed;
Expand Down Expand Up @@ -9603,17 +9640,16 @@ button.close
opacity: 1;
}
*/


/*
body
{
font-family: Roboto, 'Helvetica Neue', Helvetica, 'Open Sans', Arial, sans-serif;
font-size: 15px;
line-height: 1.5;
/*display: -webkit-box;*/
/*display: -ms-flexbox;*/
/*display: flex;*/

min-height: 100vh;
background: #eee;
Expand Down Expand Up @@ -9672,6 +9708,8 @@ p a:hover
{
text-decoration: none;
}
*/


.breadcrumb
{
Expand Down Expand Up @@ -10106,6 +10144,7 @@ p a:hover
{
display: block;
}

@media screen and (max-width: 992px)
{
.quiz__box
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@

<body>

<link href="/docs/tutorials/kubernetes-basics/public/css/styles.css" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Roboto+Slab:300,400,700" rel="stylesheet">
<link href="/docs/tutorials/kubernetes-basics/public/css/styles.css" rel="stylesheet">


<div class="layout" id="top">

Expand Down

0 comments on commit c26ea07

Please sign in to comment.