www/stylesheets/persia.css

262 lines
4.2 KiB
CSS
Raw Normal View History

2021-06-03 01:57:01 +00:00
* {
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);
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: linear-gradient(to bottom right, #64a95a, #388c73) no-repeat
center center fixed;
background-color: #539c65;
background-size: cover;
margin-bottom: 1rem;
2021-06-03 01:57:01 +00:00
}
[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: #009dff;
2021-06-03 01:57:01 +00:00
text-decoration: underline;
background-color: transparent;
outline: none;
}
a:hover {
text-decoration: underline;
}
a:focus {
text-decoration: underline dotted;
}
section {
margin: 0.5rem;
}
2021-06-03 01:57:01 +00:00
.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;
2021-06-03 01:57:01 +00:00
}
.button:hover {
filter: brightness(125%);
2021-06-03 01:57:01 +00:00
color: #fff;
text-decoration: none;
}
.button:focus {
box-shadow: 0 0 0 0.1rem rgb(255, 255, 255);
2021-06-03 01:57:01 +00:00
border: none;
outline: none;
}
.title {
white-space: pre-wrap;
padding: 0.25rem 0.5rem;
2021-06-03 01:57:01 +00:00
font-size: 3rem;
box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
background-color: rgba(0,0,0,0.5);
}
.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: 1rem;
box-shadow: inset 0 4px 8px 0 rgba(0,0,0,0.2);
background-color: rgba(0,0,0,0.5);
2021-06-03 01:57:01 +00:00
}
.fuzzynav {
position: relative;
2021-06-03 01:57:01 +00:00
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;
}
2021-06-03 01:57:01 +00:00
.fuzzynav input.search::placeholder {
color: rgb(214, 214, 214);
font-style: italic;
2021-06-03 01:57:01 +00:00
}
.block,
2021-06-03 01:57:01 +00:00
.fuzzynav div.results {
margin: 1rem;
padding: 1rem;
box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
background-color: rgba(0,0,0,0.5);
}
span.clear {
clear: both;
display: block;
2021-06-03 01:57:01 +00:00
}
.nav-list a,
2021-06-03 01:57:01 +00:00
.fuzzynav div.results .hyperlink {
color: #009dff;
background-color: #539c65;
2021-06-03 01:57:01 +00:00
display: block;
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;
background: linear-gradient(to bottom right, #64a95a, #388c73) no-repeat
center center fixed;
2021-06-03 01:57:01 +00:00
}
.nav-list a:hover,
2021-06-03 01:57:01 +00:00
.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,
2021-06-03 01:57:01 +00:00
.fuzzynav div.results .hyperlink .name {
color: #ffffff;
}
.fuzzynav div.results .hyperlink .link {
color: #0000FE;
2021-06-03 01:57:01 +00:00
text-align: right;
font-size: 1.1rem;
}
.fuzzynav div.results .hyperlink .highlight {
text-decoration: underline;
2021-06-03 01:57:01 +00:00
}
footer {
color: #fff;
background: rgb(0,0,0);
2021-06-03 01:57:01 +00:00
padding: 0.25rem;
bottom: 0;
right: 0;
position: fixed;
2021-06-03 01:57:01 +00:00
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;
}