View file sitetop/libs/style.css

File size: 4.32Kb
/*
primary color: #8e24aa;
*/

@import url('https://fonts.googleapis.com/css?family=Roboto');

* {
	-webkit-box-sizing: border-box; 
	box-sizing: border-box;
	text-decoration: none;
	margin: 0;
	padding: 0;
}
html {
	line-height: 1.4;
}
html, body {
	font-family: Roboto, sans-serif;
	font-size: 16px;
	margin: 0 auto;
	max-width: 560px;
	background: #f2f2f2;
}
ul, li {
	list-style: none;
}

.head {
	height: 56px;
	line-height: 56px;
	color: #fff;
	background: #8e24aa;
	box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 4px 0px;
	width: 100%;
	max-width: 560px;
	position: fixed;
	top: 0;
	z-index: 999;
}
.head .l_bar {
	float: left;
	color: #fff;
	width: 56px;
	height: 56px;
	line-height: 56px;
	text-align: center;
	cursor: pointer;
	background: transparent;
	transition: all 0.2s ease-in;
}
.head .l_bar i {
	line-height: inherit !important;
}
.head .r_bar {
	float: right;
	color: #fff;
	width: 56px;
	height: 56px;
	line-height: 56px;
	text-align: center;
	cursor: pointer;
	background: transparent;
	transition: all 0.2s ease-in;
}
.head .r_bar a {
	color: #fff;
}
.head .r_bar i {
	line-height: inherit !important;
}
.c_bar {
	float: left;
	margin-left: 14px;
	font-size: 20px;
	font-weight: 400;
}

main {
	display: block;
	flex-direction: row;
	margin: 0 auto;
	background: #fff;
}

section {
	margin-top: 56px !important;
	padding-bottom: 16px;
	background: #fff;
	display: flex;
	flex-direction: column;
	flex-basis: 66%;
}

.tab-nav {
	background: #8e24aa;
	font-size: 0;
	position: relative;
	padding: 0;
	width: 100%;
	margin: 0;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	overflow-x: auto;
	overflow-y: hidden;
	white-space: nowrap;
}
.tab {
	display: inline-block;
	width: 50%;
	height: 48px;
	font-size: 14px;
	text-align: center;
	line-height: 48px;
	color: #FFF;
	padding: 0 16px;
	text-transform: uppercase;
	position: relative;
	cursor: default;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.tab.active {
	border-bottom: 2px solid #F5F5F5;
}

.post {
	color: #666;
	font-size: 15px;
	line-height: 1.5;
	padding: 16px;
	display: block;
}
.post-top {
	height: 40px;
	margin-bottom: 8px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.post_content, .number {
	line-height: 40px;
	text-align: center;
	font-size: 22px;
	width: 40px;
	height: 40px;
	border-radius: 48px;
	background: #E0E0E0;
}
.post_content, .site {
	position: relative;
	top: -34px;
	left: 52px;
	font-size: 18px !important;
	letter-spacing: normal;
	font-weight: 600;
	color: #303030;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}
.favicon {
	position: relative;
	top: 2.4px;
}
.post_link {
	color: #212121;
	font-size: 18px;
	font-weight: 400;
}
.post_text {
	display: block;
	margin: 0 0 16px;
}
.list-midl {
	padding-left: 0;
	list-style: none;
	margin-top: 0;
	font-size: 12px !important;
}
.list-midl > li {
	display: inline-block;
	padding-right: 5px;
}
.list-midl > li > i {
	margin-right: 10px;
	font-size: 17px !important;
	vertical-align: text-bottom;
	position: relative;
	top: 1px;
}
.left-12 {
	margin-left: 12px !important;
}
li.more {
	float: right!important;
	color: #303F9F;
	border-radius: 4px;
	background: rgba(51, 51, 51, 0.05);
	padding: 3px 6px;
	margin-top: -2px;
}
li.more i {
	margin-right: 10px;
	font-size: 17px !important;
	vertical-align: text-bottom;
	position: relative;
	top: 1px;
}
a.more {
	float: right!important;
	color: #1976D2;
}

.pagination {
	list-style: none;
	padding: 8px;
	text-align: center;
}
.pagination a, .pagination li {
	border-radius: 50%;
	color: #212121;
	display: inline-block;
	margin: 0;
	transition: .15s ease-in;
	cursor: pointer;
	text-decoration: none;
}
.pagination a:hover {
	background: rgba(63, 81, 181, 0.12);
}
.pagination .pagination-number,
.pagination .pagination-arrow i {
	vertical-align: middle;
}
.pagination .pagination-number {
	font-family: sans-serif;
	font-size: 14px;
	text-align: center;
	line-height: 24px;
	width: 32px;
	padding: 4px 0;
}
.pagination .pagination-number.current-number {
	background: #8e24aa;
	color: #fff;
}
.pagination .pagination-arrow i {
	font-size: 24px;
	padding: 4px;
}

footer {
	background: #263238;
	color: rgba(255, 255, 255, .9);
	padding: 32px 16px;
	font-size: 14px;
}
footer .copyr {
	padding-bottom: 16px;
}
footer .links {
	display: flex;
}
footer .link {
	padding-right: 16px;
}
footer a {
	color: #9e9e9e;
}