redoc/demo/main.css

122 lines
3.0 KiB
CSS
Raw Normal View History

2016-03-14 23:48:35 +03:00
@import url(http://fonts.googleapis.com/css?family=Roboto:300,400,700);
@import url(http://fonts.googleapis.com/css?family=Montserrat:300,400);
2015-10-10 15:34:46 +03:00
body {
2016-03-14 22:29:27 +03:00
margin: 0;
padding-top: 50px;
-webkit-tap-highlight-color: rgba(0,0,0,0);
-moz-tap-highlight-color: rgba(0,0,0,0);
-ms-tap-highlight-color: rgba(0,0,0,0);
-o-tap-highlight-color: rgba(0,0,0,0);
tap-highlight-color: rgba(0,0,0,0);
-webkit-font-smoothing: antialiased;
2016-03-08 23:03:05 +03:00
-moz-osx-font-smoothing: grayscale;
2016-03-14 22:29:27 +03:00
font-smoothing: antialiased;
-webkit-osx-font-smoothing: grayscale;
-moz-osx-font-smoothing: grayscale;
osx-font-smoothing: grayscale;
-webkit-text-size-adjust: 100%;
-moz-text-size-adjust: 100%;
text-size-adjust: 100%;
-webkit-text-shadow: 1px 1px 1px rgba(0,0,0,0.004);
-ms-text-shadow: 1px 1px 1px rgba(0,0,0,0.004);
text-shadow: 1px 1px 1px rgba(0,0,0,0.004);
text-rendering: optimizeSpeed!important;
font-smooth: always;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
text-size-adjust: 100%;
2015-11-04 22:31:10 +03:00
}
nav input, nav button {
2016-03-14 22:29:27 +03:00
font-size: 16px;
height: 28px;
box-sizing: border-box;
vertical-align: middle;
line-height: 1;
outline: none;
2015-11-04 22:31:10 +03:00
}
2015-11-06 00:25:22 +03:00
nav header {
2016-03-14 22:29:27 +03:00
font-family: Monserrat, sans-serif;
float: left;
margin-left: 20px;
font-size: 25px;
color: #00329F;
font-weight: bold;
2015-11-06 00:25:22 +03:00
}
2016-01-23 01:00:28 +03:00
2015-11-04 22:31:10 +03:00
nav input {
2016-03-14 22:29:27 +03:00
width: 50%;
box-sizing: border-box;
max-width: 500px;
2016-01-23 01:00:28 +03:00
2016-03-14 22:29:27 +03:00
color: #555;
background-color: #fff;
border: 1px solid #ccc;
border-radius: 4px;
-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
-webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
-o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
2016-01-23 01:00:28 +03:00
}
nav input:focus {
2016-03-14 22:29:27 +03:00
border-color: #66afe9;
outline: 0;
-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);
box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);
2015-11-04 22:31:10 +03:00
}
nav button {
2016-03-14 22:29:27 +03:00
background-color: #fff;
color: #333;
padding: 2px 10px;
2016-01-23 01:00:28 +03:00
2016-03-14 22:29:27 +03:00
touch-action: manipulation;
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
border: 1px solid #ccc;
border-radius: 4px;
2016-01-23 01:00:28 +03:00
}
nav button:hover {
2016-03-14 22:29:27 +03:00
background-color: #e6e6e6;
border-color: #adadad;
2016-01-23 01:00:28 +03:00
}
nav button:active {
2016-03-14 22:29:27 +03:00
background-color: #d4d4d4;
border-color: #8c8c8c;
2015-11-04 22:31:10 +03:00
}
nav {
2016-03-14 22:29:27 +03:00
width: 100%;
height: 50px;
line-height: 50px;
text-align: center;
background-color: white;
border-bottom: 1px solid #ccc;
position: fixed;
top: 0;
z-index: 1;
box-sizing: border-box;
2015-10-15 20:06:33 +03:00
}
2016-01-23 01:00:28 +03:00
@media (min-width: 1000px) {
2016-03-14 22:29:27 +03:00
nav header {
position: absolute;
}
2016-01-23 01:00:28 +03:00
}
@media (max-width: 500px) {
2016-03-14 22:29:27 +03:00
nav input {
width: 70%;
}
nav header {
display: none;
}
2016-01-23 01:00:28 +03:00
}