1
0
mirror of https://github.com/lxsang/antd-web-apps synced 2024-12-28 02:08:22 +01:00
antd-web-apps/blog/assets/style.css

474 lines
9.1 KiB
CSS
Raw Normal View History

2020-09-18 13:17:43 +02:00
html,
body {
2018-02-23 00:41:46 +01:00
margin: 0;
padding: 0;
font-family: "Ubuntu";
2020-06-26 16:51:07 +02:00
font-size: 14px;
2018-02-23 00:41:46 +01:00
line-height: 1.5;
width: 100%;
height: 100%;
overflow: hidden;
}
2020-09-18 13:17:43 +02:00
#desktop {
2018-02-23 00:41:46 +01:00
/*width:100%;
min-height:100%;
overflow:hidden;
margin:0 auto;
display: flex;
flex-direction: row-reverse;
color: #414339;*/
}
2020-09-18 13:17:43 +02:00
#top {
2018-02-23 00:41:46 +01:00
background-color: #2c2c2c;
color: white;
font-weight: bold;
display: block;
text-align: center;
height: 50px;
}
2020-09-18 13:17:43 +02:00
#top ul {
padding: 0;
2018-02-23 00:41:46 +01:00
margin: 0;
padding-top: 16px;
list-style: none;
}
2020-09-18 13:17:43 +02:00
#top ul li {
2018-02-23 00:41:46 +01:00
float: left;
2020-09-18 13:17:43 +02:00
padding-left: 10px;
2018-02-23 00:41:46 +01:00
padding-right: 10px;
}
2020-09-18 13:17:43 +02:00
#top ul li i {
2018-02-23 00:41:46 +01:00
margin-right: 3px;
}
2020-09-18 13:17:43 +02:00
#top ul li a {
2018-02-23 00:41:46 +01:00
text-decoration: none;
color: white;
}
2020-09-18 13:17:43 +02:00
#top ul li a:hover {
2018-02-23 00:41:46 +01:00
border-bottom: 1px dashed white;
}
2020-09-18 13:17:43 +02:00
#bottom {
2018-02-23 00:41:46 +01:00
position: fixed;
bottom: 0;
height: 20px;
text-align: center;
2020-09-18 13:17:43 +02:00
color: #878887;
2018-02-23 00:41:46 +01:00
background-color: white;
2020-06-26 16:51:07 +02:00
font-size: 13px;
2018-02-23 00:41:46 +01:00
width: 100%;
2020-09-18 13:17:43 +02:00
padding: 5px;
2018-02-23 00:41:46 +01:00
border-top: 1px solid #878887;
}
2020-09-18 13:17:43 +02:00
#desktop {
2018-02-23 00:41:46 +01:00
height: calc(100% - 80px);
overflow-y: auto;
2018-02-25 13:54:37 +01:00
padding-left: 15px;
padding-right: 15px;
2018-02-23 00:41:46 +01:00
}
2020-09-18 13:17:43 +02:00
#navbar {
margin: 0 auto;
2018-02-23 00:41:46 +01:00
max-width: 960px;
display: flex;
2020-09-18 13:17:43 +02:00
justify-content: flex-end;
2018-02-23 00:41:46 +01:00
flex-direction: row;
}
2020-09-18 13:17:43 +02:00
#navbar.navmobile {
margin: 0 auto;
2018-02-25 13:54:37 +01:00
max-width: 960px;
display: flex;
2020-09-18 13:17:43 +02:00
justify-content: flex-start;
2018-02-25 13:54:37 +01:00
flex-direction: row;
font-size: 14px;
}
2020-09-18 13:17:43 +02:00
#container {
margin: 0 auto;
2018-02-23 00:41:46 +01:00
max-width: 960px;
text-align: justify;
}
2020-09-18 13:17:43 +02:00
textarea {
2018-02-23 00:41:46 +01:00
margin-left: 10px;
margin-right: 10px;
border: 0;
font-family: "Ubuntu";
font-size: 14px;
padding: 3px;
outline: none;
}
input {
outline: none;
border: 0;
padding: 0;
height: 17px;
}
2020-09-18 13:17:43 +02:00
div.label {
2018-02-23 00:41:46 +01:00
color: #899aae;
}
2020-09-18 13:17:43 +02:00
button {
2018-02-23 00:41:46 +01:00
outline: none;
background-color: #5fa6cf;
font-weight: bold;
color: white;
border: 0;
border-radius: 5px;
2020-09-18 13:17:43 +02:00
padding: 5px;
2018-02-23 00:41:46 +01:00
margin-right: 10px;
2020-09-18 13:17:43 +02:00
box-shadow: 1px 1px 1px #9f9f9f;
2018-02-23 00:41:46 +01:00
}
2020-09-18 13:17:43 +02:00
#container .card {
2018-02-23 00:41:46 +01:00
display: flex;
flex-direction: row;
}
2018-02-25 13:54:37 +01:00
#container .mobile {
display: flex;
flex-direction: column;
}
2020-09-18 13:17:43 +02:00
#container .card .side {
padding-top: 28px;
2018-02-23 00:41:46 +01:00
padding-bottom: 0;
margin: 0;
2018-02-23 19:52:10 +01:00
display: block;
margin-right: 10px;
width: 120px;
flex: 1 0 auto;
2020-09-18 13:17:43 +02:00
color: #3170b2;
2018-02-23 19:52:10 +01:00
text-align: right;
2018-02-23 00:41:46 +01:00
}
2020-09-18 13:17:43 +02:00
#container .card .side .fb-like {
2018-02-25 16:11:37 +01:00
border-right: 1px solid #cccccc;
display: block;
padding: 5px;
padding-bottom: 0;
}
2020-09-18 13:17:43 +02:00
#container .card .side .twitter-share-button {
2018-02-25 16:11:37 +01:00
display: inline;
2020-09-18 13:17:43 +02:00
padding: 5px;
2018-02-25 16:11:37 +01:00
padding-bottom: 0;
border-right: 1px solid #cccccc;
}
2020-09-18 13:17:43 +02:00
#container .mobile .side {
2018-02-25 13:54:37 +01:00
width: 100%;
text-align: left;
}
2020-09-18 13:17:43 +02:00
#container .mobile .side .fb-like,
#container .mobile .side .twitter-share-button {
border: 0;
2018-02-25 16:11:37 +01:00
}
2020-09-18 13:17:43 +02:00
#container .card .side .date {
2018-02-23 19:52:10 +01:00
display: inline-block;
color: #662702;
padding-right: 5px;
padding-bottom: 7px;
border-right: 1px solid #cccccc;
2018-02-23 00:41:46 +01:00
}
2020-09-18 13:17:43 +02:00
#container .mobile .side .date {
2018-02-25 13:54:37 +01:00
border: 0;
}
2020-09-18 13:17:43 +02:00
#container .card .side .tags {
2018-02-23 00:41:46 +01:00
display: block;
2018-02-23 19:52:10 +01:00
padding-right: 5px;
line-height: 1.1;
font-size: 13px;
2020-09-18 13:17:43 +02:00
color: #878887;
2018-02-23 19:52:10 +01:00
border-right: 1px solid #cccccc;
}
2020-09-18 13:17:43 +02:00
#container .mobile .side .tags {
2018-02-25 13:54:37 +01:00
border: 0;
}
2020-09-18 13:17:43 +02:00
#container .card .side .tags a {
color: #878887;
2018-02-23 19:52:10 +01:00
text-decoration: none;
2018-02-23 00:41:46 +01:00
}
2020-09-18 13:17:43 +02:00
#container .card .side .tags a:hover {
2018-02-23 19:52:10 +01:00
text-decoration: underline;
text-decoration-color: #cccccc;
}
/*
#container .card .side .tags a:before{
font-family: "FontAwesome";
content: "\f02b";
padding-right: 3px;
color: #cccccc;
}*/
2020-09-18 13:17:43 +02:00
#container .blogentry {
padding-top: 20px;
2018-02-23 00:41:46 +01:00
/*border-bottom: 1px solid #cccccc;
padding-bottom: 20px;*/
}
2018-02-23 19:52:10 +01:00
#container .blogentry p {
margin: 0;
margin-bottom: 20px;
}
2020-09-18 13:17:43 +02:00
#container .blogentry img {
2018-02-23 19:52:10 +01:00
margin-bottom: 20px;
display: block;
margin-left: auto;
margin-right: auto;
}
2018-02-25 13:54:37 +01:00
#container .blogentry pre {
2020-09-18 13:17:43 +02:00
white-space: pre-wrap; /* Since CSS 2.1 */
white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
white-space: -pre-wrap; /* Opera 4-6 */
white-space: -o-pre-wrap; /* Opera 7 */
word-wrap: break-word; /* Internet Explorer 5.5+ */
2018-02-25 13:54:37 +01:00
}
2020-09-18 13:17:43 +02:00
#container .blogentry a {
2018-02-23 19:52:10 +01:00
text-decoration: none;
2020-09-18 13:17:43 +02:00
color: #3170b2;
2018-02-23 19:52:10 +01:00
}
2020-09-18 13:17:43 +02:00
#container .blogentry hr {
2018-02-23 19:52:10 +01:00
display: block;
height: 1px;
border: 0;
border-top: 1px solid #878887;
2020-09-18 13:17:43 +02:00
padding: 0;
2018-02-23 19:52:10 +01:00
}
2020-09-18 13:17:43 +02:00
#container .blogentry table {
2018-02-23 19:52:10 +01:00
margin-bottom: 20px;
margin-left: auto;
margin-right: auto;
text-align: center;
border-collapse: collapse;
}
2020-09-18 13:17:43 +02:00
#container .blogentry table th,
#container .blogentry table td {
2018-02-23 19:52:10 +01:00
border: 1px solid #878787;
2020-09-18 13:17:43 +02:00
padding: 3px;
2018-02-23 19:52:10 +01:00
padding-left: 10px;
padding-right: 10px;
}
#container .blogentry pre table {
margin: 0;
text-align: left;
}
2020-09-18 13:17:43 +02:00
#container .blogentry pre table td,
#container .blogentry pre table td {
border: 0;
padding: 0;
2018-02-23 19:52:10 +01:00
}
/*
#
#container .blogentry table th, #container .blogentry table tr, #container .blogentry table td{
border: 1px solid #878787;
margin:0;
}
#container .blogentry table th{
background-color: #878787;
padding:3px;
}*/
2020-09-18 13:17:43 +02:00
#container .blogentry h1 {
2018-02-23 00:41:46 +01:00
font-size: 20px;
2020-09-18 13:17:43 +02:00
padding: 0;
2018-02-23 00:41:46 +01:00
margin: 0;
padding-bottom: 5px;
2018-02-25 14:06:30 +01:00
text-align: left;
2018-02-23 00:41:46 +01:00
}
2018-02-25 15:19:31 +01:00
#container .blogentry .title_link {
2020-09-18 13:17:43 +02:00
color: #2c2c2c;
2018-02-25 15:19:31 +01:00
}
2020-09-18 13:17:43 +02:00
#container .blogentry h2 {
2018-02-23 23:55:37 +01:00
font-size: 18px;
2018-02-25 14:06:30 +01:00
text-align: left;
2018-02-23 23:55:37 +01:00
}
2020-09-18 13:17:43 +02:00
#container .blogentry h3 {
2018-02-23 23:55:37 +01:00
font-size: 16px;
2018-02-25 14:06:30 +01:00
text-align: left;
2018-02-23 23:55:37 +01:00
}
2020-09-18 13:17:43 +02:00
#container .blogentry h4 {
2018-02-23 23:55:37 +01:00
font-size: 15px;
2018-02-25 14:06:30 +01:00
text-align: left;
2018-02-23 23:55:37 +01:00
}
2020-09-18 13:17:43 +02:00
#container .blogentry .embeded-video {
2018-03-05 14:57:34 +01:00
display: block;
margin: 0 auto;
}
2020-09-18 13:17:43 +02:00
input.search-box {
flex: 1;
padding: 0;
margin: 0;
padding-top: 13px;
2018-02-23 00:41:46 +01:00
height: 25px;
background-color: transparent;
border-bottom: 1px solid #878887;
font-size: 18px;
font-family: "Ubuntu";
line-height: 0.5;
color: #878887;
}
2020-09-18 13:17:43 +02:00
div.search-icon:before {
padding-top: 13px;
2018-02-23 00:41:46 +01:00
content: "\f002";
2020-09-18 13:17:43 +02:00
color: #878887;
2018-02-23 00:41:46 +01:00
display: block;
2020-09-18 13:17:43 +02:00
width: 20px;
2018-02-23 00:41:46 +01:00
height: 25px;
font-family: "FontAwesome";
font-size: 18px;
border-bottom: 1px solid #878887;
}
2020-09-18 13:17:43 +02:00
div.logo {
2018-02-23 00:41:46 +01:00
display: block;
2018-02-23 19:52:10 +01:00
width: 122px;
2020-09-18 13:17:43 +02:00
height: 50px;
2018-02-23 19:52:10 +01:00
background-image: url(mrsang.min.png);
background-repeat: no-repeat;
2020-09-18 13:17:43 +02:00
background-position: right;
2018-02-23 19:52:10 +01:00
background-size: 34% 85%;
}
2018-02-25 13:54:37 +01:00
#navbar.navmobile div.logo {
display: block;
width: 50px;
2020-09-18 13:17:43 +02:00
height: 50px;
2018-02-25 13:54:37 +01:00
background-image: url(mrsang.min.png);
background-repeat: no-repeat;
2020-09-18 13:17:43 +02:00
background-position: right;
2018-02-25 13:54:37 +01:00
background-size: 85% 85%;
}
2020-09-18 13:17:43 +02:00
div.logo a {
2018-02-23 19:52:10 +01:00
display: block;
text-decoration: none;
width: 100%;
height: 100%;
2018-02-23 00:41:46 +01:00
}
div.detail {
display: flex;
flex-direction: row;
2020-09-18 13:17:43 +02:00
margin-top: 20px;
2018-02-23 00:41:46 +01:00
}
2020-09-18 13:17:43 +02:00
div.detail span {
2018-02-23 00:41:46 +01:00
display: block;
height: 16px;
border-bottom: 1px solid #cccccc;
2020-09-18 13:17:43 +02:00
flex: 1;
2018-02-23 00:41:46 +01:00
}
2020-09-18 13:17:43 +02:00
div.detail a {
2018-02-23 00:41:46 +01:00
width: 32px;
display: block;
2020-09-18 13:17:43 +02:00
2018-02-23 00:41:46 +01:00
height: 32px;
2018-02-23 19:52:10 +01:00
border: 1px solid #878887;
2018-02-23 00:41:46 +01:00
text-decoration: none;
border-radius: 16px;
margin-left: 10px;
margin-right: 10px;
}
2020-09-18 13:17:43 +02:00
div.detail a:before {
font-size: 16px;
content: "\f039";
2018-02-23 00:41:46 +01:00
font-family: "FontAwesome";
2020-09-18 13:17:43 +02:00
line-height: 2;
padding-left: 8px;
2018-02-23 19:52:10 +01:00
color: #878887;
}
div.notfound {
max-width: 400px;
margin: 0 auto;
}
2020-09-18 13:17:43 +02:00
div.notfound p {
2018-02-23 19:52:10 +01:00
margin: 0;
2020-09-18 13:17:43 +02:00
margin-top: 20px;
2018-02-23 19:52:10 +01:00
color: #662702;
font-weight: bold;
2020-09-18 13:17:43 +02:00
padding: 0;
2018-02-23 19:52:10 +01:00
border-radius: 10px;
}
2020-09-18 13:17:43 +02:00
div.notfound p:before {
font-size: 16px;
content: "\f06a";
2018-02-23 19:52:10 +01:00
font-family: "FontAwesome";
2020-09-18 13:17:43 +02:00
line-height: 2;
padding-right: 8px;
2018-02-23 19:52:10 +01:00
}
2020-09-18 13:17:43 +02:00
div.notfound blockquote {
2018-02-23 19:52:10 +01:00
margin: 0;
}
2020-09-18 13:17:43 +02:00
div.notfound blockquote span {
2018-02-23 19:52:10 +01:00
display: block;
text-align: right;
font-style: italic;
}
td.hljs-ln-numbers {
2020-09-18 13:17:43 +02:00
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
2018-02-23 19:52:10 +01:00
2020-09-18 13:17:43 +02:00
text-align: center;
color: #ccc;
vertical-align: top;
2018-02-23 19:52:10 +01:00
font-size: 14;
2020-09-18 13:17:43 +02:00
/* your custom style here */
2018-02-23 19:52:10 +01:00
}
/* for block of code */
#container .blogentry .hljs-ln td.hljs-ln-code {
2020-09-18 13:17:43 +02:00
padding-left: 10px;
2018-02-23 19:52:10 +01:00
}
2020-09-18 13:17:43 +02:00
div.commentform .inputbox {
display: flex;
2018-02-23 19:52:10 +01:00
flex-direction: row;
border-bottom: 1px solid #ccc;
}
2020-09-18 13:17:43 +02:00
div.commentform .inputbox input {
margin-top: 3px;
flex: 1;
2018-02-23 19:52:10 +01:00
}
2020-09-18 13:17:43 +02:00
div.commentform .inputbox .label {
2018-02-23 19:52:10 +01:00
padding-right: 5px;
}
2020-09-18 13:17:43 +02:00
div.commentform .inputboxbt {
2018-02-23 19:52:10 +01:00
display: flex;
flex-direction: row-reverse;
}
2020-09-18 13:17:43 +02:00
div.commentform textarea {
2018-02-23 19:52:10 +01:00
min-height: 120px;
2020-09-18 13:17:43 +02:00
flex: 1;
margin: 0;
margin-top: 7px;
width: calc(100% - 20px);
2018-02-23 19:52:10 +01:00
}
div.commentform {
margin: 0 auto;
border: 1px solid #ccc;
padding: 10px;
/*border-radius: 5px;*/
margin-bottom: 20px;
}
2020-09-18 13:17:43 +02:00
#container h1.commentsec {
2018-02-23 19:52:10 +01:00
text-align: center;
2020-09-18 13:17:43 +02:00
border-top: 1px dashed #3170b2;
color: #3170b2;
2018-02-23 19:52:10 +01:00
padding-top: 10px;
padding-bottom: 10px;
2018-03-07 14:18:25 +01:00
}
2020-09-18 13:17:43 +02:00
div.time-travel {
2018-03-07 14:18:25 +01:00
margin-top: 10px;
display: flex;
flex-direction: row;
text-align: center;
margin-bottom: 10px;
}
2020-09-18 13:17:43 +02:00
div.time-travel a {
2018-03-07 14:18:25 +01:00
font-weight: bold;
font-size: 16px;
text-decoration: none;
2020-09-18 13:17:43 +02:00
flex: 1;
color: #3170b2;
2018-03-15 22:36:05 +01:00
}
2020-09-18 13:17:43 +02:00
div[data-id="status"] {
padding-left: 10px;
padding-top: 5px;
color: #724841;
2018-03-15 22:36:05 +01:00
}
2020-09-18 13:17:43 +02:00
img {
max-width: 100%;
2018-03-15 22:36:05 +01:00
}
2020-09-18 13:17:43 +02:00
afx-hbox.inputbox {
2018-03-15 22:36:05 +01:00
border-bottom: 1px solid #e5e5e5;
2018-06-05 16:28:53 +02:00
}