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.
71 lines
1.3 KiB
CSS
71 lines
1.3 KiB
CSS
2 years ago
|
html {
|
||
|
margin: 0;
|
||
|
padding: 0;
|
||
|
}
|
||
|
body {
|
||
|
margin: 10px;
|
||
|
padding: 0;
|
||
|
}
|
||
|
.container {
|
||
|
margin: 15px auto;
|
||
|
padding: 15px;
|
||
|
min-height: 400px;
|
||
|
background-color: #aca8a8;
|
||
|
border: 1px solid rebeccapurple;
|
||
|
border-radius: 15px;
|
||
|
display: flex;
|
||
|
flex-direction: row;
|
||
|
flex-wrap: nowrap;
|
||
|
justify-content: space-evenly;
|
||
|
align-items: stretch;
|
||
|
}
|
||
|
|
||
|
.menu {
|
||
|
margin-right: 10px;
|
||
|
padding: 11px;
|
||
|
width: 250px;
|
||
|
background-color: #5ccb8c;
|
||
|
border: 2px solid rebeccapurple;
|
||
|
border-radius: 15px;
|
||
|
|
||
|
/*便于计算*/
|
||
|
background-origin: border-box;
|
||
|
}
|
||
|
|
||
|
iframe {
|
||
|
overflow-clip-margin: content-box !important;
|
||
|
margin: 0;
|
||
|
padding: 0;
|
||
|
width: 100%;
|
||
|
height: 100%;
|
||
|
border-width: 0px;
|
||
|
}
|
||
|
|
||
|
object {
|
||
|
overflow-clip-margin: content-box !important;
|
||
|
margin: 0;
|
||
|
padding: 0;
|
||
|
width: 100%;
|
||
|
height: 100%;
|
||
|
border-width: 0px;
|
||
|
}
|
||
|
|
||
|
.context {
|
||
|
width: calc(100% - 200px);
|
||
|
padding: 10px;
|
||
|
background-color: #7b96cf;
|
||
|
border: 2px solid rebeccapurple;
|
||
|
border-radius: 15px;
|
||
|
margin-left: auto;
|
||
|
text-align: center;
|
||
|
font-size: 50px;
|
||
|
|
||
|
/*便于计算*/
|
||
|
background-origin: border-box;
|
||
|
|
||
|
display: flex;
|
||
|
flex-direction: row;
|
||
|
flex-wrap: nowrap;
|
||
|
justify-content:flex-start;
|
||
|
align-items: center;
|
||
|
}
|