Epic-Sax/inhalte/designes/index.css

147 lines
2.6 KiB
CSS
Raw Permalink Normal View History

2019-07-11 03:52:25 +00:00
* {
margin: 0;
padding: 0;
2019-07-12 08:28:55 +00:00
font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
2019-07-11 03:52:25 +00:00
}
a {
text-decoration: none;
color: black;
}
div.page {
position: relative;
width: 100%;
height: 100%;
}
/*### HOME #########################################################################*/
div.page.home {
text-align: center;
}
2019-07-12 08:28:55 +00:00
div.page.home>div.title {
2019-07-11 03:52:25 +00:00
position: absolute;
top: 45%;
width: 100%;
transform: translateY(-50%);
}
2019-07-12 08:28:55 +00:00
div.title>h1 {
2019-07-11 03:52:25 +00:00
font-size: 20vh;
}
2019-07-12 08:28:55 +00:00
div.title>h2 {
2019-07-11 03:52:25 +00:00
font-size: 4vh;
}
/*### HISTORY #########################################################################*/
2019-07-12 08:28:55 +00:00
div.page.history>h1 {
2019-07-11 03:52:25 +00:00
position: absolute;
top: 10%;
left: 5%;
font-size: 10vh;
}
2019-07-12 08:28:55 +00:00
div.page.history>p {
2019-07-11 03:52:25 +00:00
position: absolute;
top: 55%;
left: 50%;
min-width: 700px;
width: 60%;
transform: translate3D(-50%, -50%, 0);
font-size: 3vh;
hyphens: auto;
text-align: justify
}
/*### EXPLORE #########################################################################*/
2019-07-12 08:28:55 +00:00
div.page.explore>h1 {
2019-07-11 03:52:25 +00:00
position: absolute;
top: 10%;
width: 100%;
text-align: center;
font-size: 8vh;
}
2019-07-12 08:28:55 +00:00
div.page.explore>a {
2019-07-11 03:52:25 +00:00
position: absolute;
left: 50%;
bottom: 4%;
transform: translateX(-50%);
text-align: center;
font-size: 2vh;
}
2019-07-12 08:28:55 +00:00
div.page.explore>div.saxophones {
2019-07-11 03:52:25 +00:00
padding-top: 38vh;
display: grid;
place-items: center;
grid-template-columns: 1fr 1fr 1fr 1fr;
}
div.saxophones div.saxophone {
padding: 4vw;
width: 12vw;
height: 12vw;
transition: 150ms ease-in-out;
}
2019-07-12 08:28:55 +00:00
div.saxophones div.saxophone>p {
2019-07-11 03:52:25 +00:00
margin: 8vh 0;
color: white;
text-align: center;
font-size: 3vh;
font-weight: bold;
transition: inherit;
}
2019-07-12 08:28:55 +00:00
div.saxophones div.saxophone:hover>p {
2019-07-11 03:52:25 +00:00
color: black;
}
div.saxophones div.saxophone:hover {
padding: 3vw;
width: 12vw;
height: 12vw;
cursor: pointer;
border-radius: 50%;
background-color: #F5F5F5;
}
2019-07-12 08:28:55 +00:00
div.saxophones div.saxophone>img {
2019-07-11 03:52:25 +00:00
width: inherit;
height: inherit;
}
2019-07-11 22:36:15 +00:00
/*#### scroll #### */
2019-07-12 08:28:55 +00:00
.arrow::before {
2019-07-12 08:23:33 +00:00
content: '\25bc';
cursor: pointer;
2019-07-11 22:36:15 +00:00
color: grey;
position: absolute;
opacity: 0.8;
2019-07-12 08:28:55 +00:00
text-shadow: 0 0 .5rem rgba(0, 0, 0, 0.5);
2019-07-11 22:36:15 +00:00
width: 6rem;
font-size: 2rem;
height: 4rem;
line-height: 4rem;
text-align: center;
bottom: 2rem;
margin-left: -3rem;
left: 50%;
animation: bounce 1s ease infinite;
2019-07-12 08:28:55 +00:00
}
@keyframes bounce {
2019-07-11 22:36:15 +00:00
50% {
2019-07-12 08:28:55 +00:00
transform: translateY(-50%);
2019-07-11 22:36:15 +00:00
}
100% {
2019-07-12 08:28:55 +00:00
transform: translateY(0);
2019-07-11 22:36:15 +00:00
}
2019-07-12 08:28:55 +00:00
}