ezhil/static/css/main.css

412 lines
5.4 KiB
CSS
Raw Normal View History

2019-04-09 20:59:17 +00:00
body {
font-family: "ubuntu", sans-serif;
2019-10-22 10:24:46 +00:00
font-weight: 400;
2019-10-12 19:22:27 +00:00
color: #333;
line-height: 1.6;
font-size: 16px;
2019-04-09 20:59:17 +00:00
}
a, a:hover {
color: #a00;
text-decoration: none;
2019-10-12 19:22:27 +00:00
word-break: break-word;
2019-04-09 20:59:17 +00:00
}
html,button,input,select,textarea {
2019-10-12 17:04:38 +00:00
color: #333;
2019-04-09 20:59:17 +00:00
}
::-moz-selection {
background: #b3d4fc;
2019-10-12 17:04:38 +00:00
text-shadow: none;
2019-04-09 20:59:17 +00:00
}
::selection {
background: #b3d4fc;
2019-10-12 17:04:38 +00:00
text-shadow: none;
2019-04-09 20:59:17 +00:00
}
hr {
display: block;
height: 1px;
border: 0;
border-top: 1px solid #ccc;
margin: 1rem 0;
2019-10-12 17:04:38 +00:00
padding: 0;
2019-04-09 20:59:17 +00:00
}
img {
2019-10-12 19:22:27 +00:00
margin: 10px auto 10px auto;
max-width: 100%;
display: block;
}
a img {
2019-10-12 19:22:27 +00:00
border:none;
}
figure {
2019-10-12 19:22:27 +00:00
margin: 0;
text-align: center;
2019-04-09 20:59:17 +00:00
}
fieldset {
border: 0;
margin: 0;
2019-10-12 17:04:38 +00:00
padding: 0;
2019-04-09 20:59:17 +00:00
}
textarea {
2019-10-12 17:04:38 +00:00
resize: vertical;
2019-04-09 20:59:17 +00:00
}
blockquote {
margin-left: 1rem;
font-style: italic;
font-size: 1.4rem;
font-family: Georgia,bitstream charter,serif;
border-left: 3px solid;
border-color: #a00;
2019-10-12 17:04:38 +00:00
padding-left: 20px;
2019-04-09 20:59:17 +00:00
}
blockquote cite {
font-size: 70%;
2019-10-12 17:04:38 +00:00
opacity: .8;
2019-04-09 20:59:17 +00:00
}
blockquote em {
font-weight: 600;
}
2019-04-09 20:59:17 +00:00
a,a:hover {
color: #a00;
text-decoration: none
}
a:hover {
text-decoration: underline
}
h1,h2,h3,h4,h5,h6 {
font-family: raleway,sans-serif;
line-height: 1.2;
color: #333;
2019-10-12 13:52:18 +00:00
font-weight: 200;
2019-04-09 20:59:17 +00:00
}
h1 {
2019-10-12 17:04:38 +00:00
font-size: 2.75rem;
2019-04-09 20:59:17 +00:00
}
h2 {
2019-10-12 17:04:38 +00:00
font-size: 2rem;
2019-04-09 20:59:17 +00:00
}
h3 {
2019-10-12 17:04:38 +00:00
font-size: 1.6rem;
2019-04-09 20:59:17 +00:00
}
h4 {
2019-10-12 17:04:38 +00:00
font-size: 1.2rem;
2019-04-09 20:59:17 +00:00
}
h5 {
2019-10-12 17:04:38 +00:00
font-size: 1rem;
2019-04-09 20:59:17 +00:00
}
h6 {
2019-10-12 17:04:38 +00:00
font-size: .9rem;
2019-04-09 20:59:17 +00:00
}
.align-center {
2019-10-12 19:22:27 +00:00
text-align: center;
}
.align-left {
2019-10-12 19:22:27 +00:00
text-align: left;
}
.align-right {
2019-10-12 19:22:27 +00:00
text-align: right;
}
2019-04-09 20:59:17 +00:00
.container {
2019-10-12 17:04:38 +00:00
max-width: 800px;
2019-04-09 20:59:17 +00:00
}
ul {
2019-10-12 19:22:27 +00:00
padding-left: 15px;
2019-04-09 20:59:17 +00:00
}
ul.flat {
2019-10-12 19:22:27 +00:00
margin: 0;
padding: 0;
2019-04-09 20:59:17 +00:00
}
ul.flat li {
display: inline-block;
list-style: none;
2019-10-12 19:22:27 +00:00
margin-left: 0;
2019-04-09 20:59:17 +00:00
}
.prevent-collapse {
min-height: .1rem
}
.page-title {
2019-10-12 17:04:38 +00:00
margin: 0;
2019-04-09 20:59:17 +00:00
}
.smaller {
2019-10-12 17:04:38 +00:00
font-size: 70%;
2019-04-09 20:59:17 +00:00
}
ul {
2019-10-12 17:04:38 +00:00
list-style: disc inside;
2019-04-09 20:59:17 +00:00
}
2019-10-22 10:24:46 +00:00
.site-title a {
color: #333;
text-decoration: none !important;
}
.post ul li {
2019-10-12 19:22:27 +00:00
margin-bottom: 10px;
}
2019-05-08 19:37:21 +00:00
.post ul li p {
display: inline;
}
.highlight pre {
2019-04-09 20:59:17 +00:00
margin-bottom: 0;
2019-10-12 19:22:27 +00:00
margin-top: 0;
padding: 20px;
background-color: transparent !important;
2019-04-09 20:59:17 +00:00
}
.highlight {
2019-10-12 19:22:27 +00:00
background: 0 0;
background-color: #FAFAFA;
2019-04-09 20:59:17 +00:00
}
.wrapper {
2019-10-12 19:22:27 +00:00
max-width: 760px;
margin: 0 auto;
2019-04-09 20:59:17 +00:00
}
.container {
2019-10-12 19:22:27 +00:00
margin-top: 50px;
2019-04-09 20:59:17 +00:00
}
.header {
2019-10-12 19:22:27 +00:00
margin-bottom: 20px;
padding-bottom: 20px;
2019-04-09 20:59:17 +00:00
}
.header h1,
.header h2 {
margin: 0;
padding: 0;
font-size: 2rem;
line-height: 1.3em;
}
.header h2 {
font-size: 1.125rem;
}
.header nav {
2019-10-12 19:22:27 +00:00
margin-top: 20px;
border-top: 1px solid #f4f4f4;
2019-04-09 20:59:17 +00:00
}
.header nav ul,
.header nav li {
2019-10-12 19:22:27 +00:00
margin: 0;
2019-04-09 20:59:17 +00:00
}
.header nav ul.flat {
2019-10-12 19:22:27 +00:00
padding: 0;
2019-04-09 20:59:17 +00:00
}
.header nav ul.flat li {
display: inline-block;
list-style: none;
margin-left: 0;
margin-right: 10px;
margin-top: 10px;
text-transform: capitalize;
}
.header .site-description {
2019-10-12 19:22:27 +00:00
display: flex;
justify-content: space-between;
}
.header .site-description nav {
2019-10-12 19:22:27 +00:00
margin: 0;
padding: 0;
border: none;
min-width: 50px;
margin-left: 15px;
}
.header .site-description nav ul svg {
2019-10-12 19:22:27 +00:00
max-height: 15px;
}
2019-04-09 20:59:17 +00:00
.section .section-header {
2019-10-12 19:22:27 +00:00
font-size: 0.75rem;
font-weight: 600;
text-transform: uppercase;
color: #999;
margin-bottom: 20px;
letter-spacing: 1px;
2019-04-09 20:59:17 +00:00
}
.recent-posts .posts .post {
2019-10-12 19:22:27 +00:00
margin-bottom: 30px;
2019-04-09 20:59:17 +00:00
}
.recent-posts .posts .post .meta,
.post .post-header .meta,
.list .posts .post .meta {
2019-10-12 19:22:27 +00:00
font-size: 0.725rem;
color: #999;
margin-bottom: 4px;
2019-04-09 20:59:17 +00:00
}
.post .post-header {
2019-10-12 19:22:27 +00:00
margin-bottom: 30px;
2019-04-09 20:59:17 +00:00
}
.post .post-header .title {
2019-10-12 19:22:27 +00:00
margin: 0;
2019-04-09 20:59:17 +00:00
}
2019-10-12 15:39:40 +00:00
.post-tags a {
2019-10-12 07:27:08 +00:00
margin-right: 5px;
}
2019-04-09 20:59:17 +00:00
.post .post-header .meta {
2019-10-12 19:22:27 +00:00
padding-left: 5px;
margin-top: 10px;
2019-04-09 20:59:17 +00:00
}
2019-10-11 19:25:17 +00:00
.post .draft-label {
2019-10-12 19:22:27 +00:00
color: #a00;
text-decoration: none;
padding: 2px 4px;
border-radius: 4px;
margin-left: 6px;
background-color: #f9f2f4;
2019-04-09 20:59:17 +00:00
}
2019-10-17 19:57:21 +00:00
.post-tags .tags li {
margin-bottom: 0;
margin-top: 20px;
}
.post-tags .tags a {
display: inline-block;
border: 1px solid #a00;
border-radius: 4px;
padding: 0px 6px;
color: #a00;
line-height: 20px;
font-size: 12px;
text-decoration: none;
margin: 0 1px;
}
2019-04-09 20:59:17 +00:00
.list .posts .post .meta {
2019-10-12 19:22:27 +00:00
margin-bottom: 0;
margin-left: 5px;
2019-04-09 20:59:17 +00:00
}
.footer {
2019-10-12 19:22:27 +00:00
text-align: right;
font-size: 0.75em;
color: #999;
border-top: 1px solid #f4f4f4;
2019-04-09 20:59:17 +00:00
padding: 20px 0;
margin-top: 40px;
}
.page-title {
margin-bottom: 0;
}
.tag-cloud {
margin-top: 20px;
}
.tag-cloud a {
margin-right: 15px;
}
.pagination {
2019-10-12 19:22:27 +00:00
margin: 0;
padding: 0;
text-align: left;
display: flex;
justify-content: space-between;
}
.pagination li {
2019-10-12 19:22:27 +00:00
list-style: none;
display: inline-block;
margin: 0;
padding: 0;
}
.pagination .page-prev {
2019-10-12 19:22:27 +00:00
margin-right: 20px;
padding-right: 20px;
}
.pagination .page-item.page-prev {
2019-10-12 19:22:27 +00:00
text-align: left;
}
.pagination .page-item.page-next {
2019-10-12 19:22:27 +00:00
text-align: right;
}
2020-01-05 06:25:42 +00:00
table th {
background-color: #f4f4f4;
}
table th, table td {
padding: 10px 20px;
border: 1px solid #dddddd;
}
@media (max-width: 767px) {
2019-10-12 19:22:27 +00:00
body {
padding: 20px;
}
2019-10-12 19:22:27 +00:00
h1 {
font-size: 1.8rem;
2019-10-12 19:22:27 +00:00
}
2019-10-12 19:22:27 +00:00
h2 {
font-size: 1.6rem;
}
2019-10-12 19:22:27 +00:00
h3 {
font-size: 1.2rem;
}
2019-10-12 19:22:27 +00:00
h4 {
font-size: 1rem;
}
2019-10-12 19:22:27 +00:00
.container {
margin-top: 10px;
}
}