code-server/src/browser/pages/global.css

77 lines
1.3 KiB
CSS
Raw Normal View History

2020-02-05 02:27:46 +07:00
html,
body,
#root {
2020-02-05 02:27:46 +07:00
height: 100%;
width: 100%;
}
body {
2020-02-21 08:08:06 +07:00
background: rgb(244, 247, 252);
color: #111;
2020-02-05 02:27:46 +07:00
margin: 0;
2020-02-19 07:06:35 +07:00
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji",
"Segoe UI Emoji", "Segoe UI Symbol";
2020-02-05 02:27:46 +07:00
overflow: hidden;
}
2020-02-05 07:16:45 +07:00
input,
2020-02-05 07:16:45 +07:00
button {
font-family: inherit;
font-size: 1rem;
line-height: 1rem;
}
.-button {
background-color: rgb(87, 114, 245);
border-radius: 5px;
border: none;
box-sizing: border-box;
color: white;
cursor: pointer;
padding: 18px 20px;
text-decoration: none;
2020-02-05 07:16:45 +07:00
}
2020-02-06 02:25:44 +07:00
.center-container {
2020-02-06 02:25:44 +07:00
align-items: center;
box-sizing: border-box;
display: flex;
flex-direction: column;
2020-02-06 02:25:44 +07:00
justify-content: center;
min-height: 100%;
padding: 20px;
width: 100%;
2020-02-06 02:25:44 +07:00
}
.card-box {
background-color: rgb(250, 253, 258);
border-radius: 5px;
box-shadow: rgba(60, 66, 87, 0.117647) 0px 7px 14px 0px, rgba(0, 0, 0, 0.117647) 0px 3px 6px 0px;
max-width: 650px;
width: 100%;
}
.card-box > .header {
border-bottom: 1px solid #ddd;
color: #444;
padding: 30px;
}
.card-box > .header > .main {
margin: 0;
font-size: 1.5rem;
}
.card-box > .header > .sub {
color: #555;
margin-top: 10px;
}
.card-box > .content {
padding: 40px;
}
.card-box + .card-box {
margin-top: 26px;
}