mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-05-16 07:58:58 +00:00
82 lines
1.3 KiB
SCSS
82 lines
1.3 KiB
SCSS
@charset "UTF-8";
|
||
/*------------------------------------*\
|
||
$RESET
|
||
\*------------------------------------*/
|
||
/**
|
||
* A more considered reset; more of a restart...
|
||
* As per: csswizardry.com/2011/10/reset-restarted
|
||
*/
|
||
|
||
@if $global-border-box == true{
|
||
/**
|
||
* Let’s make the box model all nice, shall we...?
|
||
*/
|
||
*{
|
||
&,
|
||
&:before,
|
||
&:after{
|
||
@include vendor(box-sizing, border-box);
|
||
}
|
||
}
|
||
}
|
||
|
||
/**
|
||
* The usual...
|
||
*/
|
||
h1,h2,h3,h4,h5,h6,
|
||
p,blockquote,pre,
|
||
dl,dd,ol,ul,
|
||
form,fieldset,legend,
|
||
table,th,td,caption,
|
||
hr{
|
||
margin:0;
|
||
padding:0;
|
||
}
|
||
|
||
/**
|
||
* Give a help cursor to elements that give extra info on `:hover`.
|
||
*/
|
||
abbr[title],dfn[title]{
|
||
cursor:help;
|
||
}
|
||
|
||
/**
|
||
* Remove underlines from potentially troublesome elements.
|
||
*/
|
||
u,ins{
|
||
text-decoration:none;
|
||
}
|
||
|
||
/**
|
||
* Apply faux underline via `border-bottom`.
|
||
*/
|
||
ins{
|
||
border-bottom:1px solid;
|
||
}
|
||
|
||
/**
|
||
* So that `alt` text is visually offset if images don’t load.
|
||
*/
|
||
img{
|
||
font-style:italic;
|
||
}
|
||
|
||
/**
|
||
* Give form elements some cursor interactions...
|
||
*/
|
||
label,
|
||
input,
|
||
textarea,
|
||
button,
|
||
select,
|
||
option{
|
||
cursor:pointer;
|
||
}
|
||
.text-input:active,
|
||
.text-input:focus,
|
||
textarea:active,
|
||
textarea:focus{
|
||
cursor:text;
|
||
outline:none;
|
||
}
|