strasne stradani s css
This commit is contained in:
parent
9cc1141746
commit
7c23d35705
@ -2,6 +2,8 @@
|
|||||||
<html lang="en" dir="ltr">
|
<html lang="en" dir="ltr">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<link rel="stylesheet" href="../css/normalize.css">
|
||||||
<link rel="stylesheet" href="../css/master.css">
|
<link rel="stylesheet" href="../css/master.css">
|
||||||
<link rel="stylesheet" href="../css/bootstrap.css">
|
<link rel="stylesheet" href="../css/bootstrap.css">
|
||||||
<link rel="shortcut icon" href="../favicon.ico" type="image/vnd.microsoft.icon" />
|
<link rel="shortcut icon" href="../favicon.ico" type="image/vnd.microsoft.icon" />
|
||||||
@ -59,7 +61,8 @@
|
|||||||
</header>
|
</header>
|
||||||
<main>
|
<main>
|
||||||
<div class="home">
|
<div class="home">
|
||||||
<a href="#About-us"><img src="../img/arrow-down.svg" alt="arrow down" class="arrow-down"></a>
|
<div class="fill"></div>
|
||||||
|
<a href="#About-us" class="arrow-down"><img src="../img/arrow-down.svg" alt="arrow down" class="arrow-down"></a>
|
||||||
</div>
|
</div>
|
||||||
<section class="about" id="About-us">
|
<section class="about" id="About-us">
|
||||||
<h2 class="title">O nás</h2>
|
<h2 class="title">O nás</h2>
|
||||||
|
114
css/master.css
114
css/master.css
@ -3,6 +3,11 @@ body, html {
|
|||||||
font-family: 'Open Sans', sans-serif !important;
|
font-family: 'Open Sans', sans-serif !important;
|
||||||
color: #4A4A4A !important;
|
color: #4A4A4A !important;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
-webkit-text-size-adjust: none;
|
||||||
|
-moz-text-size-adjust: none;
|
||||||
|
-ms-text-size-adjust: none;
|
||||||
|
text-size-adjust: none;
|
||||||
|
font-size: 11px;
|
||||||
}
|
}
|
||||||
body a, html a {
|
body a, html a {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
@ -12,51 +17,60 @@ section.gallery-in, div.home{
|
|||||||
background-color: #EEEEEE;
|
background-color: #EEEEEE;
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
padding: 3em 5em;
|
padding: 2em 3em;
|
||||||
}
|
}
|
||||||
section.team, section.contact-us, section.about{
|
section.team, section.contact-us, section.about{
|
||||||
background: #FFF;
|
background: #FFF;
|
||||||
padding: 3em 5em;
|
padding: 2em 3em 0 3em;
|
||||||
height: auto;
|
height: auto;
|
||||||
}
|
}
|
||||||
h1.title{
|
h1.title{
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
font-size: 5em;
|
font-size: 1em;
|
||||||
margin-bottom: .4rem;
|
margin-bottom: .2em;
|
||||||
}
|
}
|
||||||
h2.nav, h1.nav{
|
h2.nav, h1.nav{
|
||||||
text-align: left;
|
text-align: left;
|
||||||
padding-top: .25em;
|
padding-top: .60em;
|
||||||
margin-bottom: .4rem;
|
margin-bottom: .2em;
|
||||||
font-size: 4em;
|
font-size: 2em;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
h2.title{
|
h2.title{
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
font-size: 5em;
|
font-size: 2.4em;
|
||||||
margin-bottom: .4rem;
|
margin-bottom: .4rem;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
h3.title{
|
h3.title{
|
||||||
font-size: 3em;
|
font-size: 1.4em;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
}
|
}
|
||||||
p.article{
|
p.article{
|
||||||
padding-top: .3em;
|
font-size: 1.3em;
|
||||||
font-size: 2.5em;
|
|
||||||
}
|
}
|
||||||
.home {
|
.home {
|
||||||
min-height: 100vh; /* Bude problem v safari, kde to musim odjebat od nav baru */
|
min-height: 100vh; /* Bude problem v safari, kde to musim odjebat od nav baru */
|
||||||
background-image: url('../img/logo.png');
|
background-image: url('../img/logo.png');
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-position: center;
|
background-position: center;
|
||||||
background-size: 28em;
|
background-size: 15em;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
.fill{
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
right: 0;
|
||||||
|
bottom: 0;
|
||||||
|
left: 0;
|
||||||
|
}
|
||||||
|
a.arrow-down{
|
||||||
|
position: relative;
|
||||||
|
top: calc(100vh - 6em); /* Bude problem v safari, kde to musim odjebat od nav baru */
|
||||||
|
left: calc(50% - 1em);
|
||||||
}
|
}
|
||||||
img.arrow-down{
|
img.arrow-down{
|
||||||
width: 3.5em;
|
width: 2em;
|
||||||
position: absolute;
|
|
||||||
top: calc(100vh - 4.7em); /* Bude problem v safari, kde to musim odjebat od nav baru */
|
|
||||||
left: calc(50% - 1.75em);
|
|
||||||
animation: arrow 3s infinite;
|
animation: arrow 3s infinite;
|
||||||
-webkit-animation: arrow 3s infinite;
|
-webkit-animation: arrow 3s infinite;
|
||||||
}
|
}
|
||||||
@ -64,7 +78,7 @@ section h1{
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
section.about article.about-us-1 , article.about-us-2{
|
section.about article.about-us-1 , article.about-us-2{
|
||||||
padding-top: 4em;
|
padding-top: 1em;
|
||||||
}
|
}
|
||||||
/* FUTURE PLANS FOR INCONS
|
/* FUTURE PLANS FOR INCONS
|
||||||
article.about-us-1 h3.title::before{
|
article.about-us-1 h3.title::before{
|
||||||
@ -79,40 +93,36 @@ div.gallery img{
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
.people{
|
.people{
|
||||||
padding-top: 2em;
|
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: repeat(2, 23.05em);
|
grid-template-columns: repeat(2, 10em);
|
||||||
grid-template-rows: repeat(2,auto);
|
grid-template-rows: repeat(2,auto);
|
||||||
grid-gap: 3em;
|
grid-gap: 1em;
|
||||||
justify-content: space-evenly;
|
justify-content: space-evenly;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
section.member{
|
section.member{
|
||||||
margin: 2em 0 0 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
section.member-last{
|
section.member-last{
|
||||||
width: 23em;
|
width: 10em;
|
||||||
margin: 5em auto 0 auto;
|
margin: 2em auto 0 auto;
|
||||||
display: block;
|
display: block;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
img.member-photo{
|
img.member-photo{
|
||||||
padding: 1em;
|
padding: .5em;
|
||||||
width: 75%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
form.contact-form{
|
form.contact-form{
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-rows: repeat(3,auto);
|
grid-template-rows: repeat(3,auto);
|
||||||
grid-row-gap: .5em;
|
grid-row-gap: .5em;
|
||||||
font-size: 2.5em;
|
font-size: 1.5em;
|
||||||
font-weight: 300;
|
font-weight: 300;
|
||||||
margin: 1.5em 0;
|
margin: 1.5em 0;
|
||||||
}
|
}
|
||||||
input.name-surname{
|
|
||||||
width: 15em;
|
|
||||||
}
|
|
||||||
input{
|
input{
|
||||||
width: 15em;
|
width: 13em;
|
||||||
}
|
}
|
||||||
textarea{
|
textarea{
|
||||||
resize: none !important;
|
resize: none !important;
|
||||||
@ -122,12 +132,12 @@ input, textarea{
|
|||||||
background-color: #F9F9F9;
|
background-color: #F9F9F9;
|
||||||
color: #4A4A4A !important;
|
color: #4A4A4A !important;
|
||||||
border: none;
|
border: none;
|
||||||
padding: .35em .5em;
|
padding: .15em .25em;
|
||||||
}
|
}
|
||||||
button{
|
button{
|
||||||
display: block !important;
|
display: block !important;
|
||||||
margin: .7em auto 0 auto !important;
|
margin: .7em auto 0 auto !important;
|
||||||
width: 13em;
|
width: 10em;
|
||||||
color: #828282;
|
color: #828282;
|
||||||
background-color: #EEEEEE;
|
background-color: #EEEEEE;
|
||||||
border: none;
|
border: none;
|
||||||
@ -152,18 +162,18 @@ button{
|
|||||||
footer{
|
footer{
|
||||||
width: 100%;
|
width: 100%;
|
||||||
background-color: #4A4A4A;
|
background-color: #4A4A4A;
|
||||||
padding: 3em 3em;
|
padding: 2em 3em;
|
||||||
color: #FCFCFC !important;
|
color: #FCFCFC !important;
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-rows: repeat(2,auto);
|
grid-template-rows: repeat(2,auto);
|
||||||
}
|
}
|
||||||
footer p.article{
|
footer p.article{
|
||||||
font-size: 2em;
|
font-size: 1.13em;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
footer h3.title{
|
footer h3.title{
|
||||||
font-size: 3em;
|
font-size: 1.7em;
|
||||||
}
|
}
|
||||||
.footer-top{
|
.footer-top{
|
||||||
display: grid;
|
display: grid;
|
||||||
@ -178,10 +188,10 @@ footer .footer-buttons-left-row-grid{
|
|||||||
footer .footer-button{
|
footer .footer-button{
|
||||||
background-color: #5D5D5D;
|
background-color: #5D5D5D;
|
||||||
color: #FCFCFC;
|
color: #FCFCFC;
|
||||||
font-size: 1.8em;
|
font-size: 1.15em;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
width: 15em;
|
width: 11.5em;
|
||||||
height: 1.7em;
|
height: 1.5em;
|
||||||
}
|
}
|
||||||
footer div.footer-top div.footer-buttons-left-row-grid a{
|
footer div.footer-top div.footer-buttons-left-row-grid a{
|
||||||
text-decoration: none !important;
|
text-decoration: none !important;
|
||||||
@ -193,7 +203,7 @@ footer .footer-logo-right-col-grid{
|
|||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
footer .footer-img-logo{
|
footer .footer-img-logo{
|
||||||
width: 10em;
|
width: 6em;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
section.footer-bottom{
|
section.footer-bottom{
|
||||||
@ -203,7 +213,7 @@ section.footer-bottom{
|
|||||||
footer .footer-contacts-row-grid{
|
footer .footer-contacts-row-grid{
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-rows: repeat(5,auto);
|
grid-template-rows: repeat(5,auto);
|
||||||
margin-top: 3em;
|
margin-top: 1em;
|
||||||
}
|
}
|
||||||
footer .footer-heading-col-grid{
|
footer .footer-heading-col-grid{
|
||||||
display: grid;
|
display: grid;
|
||||||
@ -215,26 +225,27 @@ footer .footer-heading-left{
|
|||||||
footer .footer-heading-social-col-grid{
|
footer .footer-heading-social-col-grid{
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: repeat(3,auto);
|
grid-template-columns: repeat(3,auto);
|
||||||
justify-content: center;
|
justify-content: right;
|
||||||
grid-column-gap: 2em;
|
grid-column-gap: 1em;
|
||||||
|
padding-right: .5em;
|
||||||
}
|
}
|
||||||
footer .footer-img-social{
|
footer .footer-img-social{
|
||||||
width: 3em;
|
width: 1.7em;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
footer .footer-contacts-col-grid{
|
footer .footer-contacts-col-grid{
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: repeat(2,24em);
|
grid-template-columns: repeat(2,11em);
|
||||||
}
|
}
|
||||||
|
|
||||||
footer .footer-visit-row-grid{
|
footer .footer-visit-row-grid{
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-rows: repeat(3,auto);
|
grid-template-rows: repeat(3,auto);
|
||||||
margin-top: 3em;
|
margin-top: 1em;
|
||||||
}
|
}
|
||||||
footer .footer-visit-col-grid{
|
footer .footer-visit-col-grid{
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: repeat(2,24em);
|
grid-template-columns: repeat(2,11em);
|
||||||
}
|
}
|
||||||
img.opacity-decrease{
|
img.opacity-decrease{
|
||||||
opacity: .05;
|
opacity: .05;
|
||||||
@ -252,17 +263,18 @@ nav {
|
|||||||
}
|
}
|
||||||
nav ul {
|
nav ul {
|
||||||
list-style-type: none;
|
list-style-type: none;
|
||||||
margin: 6em auto 0 auto;
|
margin: 1em auto 0 auto;
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-rows: repeat(6, 8em);
|
grid-template-rows: repeat(6, 3.5em);
|
||||||
justify-content: space-evenly;
|
justify-content: space-evenly;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
width: 80%;
|
width: 80%;
|
||||||
|
padding: 0;
|
||||||
}
|
}
|
||||||
nav ul a{
|
nav ul a{
|
||||||
color:#4A4A4A;
|
color:#4A4A4A;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-size: 4.5em;
|
font-size: 2.3em;
|
||||||
}
|
}
|
||||||
nav ul li {
|
nav ul li {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
@ -280,13 +292,13 @@ img.close-btn {
|
|||||||
opacity: 0;
|
opacity: 0;
|
||||||
padding-top: 1.5em;
|
padding-top: 1.5em;
|
||||||
position: relative;
|
position: relative;
|
||||||
width: 4.2em;
|
width: 2em;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
img.menu-btn {
|
img.menu-btn {
|
||||||
position: relative;
|
position: relative;
|
||||||
padding-top: 1.5em;
|
padding-top: 1.5em;
|
||||||
width: 5.5em;
|
width: 2.5em;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
header{
|
header{
|
||||||
|
349
css/normalize.css
vendored
Normal file
349
css/normalize.css
vendored
Normal file
@ -0,0 +1,349 @@
|
|||||||
|
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
|
||||||
|
|
||||||
|
/* Document
|
||||||
|
========================================================================== */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 1. Correct the line height in all browsers.
|
||||||
|
* 2. Prevent adjustments of font size after orientation changes in iOS.
|
||||||
|
*/
|
||||||
|
|
||||||
|
html {
|
||||||
|
line-height: 1.15; /* 1 */
|
||||||
|
-webkit-text-size-adjust: 100%; /* 2 */
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Sections
|
||||||
|
========================================================================== */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Remove the margin in all browsers.
|
||||||
|
*/
|
||||||
|
|
||||||
|
body {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Render the `main` element consistently in IE.
|
||||||
|
*/
|
||||||
|
|
||||||
|
main {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Correct the font size and margin on `h1` elements within `section` and
|
||||||
|
* `article` contexts in Chrome, Firefox, and Safari.
|
||||||
|
*/
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
font-size: 2em;
|
||||||
|
margin: 0.67em 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Grouping content
|
||||||
|
========================================================================== */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 1. Add the correct box sizing in Firefox.
|
||||||
|
* 2. Show the overflow in Edge and IE.
|
||||||
|
*/
|
||||||
|
|
||||||
|
hr {
|
||||||
|
box-sizing: content-box; /* 1 */
|
||||||
|
height: 0; /* 1 */
|
||||||
|
overflow: visible; /* 2 */
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 1. Correct the inheritance and scaling of font size in all browsers.
|
||||||
|
* 2. Correct the odd `em` font sizing in all browsers.
|
||||||
|
*/
|
||||||
|
|
||||||
|
pre {
|
||||||
|
font-family: monospace, monospace; /* 1 */
|
||||||
|
font-size: 1em; /* 2 */
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Text-level semantics
|
||||||
|
========================================================================== */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Remove the gray background on active links in IE 10.
|
||||||
|
*/
|
||||||
|
|
||||||
|
a {
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 1. Remove the bottom border in Chrome 57-
|
||||||
|
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
|
||||||
|
*/
|
||||||
|
|
||||||
|
abbr[title] {
|
||||||
|
border-bottom: none; /* 1 */
|
||||||
|
text-decoration: underline; /* 2 */
|
||||||
|
text-decoration: underline dotted; /* 2 */
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Add the correct font weight in Chrome, Edge, and Safari.
|
||||||
|
*/
|
||||||
|
|
||||||
|
b,
|
||||||
|
strong {
|
||||||
|
font-weight: bolder;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 1. Correct the inheritance and scaling of font size in all browsers.
|
||||||
|
* 2. Correct the odd `em` font sizing in all browsers.
|
||||||
|
*/
|
||||||
|
|
||||||
|
code,
|
||||||
|
kbd,
|
||||||
|
samp {
|
||||||
|
font-family: monospace, monospace; /* 1 */
|
||||||
|
font-size: 1em; /* 2 */
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Add the correct font size in all browsers.
|
||||||
|
*/
|
||||||
|
|
||||||
|
small {
|
||||||
|
font-size: 80%;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Prevent `sub` and `sup` elements from affecting the line height in
|
||||||
|
* all browsers.
|
||||||
|
*/
|
||||||
|
|
||||||
|
sub,
|
||||||
|
sup {
|
||||||
|
font-size: 75%;
|
||||||
|
line-height: 0;
|
||||||
|
position: relative;
|
||||||
|
vertical-align: baseline;
|
||||||
|
}
|
||||||
|
|
||||||
|
sub {
|
||||||
|
bottom: -0.25em;
|
||||||
|
}
|
||||||
|
|
||||||
|
sup {
|
||||||
|
top: -0.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Embedded content
|
||||||
|
========================================================================== */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Remove the border on images inside links in IE 10.
|
||||||
|
*/
|
||||||
|
|
||||||
|
img {
|
||||||
|
border-style: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Forms
|
||||||
|
========================================================================== */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 1. Change the font styles in all browsers.
|
||||||
|
* 2. Remove the margin in Firefox and Safari.
|
||||||
|
*/
|
||||||
|
|
||||||
|
button,
|
||||||
|
input,
|
||||||
|
optgroup,
|
||||||
|
select,
|
||||||
|
textarea {
|
||||||
|
font-family: inherit; /* 1 */
|
||||||
|
font-size: 100%; /* 1 */
|
||||||
|
line-height: 1.15; /* 1 */
|
||||||
|
margin: 0; /* 2 */
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Show the overflow in IE.
|
||||||
|
* 1. Show the overflow in Edge.
|
||||||
|
*/
|
||||||
|
|
||||||
|
button,
|
||||||
|
input { /* 1 */
|
||||||
|
overflow: visible;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Remove the inheritance of text transform in Edge, Firefox, and IE.
|
||||||
|
* 1. Remove the inheritance of text transform in Firefox.
|
||||||
|
*/
|
||||||
|
|
||||||
|
button,
|
||||||
|
select { /* 1 */
|
||||||
|
text-transform: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Correct the inability to style clickable types in iOS and Safari.
|
||||||
|
*/
|
||||||
|
|
||||||
|
button,
|
||||||
|
[type="button"],
|
||||||
|
[type="reset"],
|
||||||
|
[type="submit"] {
|
||||||
|
-webkit-appearance: button;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Remove the inner border and padding in Firefox.
|
||||||
|
*/
|
||||||
|
|
||||||
|
button::-moz-focus-inner,
|
||||||
|
[type="button"]::-moz-focus-inner,
|
||||||
|
[type="reset"]::-moz-focus-inner,
|
||||||
|
[type="submit"]::-moz-focus-inner {
|
||||||
|
border-style: none;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Restore the focus styles unset by the previous rule.
|
||||||
|
*/
|
||||||
|
|
||||||
|
button:-moz-focusring,
|
||||||
|
[type="button"]:-moz-focusring,
|
||||||
|
[type="reset"]:-moz-focusring,
|
||||||
|
[type="submit"]:-moz-focusring {
|
||||||
|
outline: 1px dotted ButtonText;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Correct the padding in Firefox.
|
||||||
|
*/
|
||||||
|
|
||||||
|
fieldset {
|
||||||
|
padding: 0.35em 0.75em 0.625em;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 1. Correct the text wrapping in Edge and IE.
|
||||||
|
* 2. Correct the color inheritance from `fieldset` elements in IE.
|
||||||
|
* 3. Remove the padding so developers are not caught out when they zero out
|
||||||
|
* `fieldset` elements in all browsers.
|
||||||
|
*/
|
||||||
|
|
||||||
|
legend {
|
||||||
|
box-sizing: border-box; /* 1 */
|
||||||
|
color: inherit; /* 2 */
|
||||||
|
display: table; /* 1 */
|
||||||
|
max-width: 100%; /* 1 */
|
||||||
|
padding: 0; /* 3 */
|
||||||
|
white-space: normal; /* 1 */
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Add the correct vertical alignment in Chrome, Firefox, and Opera.
|
||||||
|
*/
|
||||||
|
|
||||||
|
progress {
|
||||||
|
vertical-align: baseline;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Remove the default vertical scrollbar in IE 10+.
|
||||||
|
*/
|
||||||
|
|
||||||
|
textarea {
|
||||||
|
overflow: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 1. Add the correct box sizing in IE 10.
|
||||||
|
* 2. Remove the padding in IE 10.
|
||||||
|
*/
|
||||||
|
|
||||||
|
[type="checkbox"],
|
||||||
|
[type="radio"] {
|
||||||
|
box-sizing: border-box; /* 1 */
|
||||||
|
padding: 0; /* 2 */
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Correct the cursor style of increment and decrement buttons in Chrome.
|
||||||
|
*/
|
||||||
|
|
||||||
|
[type="number"]::-webkit-inner-spin-button,
|
||||||
|
[type="number"]::-webkit-outer-spin-button {
|
||||||
|
height: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 1. Correct the odd appearance in Chrome and Safari.
|
||||||
|
* 2. Correct the outline style in Safari.
|
||||||
|
*/
|
||||||
|
|
||||||
|
[type="search"] {
|
||||||
|
-webkit-appearance: textfield; /* 1 */
|
||||||
|
outline-offset: -2px; /* 2 */
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Remove the inner padding in Chrome and Safari on macOS.
|
||||||
|
*/
|
||||||
|
|
||||||
|
[type="search"]::-webkit-search-decoration {
|
||||||
|
-webkit-appearance: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 1. Correct the inability to style clickable types in iOS and Safari.
|
||||||
|
* 2. Change font properties to `inherit` in Safari.
|
||||||
|
*/
|
||||||
|
|
||||||
|
::-webkit-file-upload-button {
|
||||||
|
-webkit-appearance: button; /* 1 */
|
||||||
|
font: inherit; /* 2 */
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Interactive
|
||||||
|
========================================================================== */
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Add the correct display in Edge, IE 10+, and Firefox.
|
||||||
|
*/
|
||||||
|
|
||||||
|
details {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Add the correct display in all browsers.
|
||||||
|
*/
|
||||||
|
|
||||||
|
summary {
|
||||||
|
display: list-item;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Misc
|
||||||
|
========================================================================== */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Add the correct display in IE 10+.
|
||||||
|
*/
|
||||||
|
|
||||||
|
template {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Add the correct display in IE 10.
|
||||||
|
*/
|
||||||
|
|
||||||
|
[hidden] {
|
||||||
|
display: none;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user