mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 15:26:59 +00:00
Cleanup unused styles (#33457)
This commit is contained in:
parent
32efaafe0a
commit
6c42ffaba5
@ -1,49 +0,0 @@
|
|||||||
// Here you can easily change your sites's color scheme.
|
|
||||||
// To give it a try, uncomment some of the lines below rebuild your blog, and see how it works.
|
|
||||||
// If you need a handy color picker try http://hslpicker.com
|
|
||||||
|
|
||||||
$header-bg: #fff;
|
|
||||||
//$subtitle-color: lighten($header-bg, 58);
|
|
||||||
$nav-bg: #fff;
|
|
||||||
$nav-bg-front: none;
|
|
||||||
$nav-bg-back: #fff;
|
|
||||||
//$sidebar-bg: desaturate(#eceff5, 8);
|
|
||||||
//$sidebar-link-color: saturate(#526f9a, 10);
|
|
||||||
//$sidebar-link-color-hover: darken(#7ab662, 9);
|
|
||||||
$footer-bg: #fff;
|
|
||||||
$footer-bg-front: #fff;
|
|
||||||
$footer-bg-back: #fff;
|
|
||||||
|
|
||||||
/* To use the light Solarized highlighting theme uncomment the following line */
|
|
||||||
//$solarized: light;
|
|
||||||
|
|
||||||
/* If you want to tweak the Solarized colors you can do that here */
|
|
||||||
//$base03: #002b36; //darkest blue
|
|
||||||
//$base02: #073642; //dark blue
|
|
||||||
//$base01: #586e75; //darkest gray
|
|
||||||
//$base00: #657b83; //dark gray
|
|
||||||
//$base0: #839496; //medium gray
|
|
||||||
//$base1: #93a1a1; //medium light gray
|
|
||||||
//$base2: #eee8d5; //cream
|
|
||||||
//$base3: #fdf6e3; //white
|
|
||||||
//$solar-yellow: #b58900;
|
|
||||||
//$solar-orange: #cb4b16;
|
|
||||||
//$solar-red: #dc322f;
|
|
||||||
//$solar-magenta: #d33682;
|
|
||||||
//$solar-violet: #6c71c4;
|
|
||||||
//$solar-blue: #268bd2;
|
|
||||||
//$solar-cyan: #2aa198;
|
|
||||||
//$solar-green: #859900;
|
|
||||||
|
|
||||||
|
|
||||||
/* Non highlighted code colors */
|
|
||||||
//$pre-bg: $base03;
|
|
||||||
//$pre-border: darken($base02, 5);
|
|
||||||
//$pre-color: $base1;
|
|
||||||
|
|
||||||
$main-bg: #fff;
|
|
||||||
$page-bg: #fff;
|
|
||||||
$link-color: #1abcf2;
|
|
||||||
$nav-color: $link-color;
|
|
||||||
$link-color-visited:darken($nav-color, 25);
|
|
||||||
$title-color: $link-color;
|
|
@ -1,10 +0,0 @@
|
|||||||
// Here you can easily change font faces which are used in your site.
|
|
||||||
// To give it a try, uncomment some of the lines below rebuild your blog, and see how it works. your sites's.
|
|
||||||
// If you love to use Web Fonts, you also need to add some lines to source/_includes/custom/head.html
|
|
||||||
|
|
||||||
$sans: "Open Sans", sans-serif;
|
|
||||||
$serif: "Noto Serif", serif;
|
|
||||||
//$mono: "Courier", monospace;
|
|
||||||
$heading-font-family: $sans;
|
|
||||||
//$header-title-font-family: "Futura", sans-serif;
|
|
||||||
//$header-subtitle-font-family: "Futura", sans-serif;
|
|
@ -1,142 +0,0 @@
|
|||||||
// This File is imported last, and will override other styles in the cascade
|
|
||||||
// Add styles here to make changes without digging in too much
|
|
||||||
html {
|
|
||||||
background:$page-bg;
|
|
||||||
}
|
|
||||||
body {
|
|
||||||
line-height: 1.8em;
|
|
||||||
font-size:1.1em;
|
|
||||||
max-width:1320px;
|
|
||||||
> div {
|
|
||||||
background: #fff !important;
|
|
||||||
border-bottom:2px solid #f2f2f2;
|
|
||||||
> div {
|
|
||||||
border-right:2px solid #f2f2f2;
|
|
||||||
background: #fff !important;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
> nav {
|
|
||||||
border-bottom:2px solid #f2f2f2;
|
|
||||||
li+li {
|
|
||||||
border-left:2px solid #f2f2f2;
|
|
||||||
}
|
|
||||||
a {
|
|
||||||
font-family: $serif;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
>header {
|
|
||||||
h1 a {
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
#content .blog-index article {
|
|
||||||
table {
|
|
||||||
font-size: 90%;
|
|
||||||
margin-bottom: 1.5em;
|
|
||||||
thead tr {
|
|
||||||
border-bottom: 1px solid $sidebar-border;
|
|
||||||
}
|
|
||||||
th {
|
|
||||||
font-weight: bold;
|
|
||||||
padding-right: 20px;
|
|
||||||
}
|
|
||||||
td {
|
|
||||||
padding: 0 20px 10px 0;
|
|
||||||
vertical-align: top;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
header {
|
|
||||||
h1 {
|
|
||||||
margin: 0;
|
|
||||||
a { text-decoration: none;
|
|
||||||
&:hover {
|
|
||||||
text-decoration: none;
|
|
||||||
color:$link-color;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#blog-archives {
|
|
||||||
h1 {
|
|
||||||
a { text-decoration: none;
|
|
||||||
&:hover { text-decoration:none; } }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
aside.sidebar {
|
|
||||||
background:#fff;
|
|
||||||
border-left:2px solid #f2f2f2;
|
|
||||||
height:100%;
|
|
||||||
form .search {
|
|
||||||
padding: .3em .5em 0;
|
|
||||||
font-size: .85em;
|
|
||||||
font-family: $serif;
|
|
||||||
line-height: 1.1em;
|
|
||||||
width: 95%;
|
|
||||||
background-color: #fff;
|
|
||||||
border: 2px solid #f2f2f2;
|
|
||||||
color: #000;
|
|
||||||
}
|
|
||||||
input[type=text]:focus, textarea:focus {
|
|
||||||
box-shadow: 0 0 0 rgba(255,255,255,1);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.toggle-sidebar {
|
|
||||||
display:none;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@media only screen and (max-width: 749px) {
|
|
||||||
aside.sidebar {
|
|
||||||
padding-top:15px;
|
|
||||||
padding-bottom:15px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@media only screen and (min-width: 750px) {
|
|
||||||
aside.sidebar {
|
|
||||||
border-top:0px solid black;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@media only screen and (min-width:992px) {
|
|
||||||
body {
|
|
||||||
font-size: 1.3em;
|
|
||||||
}
|
|
||||||
.collapse-sidebar aside.sidebar {
|
|
||||||
background: #fff;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.meta {
|
|
||||||
font-family: $serif;
|
|
||||||
}
|
|
||||||
.sticky {
|
|
||||||
position: fixed;
|
|
||||||
width:100%;
|
|
||||||
left: 0;
|
|
||||||
top: 0;
|
|
||||||
z-index: 100;
|
|
||||||
}
|
|
||||||
::-webkit-input-placeholder {
|
|
||||||
color: $link-color;
|
|
||||||
}
|
|
||||||
:-moz-placeholder { /* Firefox 18- */
|
|
||||||
color: $link-color;
|
|
||||||
}
|
|
||||||
::-moz-placeholder { /* Firefox 19+ */
|
|
||||||
color: $link-color;
|
|
||||||
}
|
|
||||||
:-ms-input-placeholder {
|
|
||||||
color: $link-color;
|
|
||||||
}
|
|
||||||
|
|
||||||
.highlight, html .gist .gist-file .gist-syntax .gist-highlight {
|
|
||||||
table {
|
|
||||||
margin: 0;
|
|
||||||
td {
|
|
||||||
padding: 0;
|
|
||||||
&.code { width: 100%; }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
border: 1px solid $pre-border !important;
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user