.page-index { .time-box { width: 1152px; padding: 0 12px; margin: 0 auto; background-color: #f5f5f5; height: 32px; line-height: 32px; color: darkcyan; @media screen and (max-width: 768px) { width: 100%; } } .w50p { width: 50%; @media screen and (max-width: 768px) { width: 100%; } } .xs-wrap { @media screen and (max-width: 768px) { flex-wrap: wrap; } } .cr-title { padding: 0 12px; display: flex; align-items: center; color: steelblue; font-weight: bold; font-size: 20px; @media screen and (max-width: 768px) { padding: 0; } i { color: steelblue; font-size: 22px; margin-right: 4px; } } .web-tool { width: 1152px; margin: 0 auto; padding: 12px; background-color: #fafafa; border-radius: 10px; @media screen and (max-width: 768px) { width: 100%; } } // 常用网址 .websites { display: flex; flex-wrap: wrap; min-height: 150px; @media screen and (max-width: 768px) { margin: 0; } a { word-break: break-all; width: calc(16.66% - 10px); margin-right: 10px; margin-bottom: 10px; height: 40px; line-height: 18px; text-align: center; padding: 0 12px; color: #fff; font-size: 14px; transition: all 0.3s; box-shadow: 0 2px 6px rgba(70, 130, 180, 0.61); background-color: steelblue; border-radius: 4px; @media screen and (max-width: 768px) { width: calc(33.33% - 10px); margin-right: 10px; padding: 0 10px; } &:hover { font-weight: bold; color: orangered; } } } .f-link { margin-right: 16px; color: #ccc; } .f-link:hover { color: deepskyblue; } .code-send { @media screen and (max-width: 440px) { margin-top: 16px; } } .empty-text { color: #bbb; font-size: 14px; } .purple { color: #9c27b0 !important; } padding-top: 60px; .header { position: fixed; left: 0; right: 0; top: 0; height: 60px; z-index: 1; background-color: #2f4056; display: flex; justify-content: space-between; align-items: center; padding: 0 12px; color: white; .logo { font-size: 28px; font-style: italic; text-shadow: 0 0 8px ivory; } .login { .btn { border: none; padding: 2px 12px; background-color: #03a9f4; color: #fff; border-radius: 3px; } .btn-text { background-color: transparent; color: yellow; margin-right: 16px; } } .admin { padding: 4px 8px; background-color: #67c23a; color: #fff; text-decoration: none; font-size: 14px; margin-right: 15px; border-radius: 4px; } } /* 内容区域 */ .container { overflow-x: hidden; .content { width: 1152px; @media screen and (max-width: 768px) { width: 100%; flex-wrap: wrap; } margin: 10px auto; margin-top: 24px; padding: 12px; border-radius: 10px; box-shadow: 0 2px 6px rgba(70, 130, 180, 0.2); background-color: #fff; box-sizing: border-box; display: flex; .cl { width: 300px; padding: 12px; @media screen and (max-width: 768px) { width: 100%; padding: 0; margin-bottom: 12px; } .block { .title { display: flex; align-items: center; color: #777; font-weight: bold; font-size: 18px; i { color: #999; font-size: 20px; margin-right: 4px; } } .article-list { background-color: #fff; } .p-item { display: flex; height: 60px; padding: 10px 12px; justify-content: space-between; align-items: center; border-bottom: 1px solid #eaeefb; color: #666; font-size: 14px; @media screen and (max-width: 768px) { height: 50px; } i { color: #2196f3; cursor: pointer; font-size: 20px; } a { color: #2196f3; cursor: pointer; font-size: 20px; } .iconfont { color: #999; } } } } .cr { flex: 1; border-left: 1px solid #eee; @media screen and (max-width: 768px) { width: 100%; border-left: none; } .menus { display: flex; padding: 0 12px; flex-wrap: wrap; .mn-item { display: flex; align-items: center; justify-content: center; width: calc(25% - 24px); height: 80px; background-color: #fafafb; color: #999; border: 1px solid #f2f2f2; border-radius: 10px; margin: 12px; overflow: hidden; flex-direction: column; transition: all 0.3s ease-in-out; cursor: pointer; @media screen and (max-width: 768px) { width: calc(50% - 24px); margin: 12px; } &.front { position: relative; &::before { position: absolute; left: 0; top: 0; width: 120px; height: 60px; line-height: 100px; text-align: center; content: "前端"; background-color: #2196f3; color: white; font-size: 12px; transform: translate(-50%, -50%) rotate(-43deg); } } &.tool { position: relative; &::before { position: absolute; left: 0; top: 0; width: 120px; height: 60px; line-height: 100px; text-align: center; content: "工具"; background-color: #2196f3; color: white; font-size: 12px; transform: translate(-50%, -50%) rotate(-43deg); } } &.end { position: relative; &::before { position: absolute; left: 0; top: 0; width: 120px; height: 60px; line-height: 100px; text-align: center; content: "后端"; background-color: #2196f3; color: white; font-size: 12px; transform: translate(-50%, -50%) rotate(-43deg); } } // hot &.hot { position: relative; &::before { position: absolute; left: 0; top: 0; width: 120px; height: 60px; line-height: 100px; text-align: center; content: "NEW"; background-color: orangered; color: white; font-size: 12px; transform: translate(-50%, -50%) rotate(-43deg); } } &:hover { transform: translateY(-5%); box-shadow: 1px 4px 10px 2px #ccc; } } } // 用户查找 .user-query { // 标题 .uq-title { padding: 12px; display: flex; align-items: center; color: #777; font-weight: bold; font-size: 16px; i { color: #999; font-size: 20px; margin-right: 4px; } } // 内容区 .uq-content { padding: 12px 12px 12px 32px; display: flex; input { border: none; outline: 0; background-color: #fff; height: 40px; border-radius: 4px; border: 1px solid #eee; margin-right: 16px; padding-left: 8px; } button { border: none; outline: 0; width: 90px; height: 34px; border-radius: 17px; background-color: #2196f3; color: #fff; font-size: 14px; } } // 结果区 .uq-result { padding: 12px 12px 12px 32px; display: flex; @media screen and (max-width: 768px) { flex-wrap: wrap; } color: #777; .label { background-color: orangered; color: white; font-size: 12px; padding: 2px; @media screen and (max-width: 768px) { width: auto; } } div { @media screen and (max-width: 768px) { width: 100%; } & + div { @media screen and (max-width: 768px) { margin-left: 0; } margin-left: 30px; } } } } } } } .footer { // position: fixed; // bottom: 0; // left: 0; // right: 0; padding: 16px 0; background-color: #f8f8f8; color: #777; border-top: 1px solid #f2f2f2; @media screen and (max-width: 768px) { height: 80px; padding: 12px; .beian-xs { display: flex; flex-wrap: wrap; flex-direction: column; } } .middle-beian { margin-left: 14px; @media screen and (max-width: 768px) { margin-left: 0; margin-top: 8px; } } } .i-link { color: deepskyblue !important; } .login-mask { position: fixed; left: 0; right: 0; top: 0; bottom: 0; z-index: 2; background-color: rgba(0, 0, 0, 0.8); display: none; .login-box { position: absolute; width: 600px; @media screen and (max-width: 768px) { width: calc(100% - 32px); } left: 50%; top: 50%; transform: translate(-50%, -50%); background: #fff; padding: 20px; border-radius: 10px; .username { width: 100%; display: flex; justify-content: space-between; align-items: center; i { font-size: 32px; color: #999; padding-right: 10px; } input { width: 100%; height: 40px; border: none; outline: 0; background-color: #fff; border: 1px solid #eee; padding-left: 8px; } } .userpwd { margin-top: 32px; width: 100%; display: flex; justify-content: space-between; align-items: center; i { font-size: 32px; color: #999; padding-right: 10px; } input { width: 100%; height: 40px; border: none; outline: 0; background-color: #fff; border: 1px solid #eee; padding-left: 8px; } } .login-wrap { width: 100%; display: flex; justify-content: flex-end; align-items: center; .login-btn { border: none; outline: 0; width: 80px; height: 30px; line-height: 30px; border-radius: 2px; background: #2196f3; color: #fff; font-size: 14px; } } } } .qrcode-cont { position: fixed; bottom: 50%; transform: translateY(50%); left: 12px; background-color: deepskyblue; padding: 12px; img { width: 100px; height: auto; } .qrcode-text { padding-top: 12px; color: #fff; font-size: 14px; text-align: center; } } * { box-sizing: border-box; } body { padding-bottom: 50px; } .fwb { font-weight: bold; } .flex { display: flex; } .flex-xc { justify-content: center; } .flex-x-space-around { justify-content: space-around; } .flex-x-space-between { justify-content: space-between; } .flex-yc { align-items: center; } .f14 { font-size: 14px; } .f16 { font-size: 16px; } .f18 { font-size: 18px; } .fwb { font-weight: bold; } .c31 { color: #313131; } .c6e { color: #6e6e6e; } .ca { color: #aaa; } .pt6 { padding-top: 6px; } .pt12 { padding-top: 12px !important; } .pt24 { padding-top: 24px !important; } .pb12 { padding-bottom: 12px !important; } .pb24 { padding-bottom: 24px !important; } .agenda-cont { background-color: #fff; padding: 0 24px 24px; display: flex; flex-wrap: wrap; @media screen and (max-width: 768px) { padding: 12px; } } .agenda-item { width: calc(33.33% - 12px); margin-top: 12px; margin-right: 12px; background-color: azure; padding: 12px; border-radius: 10px; @media screen and (max-width: 768px) { width: 100%; margin-right: 0; } &:first-child { margin-top: 0; } } .tc { text-align: center; } @media screen and (max-width: 768px) { .hide-xs { display: none !important; } } .search-box { width: 1152px; margin: 0 auto; padding: 12px; overflow: hidden; @media screen and (max-width: 768px) { width: unset; } input { float: left; border: none; outline: 0; width: 300px; height: 38px; padding: 0 12px; border: 2px solid #1e9fff; vertical-align: top; &:focus { border-color: #0c0; } } button { float: left; vertical-align: top; border-radius: 0 2px 2px 0 !important; } } }