/*宽屏样式*/
*{
	margin: 0;
	padding: 0;
	overflow: visible;
	scrollbar-color: rgba(255, 255, 255,0.5) inherit;
}
body{
	display: flex;
	justify-content: center;
	align-items: center;
	/* background */
	background-size: cover;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-position: center;
	background-image: url("https://static0.xesimg.com/programme/python_assets/47ac2f18e4252cbe2b227c1765b879d4.png");
	/* No Selected */
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}
/* scroll bar */
::-webkit-scrollbar
{
	border: none;
	width: 10px;
	background-color: rgba(0, 0, 0, 0.5);
	border-radius: 10px;
}

::-webkit-scrollbar-thumb
{
	border: none;
	background-color: rgba(255, 255, 255, 0.5);
	border-radius: 10px;
}
/* font icon
没想到有一天如此大规模地用!important
不是因为自己的奇葩样式
而是对原CSS库的无可奈何...
*/
i.fa{
	display:inline;
	margin: 5px;
	padding: 0;
}
.fa-th{
    display:block !important;
    font-size: larger !important;
	margin: 8px;
}
.ficon-info{
    display: inline-block !important;
    font-size: x-small !important;
	margin-left: 10px;
	width: auto;
}
/* login */
.login-card{
	margin: 1vw;
	padding: 0.8vw;
	width: 40vw;
	text-align: center;
	background-color: rgba(0,0,0,0.5);
	color: white;
}
.login-card *{
	font-size: larger;
}
.login-card form .clickable-title{
	display: inline-block;
	cursor: pointer;
    font-size: xx-large !important;
	text-align: center;
}
#chatinput{
	width: 80%;
}
.login-input , #chatinput{
	text-align: center;
	margin: 5px;
	padding: 5px;
	border: 0;
	background-color: white;
	color: black;
	list-style: none;
	outline: 0;
}
.login-input{
	width: 60%;
}
.login-input::placeholder{
	color: #aab2bd;
}
#submit{
	position: fixed;
	padding-top: 7.5px;
	padding-bottom: 10px;
	padding-left: 18px;
	padding-right: 18px;
	bottom: 10vh;
	left: 50%;
	background-color: rgba(0,0,0,0.5);
	color: white;
	border: none;
	box-shadow: none;
	transform: translateX(-50%);
	perspective: none;
	cursor: pointer;
}
#submit:hover{
	background-color: rgba(255,255,255,0.5);
	color: black;
}
/* editor */
#editor form{
	color: white;
}
#editor form *:not(.clickable-title,label,.submit-btn){
	color: black;
}
#editor form .clickable-title{
	font-size: xx-large;
}
#editor form textarea{
	text-align: start;
}
#editor form input::placeholder , #editor form textarea::placeholder{
	color: rgb(50, 50, 50);
}
/* Main */
main{
	display: table;
	position: absolute;
	margin: 0;
	padding: 3vw;
	height: 80vh;
	width: 85vw;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color: rgba(0,0,0,0.5);
	z-index: 1;
}
#username{
    font-size: larger !important;
}
.gotologin{
	text-decoration: underline;
}
.gotologin:hover{
	text-decoration: none;
}
label{
	color: white;
}
#fayan{
	display: block;
	width: calc(100% - 4px);
}
.submit-btn {
    background-color: rgba(0,0,0,0.5);
	color: white;
	border: none;
	padding: 10px 20px;
	cursor: pointer;
	font-size: larger;
}
.submit-btn:hover {
    background-color: rgba(255,255,255,0.5);
	color: black;
}
.ql-snow{
    background-color: rgba(255,255,255,0.5);
}
.ql-syntax{
    background-color: rgba(255,255,255,0.5) !important;
}
.ql-editor {
    font-size: 16px;
    line-height: 1.6;
    background-color: rgba(255,255,255,0.5);
	border: none;
}
blockquote{
	border-left: 4px solid grey !important;
	margin-bottom: 0px !important;
	margin-top: 0px !important;
	padding-left: 4px !important;
}
#editor-container,.presscard,#articleForm,#editor,main,body{
	overflow: visible !important;
}
.ql-snow .ql-tooltip[data-mode=link]::before{
	content: "URL:" !important;
}
.ql-snow .ql-tooltip.ql-editing a.ql-action::after{
	content: '保存' !important;
}
.ql-snow .ql-tooltip::before{
	content: "URL:" !important;
}
.ql-snow .ql-tooltip a.ql-action::after {
	content: "编辑" !important;
}
.ql-snow .ql-tooltip a.ql-remove::before {
	content: "移除" !important;
}
.ql-toolbar{
	width: 80%;
	margin-top: 5px;
}
.half-touming{
	background-color: rgba(255,255,255,0.75);
}