144 lines
2.3 KiB
CSS
144 lines
2.3 KiB
CSS
:root {
|
|
--main-background-color: white;
|
|
--main-text-color: black;
|
|
--main-highlight-color: cyan;
|
|
}
|
|
|
|
body {
|
|
background-color: var(--main-background-color);
|
|
color: --main-text-color;
|
|
display: flex;
|
|
flex-direction: column;
|
|
margin: 0;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
main {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
float: left;
|
|
}
|
|
|
|
.container {
|
|
padding: 2rem 0 0 0;
|
|
display: flex;
|
|
min-height: 40vh;
|
|
}
|
|
|
|
aside {
|
|
margin: 0 auto;
|
|
float: left;
|
|
width: 20rem;
|
|
justify-content: space-between;
|
|
flex-direction: column;
|
|
}
|
|
|
|
nav {
|
|
display: flex;
|
|
background-color: yellowgreen;
|
|
padding: 0 20%;
|
|
}
|
|
|
|
nav ol {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
list-style-type: none;
|
|
}
|
|
|
|
nav ol li {
|
|
margin: auto 1rem;
|
|
}
|
|
|
|
nav ol li button {
|
|
background-color: transparent;
|
|
padding: 0.5rem;
|
|
font-size: large;
|
|
}
|
|
|
|
|
|
footer {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-direction: column;
|
|
position:fixed;
|
|
margin-top: auto;
|
|
width: 100%;
|
|
bottom: 0;
|
|
background-color: yellowgreen;
|
|
}
|
|
|
|
footer p:last-child {
|
|
font-weight: bolder;
|
|
}
|
|
|
|
table {
|
|
border-collapse: collapse;
|
|
box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
|
|
width:100%;
|
|
}
|
|
|
|
thead {
|
|
width:100%;
|
|
background:#000;
|
|
padding:(12px * 1.5) 0;
|
|
color:wheat;
|
|
}
|
|
|
|
tr {
|
|
text-align: center;
|
|
width:100%;
|
|
padding:(12px * 1.5) 0;
|
|
}
|
|
|
|
tr:nth-of-type(even) {
|
|
background:lightgray;
|
|
}
|
|
|
|
.text-bubble {
|
|
position: relative;
|
|
margin: auto;
|
|
margin-left: 185px;
|
|
margin-top: -395px;
|
|
z-index: 2;
|
|
}
|
|
|
|
.dialog {
|
|
height: 150px;
|
|
width: 350px;
|
|
background-color: var(--main-background-color);
|
|
position: relative;
|
|
border-radius: 10%;
|
|
display: flex;
|
|
text-align: center;
|
|
border: 1px solid black;
|
|
}
|
|
|
|
.right-point {
|
|
width: 0;
|
|
height: 0;
|
|
border-left: 1rem solid transparent;
|
|
border-right: 1rem solid transparent;
|
|
border-top: 5rem solid black;
|
|
position: absolute;
|
|
margin-top: 30%;
|
|
margin-left: 100%;
|
|
transform: rotate(-60deg) ;
|
|
z-index: -1;
|
|
}
|
|
|
|
.shifted {
|
|
transform:rotate(-60deg) translate(0px,-2px);
|
|
border-top: 5rem solid white;
|
|
z-index: 4;
|
|
}
|
|
|
|
|
|
.speech {
|
|
z-index: 3;
|
|
margin: auto;
|
|
padding: 30px;
|
|
position: relative;
|
|
text-align: justify;
|
|
}
|