pages/css/main.css

179 lines
2.7 KiB
CSS
Raw Normal View History

2016-04-24 03:31:22 +00:00
nav {
text-align: center;
color: #fff;
width: 90%;
max-width: 900px;
margin: auto;
}
nav a, nav a:visited {
color: #fff;
font-weight: normal;
2016-04-24 03:31:22 +00:00
}
2015-11-04 22:59:46 +00:00
nav ul, footer ul {
padding: 0;
display: inline;
font-weight: bold;
list-style: none;
text-align: center;
2015-11-04 22:59:46 +00:00
}
2015-11-04 22:59:46 +00:00
nav ul li, footer ul li {
display: inline-block;
vertical-align: middle;
white-space: nowrap;
padding-right: 8px;
padding-left: 8px;
2016-04-24 03:31:22 +00:00
}
.inline {
list-style: none;
text-align: center;
display: inline;
font-weight: bold;
2016-04-24 03:31:22 +00:00
}
.inline li {
display: inline-block;
padding-right: 8px;
padding-left: 8px;
2015-11-04 22:59:46 +00:00
}
2016-03-06 07:51:46 +00:00
footer {
font-size: .8em;
width: 90%;
max-width: 900px;
margin: auto;
margin-top: 20px;
padding-bottom: 10px;
2015-11-04 22:59:46 +00:00
}
a, a:visited {
color: teal;
2016-04-24 03:31:22 +00:00
text-decoration: none;
2016-03-06 07:51:46 +00:00
}
a:hover, a:focus, a:active {
color: turquoise !important;
outline: 0;
2016-03-06 07:51:46 +00:00
}
html {
width:100%;
height: 100%;
background-color: #eee;
2016-03-06 07:51:46 +00:00
}
body {
background: transparent;
margin: 0;
padding: 0;
2016-03-06 07:51:46 +00:00
}
.home {
height: 64px;
max-width: 64px;
position: absolute;
top: 16px;
left: 50%;
margin-left: -32px;
transition: all .2s ease-in-out;
2016-03-06 07:51:46 +00:00
}
.home:hover {
transform: scale(2);
2016-03-06 07:51:46 +00:00
}
.head {
background: #ccc;
background: linear-gradient(to bottom right, teal, turquoise);
padding: 20px;
padding-bottom: 90px;
margin-bottom: -100px;
text-align: center;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
2016-03-06 07:51:46 +00:00
}
.head h1 {
color: #fff;
font-size: 2em;
width: 90%;
max-width: 900px;
margin: auto;
margin-top: 80px;
border-bottom: 1px solid;
2016-03-06 07:51:46 +00:00
}
h1 {
cursor: pointer;
2016-03-06 07:51:46 +00:00
}
.card {
background: #fff;
border-radius: 2px;
width: 90%;
max-width: 940px;
margin: auto;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
padding: 20px;
2016-03-06 07:51:46 +00:00
}
.cite {
width: 90%;
max-width: 940px;
margin: auto;
position: relative;
2016-03-06 07:51:46 +00:00
}
.card, .cite {
margin-top: 20px;
2016-03-06 07:51:46 +00:00
}
.cite .card {
transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
width: 100%;
margin-left: -20px;
2016-03-06 07:51:46 +00:00
}
.card:hover {
box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
2016-03-06 07:51:46 +00:00
}
table {
margin: auto;
2016-03-06 07:51:46 +00:00
}
img {
margin: auto;
display: block;
2016-03-06 07:51:46 +00:00
}
.collection {
border-radius:2px;
overflow:hidden;
position:relative
2016-04-24 03:31:22 +00:00
}
.collection .collection-item {
background-color:#fff;
line-height:1.5rem;
padding:10px 20px;
margin:0;
border-bottom:1px solid #e0e0e0
2016-03-06 07:51:46 +00:00
}
.collection .collection-item:last-child {
border-bottom:none
2016-03-06 07:51:46 +00:00
}
.collection a.collection-item {
display:block;
transition:.25s;
color:#26a69a
}
2016-04-24 03:31:22 +00:00
.collection a.collection-item:not(.active):hover {
background-color:#ddd
2016-04-24 03:31:22 +00:00
}