allaroundhere.org/bundle/css/explore.css

161 lines
2.8 KiB
CSS

ul {
list-style: none;
padding: 0;
}
#toggle-description {
position: fixed;
right: 0;
top: 0;
margin: 0.75em;
font-size: 1.5em;
width: 1em;
height: 1em;
border-radius: 50%;
background-color: rgba(0, 0, 0, 0.6);
padding: 0.5em;
transition: all 0.25s ease-in-out;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.6), 0 6px 20px 0 rgba(0, 0, 0, 0.6);
z-index: 10;
}
#toggle-description:hover {
cursor: pointer;
box-shadow: 4px 4px 8px 0 rgba(255, 255, 255, 0.3), -4px -4px 8px 0 rgba(255, 255, 255, 0.3);
}
#toggle-description:hover, #toggle-description.active {
background-color: rgba(255, 255, 255, 0.8);
color: black;
}
#header {
font-variant: small-caps;
text-shadow: 3px 3px 5px #000;
text-align: left;
margin-bottom: 2em;
margin-top: 1em;
}
#header h1 {
border-bottom-style: solid;
padding-bottom: 1em;
margin-left: auto;
margin-right: auto;
width: 75%;
}
#header p {
margin-left: auto;
margin-right: auto;
width: 75%;
}
#header span {
float: right;
text-align: right;
font-size: 0.75em;
}
#header span a {
margin-left: 1em;
}
#content {
text-align: center;
max-width: 90%;
left: 50%;
width: 65em;
transform: translate(-50%, 0);
position: absolute;
}
.article {
height: 14em;
margin-bottom: 2em;
border-radius: 7em;
border-style: none;
border-color: rgba(0, 0, 0, 0);
border-width: 5px;
transition: all 0.25s ease-in-out;
color: rgba(0, 0, 0, 0);
text-align: center;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.6), 0 6px 20px 0 rgba(0, 0, 0, 0.6);
}
.article:hover, .primary-text {
color: rgba(255, 255, 255, 1);
}
.article:hover {
box-shadow: 4px 4px 8px 0 rgba(255, 255, 255, 0.3), -4px -4px 8px 0 rgba(255, 255, 255, 0.3);
}
.article-banner {
background-position: center center;
background-size: cover;
background-repeat: no-repeat;
position: relative;
overflow: hidden;
width: 100%;
border-radius: 7em;
outline-style: none;
}
.article-content {
height: 14em;
overflow: hidden;
transition: all 0.25s ease-in-out;
display: block;
padding-left: 4em;
padding-right: 4em;
}
.article-content:hover, .primary-text .article-content {
background-color: rgba(0, 0, 0, 0.7);
text-shadow: 5px 5px 8px #000;
}
.article-content h2 {
text-transform: capitalize;
margin-top: 3em;
margin-bottom: 1.25em;
}
.article-content p {
font-weight: bold;
}
.article-content i {
margin-left: 1em;
margin-right: 0.7em;
}
@media only screen and (max-width: 600px) {
h1 { font-size: 1.5rem; }
h2 { font-size: 1.25rem; }
p { font-size: 0.9rem; }
#toggle-description { font-size: 1.25rem; }
.article {
border-radius: 3em;
margin-bottom: 1em;
}
.article-banner {
border-radius: 3em;
}
.article-content {
padding-left: 2em;
padding-right: 2em;
}
}