135 lines
2.3 KiB
CSS
135 lines
2.3 KiB
CSS
html {
|
|
min-width: 900px;
|
|
}
|
|
|
|
body {
|
|
font-family: -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", Helvetica, Arial, sans-serif;;
|
|
font-size: 14px;
|
|
line-height: 1.5;
|
|
margin: 0;
|
|
background-repeat: no-repeat;
|
|
background-position: 80% top;
|
|
background-size: cover;
|
|
background-color: #071017;
|
|
min-width: 900px;
|
|
}
|
|
|
|
code {
|
|
font-family: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;
|
|
}
|
|
|
|
.container {
|
|
width: 840px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.box {
|
|
width: 840px;
|
|
margin: auto;
|
|
margin-top: 100px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.box header {
|
|
min-height: 100px;
|
|
width: 100%;
|
|
align-self: center;
|
|
align-items: center;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: flex-start;
|
|
background-color: rgba(102, 204, 255);
|
|
}
|
|
|
|
.box h1 {
|
|
font-size: 2em;
|
|
font-weight: 400;
|
|
margin: 0 2rem;
|
|
color: white;
|
|
}
|
|
|
|
.square-container {
|
|
display: grid;
|
|
grid-template-columns: repeat(12, 50px);
|
|
grid-auto-rows: 50px;
|
|
}
|
|
|
|
.square {
|
|
color: white;
|
|
font-size: 1.5em;
|
|
line-height: 1.3;
|
|
font-weight: 400;
|
|
display: flex;
|
|
justify-content: left;
|
|
align-items: flex-end;
|
|
padding: 10px;
|
|
width: 80px;
|
|
height: 80px;
|
|
}
|
|
|
|
.square-code {
|
|
font-family: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;
|
|
}
|
|
|
|
.square-multiline {
|
|
font-size: 1rem;
|
|
line-height: 1;
|
|
}
|
|
|
|
.square-img {
|
|
background-size: cover !important;
|
|
}
|
|
|
|
.square-blue-1 {
|
|
background-color: #1d4a89;
|
|
}
|
|
|
|
.square-blue-2 {
|
|
background-color: #3478c6;
|
|
}
|
|
|
|
.square-blue-3 {
|
|
background-color: #66ccff;
|
|
}
|
|
.square-container a {
|
|
line-height: 1.2;
|
|
text-decoration: none;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.square-container a.square-blue-1:hover {
|
|
background: #2794c7;
|
|
font-size: 1.2em;
|
|
transition: .2s;
|
|
}
|
|
|
|
.square-container a.square-blue-2:hover {
|
|
background: #619ef8;
|
|
font-size: 1.2em;
|
|
transition: .2s;
|
|
}
|
|
|
|
.square-container a.square-blue-3:hover {
|
|
background: #46a4d3;
|
|
font-size: 1.2em;
|
|
transition: .2s;
|
|
}
|
|
|
|
footer {
|
|
font-size: .75rem;
|
|
color: #f0f0f0;
|
|
padding-top: 50px;
|
|
}
|
|
|
|
footer a {
|
|
color: #f0f0f0;
|
|
text-decoration: none;
|
|
}
|
|
|
|
footer a:hover {
|
|
color: #f0f0f0;
|
|
text-decoration: underline;
|
|
}
|