www/stylesheets/persia.css

250 lines
4.0 KiB
CSS

* {
box-sizing: border-box;
}
html {
font-family: sans-serif;
line-height: 1.15;
-webkit-text-size-adjust: 100%;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
background: linear-gradient(to bottom right, #64a95a, #388c73) no-repeat
center center fixed;
background-size: cover;
height: 100%;
}
article,
aside,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section {
display: block;
}
body {
margin: 0;
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
font-size: 16px;
font-weight: 400;
line-height: 1.5;
color: #fff;
text-align: left;
height: 100%;
background-color: transparent;
}
[tabindex="-1"]:focus {
outline: 0 !important;
}
hr {
box-sizing: content-box;
height: 0;
overflow: visible;
}
h1,
h2,
h3,
h4,
h5,
h6 {
margin-top: 0;
margin-bottom: 0.5rem;
}
h1,
.h1 {
font-size: 2.5rem;
}
h2,
.h2 {
font-size: 2rem;
}
h3,
.h3 {
font-size: 1.75rem;
}
h4,
.h4 {
font-size: 1.5rem;
}
h5,
.h5 {
font-size: 1.25rem;
}
h6,
.h6 {
font-size: 1rem;
}
p {
margin-top: 0;
margin-bottom: 1rem;
}
a {
color: #002bff;
text-decoration: underline;
background-color: transparent;
outline: none;
}
a:hover {
text-decoration: underline;
}
a:focus {
text-decoration: underline dotted;
}
section {
margin: 0.5rem;
}
.button {
display: inline-block;
font-weight: 400;
text-align: center;
user-select: none;
background-color: transparent;
border: 1px solid transparent;
text-decoration: none;
padding: 0.25rem 1rem;
font-size: 1rem;
line-height: 1.5;
border: none;
border-radius: 0.25rem;
transition: filter 250ms ease;
color: #fff;
background: linear-gradient(rgb(76 70 167), rgb(0 43 255));
margin: 0.25rem 0;
box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05), 0 2px 3px 0 rgba(255, 255, 255, 0.1);
cursor: pointer;
}
.button:hover {
filter: brightness(125%);
color: #fff;
text-decoration: none;
}
.button:focus {
box-shadow: 0 0 0 0.1rem rgb(255, 255, 255);
border: none;
outline: none;
}
.title {
white-space: pre-wrap;
padding: 0.25rem 0.5rem;
font-size: 3rem;
box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
background: rgba(0,0,0,.3);
}
.input {
display: inline-block;
box-shadow: inset 0 4px 8px 0 rgba(0,0,0,0.2);
padding: 0.5rem;
border: none;
outline: none;
}
.nav-list {
margin: 1rem;
padding: 0;
}
.fuzzynav {
position: relative;
margin: 2rem;
}
.fuzzynav input.search {
display: block;
width: 100%;
font-size: 2rem;
background: linear-gradient(rgba(116, 116, 116, 0.2),rgba(65, 65, 65, 0.2));
box-shadow: inset 0 4px 8px 0 rgba(0,0,0,0.2);
padding: 0.5rem;
color: rgb(255, 255, 255);
border: none;
outline: none;
}
.fuzzynav input.search::placeholder {
color: rgb(214, 214, 214);
font-style: italic;
}
.fuzzynav div.results {
margin: 1rem;
padding-bottom: 2rem;
}
.nav-list a,
.fuzzynav div.results .hyperlink {
color: #009dff;
background-color: rgba(34, 34, 34, 0.616);
display: block;
box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
padding: 0.5rem;
width: 100%;
margin: 0.5rem auto;
font-size: 1.4rem;
transition: 300ms cubic-bezier(0.075, 0.82, 0.165, 1);
text-decoration: none;
}
.nav-list a:hover,
.fuzzynav div.results .hyperlink:hover {
text-decoration: none;
transform: scale(1.01);
}
.fuzzynav div.results .hyperlink:focus {
box-shadow: 0 0 1px 1px rgb(255, 255, 255);
}
.nav-list a,
.fuzzynav div.results .hyperlink .name {
color: #ffffff;
}
.fuzzynav div.results .hyperlink .link {
text-align: right;
font-size: 1.1rem;
}
.fuzzynav div.results .hyperlink .highlight {
color: rgb(175, 175, 175)
}
footer {
position: fixed;
bottom: 0;
right: 0;
color: #fff;
background: linear-gradient(#90c541, #388c73);
padding: 0.25rem;
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05), 0 2px 3px 0 rgba(0, 0, 0, 0.1);
}
.m-icon {
position: fixed;
bottom: 0;
left: 0;
z-index: -1;
}