You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

209 lines
3.4 KiB
CSS

body {
margin: 0;
padding: 0;
background-color: #e6e6e6;
}
.header {
padding-top: 70px;
padding-left: 60px;
text-align: left;
}
.header-img {
height: 5.5rem;
}
.columns {
display: flex;
justify-content: center;
margin-top: 20px;
font-family: Montserrat;
line-height: 130%;
}
.column {
padding: 20px;
box-sizing: border-box;
}
/* ----- column left ------ */
.column-left {
width: 50%;
margin-top: 40px;
}
.intro-text {
font-family: LibreBaskerville;
font-style: italic;
line-height: 130%;
font-size: 20px;
}
.command-bar {
height: 40px;
width: 70%;
font-size: 16px;
padding-left: 20px;
border-radius: 30px;
border: 1.7px solid black;
margin-top: 30px;
background-color: #e6e6e6;
display: flex;
}
#user_input {
display: flex;
height: 100%;
width: 80%;
font-size: 20px;
font-family: LibreBaskerville;
font-style: italic;
padding-left: 10px;
border: none;
text-decoration: none;
background-color: transparent;
outline: none;
}
.command-button {
display: flex;
width: 20%;
align-items: center;
cursor: pointer;
text-decoration: none;
border: none;
background-color: transparent;
justify-content: flex-end;
padding-right: 20px;
}
.button-arrow {
height: 20px;
width: auto;
}
.literal-function-container {
display: flex;
flex-direction: column;
}
#output {
width: 80%;
margin-top: 30px;
}
.quotationmark-up-container {
display: flex;
width: 80%;
justify-content: left;
}
.quotationmark-up {
height: 30px;
margin-top: 30px;
}
.quotationmark-down-container {
display: flex;
width: 80%;
justify-content: right;
}
.quotationmark-down {
height: 30px;
text-align: right;
}
/* ----- column right ------ */
.flip-card {
display: flex;
opacity: 0;
visibility: hidden;
transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
width: 30%;
align-items: center;
text-align: center;
margin-left: 30px;
margin-top: 40px;
height: 50vh;
}
.flip-card.visible {
display: flex;
opacity: 1;
visibility: visible;
}
.flip-card-inner {
display: flex;
width: 100%;
height: 160%;
text-align: center;
border-radius: 30px;
border: 1.7px solid black;
transition: transform 0.6s;
transform-style: preserve-3d;
box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
}
.flip-card-front {
display: flex;
flex-direction: column;
background-color: #d4d1d0;
color: black;
border-radius: 30px;
align-items: center;
text-align: center;
}
.tendrils {
padding-left: 10px;
padding-right: 10px;
padding-top: 15px;
width: 90%;
}
h1 {
position: absolute;
top: 40%;
}
.tendril-top {
display: flex;
align-items: flex-start;
}
.tendril-bottom {
display: flex;
align-items: flex-end;
position: absolute;
bottom: 15px;
}
.flip-card:hover .flip-card-inner {
transform: rotateY(180deg);
}
.flip-card-front, .flip-card-back {
position: absolute;
width: 100%;
height: 100%;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
}
.flip-card-back {
display: flex;
align-items: center;
background-color: #d4d1d0;
color: black;
border-radius: 30px;
transform: rotateY(180deg);
}
.info_layer {
padding: 25px;
}