feat: initial development
This commit is contained in:
74
Blog.Server/Static/css/feed.css
Normal file
74
Blog.Server/Static/css/feed.css
Normal file
@@ -0,0 +1,74 @@
|
||||
.blog-title {
|
||||
font-family: 'Roboto', serif;
|
||||
font-style: normal;
|
||||
font-weight: 300;
|
||||
font-size: 32px;
|
||||
line-height: 40px;
|
||||
color: var(--bs-info);
|
||||
}
|
||||
|
||||
.blog-nav-list {
|
||||
font-weight: 400;
|
||||
font-size: 16px;
|
||||
line-height: 24px;
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.blog-nav-list > li {
|
||||
float: left;
|
||||
padding-right: 0.25rem;
|
||||
color: #D9D9D9;
|
||||
}
|
||||
|
||||
.active-nav-item {
|
||||
color: var(--bs-info) !important;
|
||||
}
|
||||
|
||||
.box {
|
||||
box-sizing: border-box;
|
||||
background-clip: padding-box;
|
||||
}
|
||||
|
||||
.blog-author-avatar {
|
||||
max-height: 32px;
|
||||
}
|
||||
|
||||
.blog-author {
|
||||
size: 14px;
|
||||
line-height: 32px;
|
||||
}
|
||||
|
||||
.post-link {
|
||||
color: #4f4f4f !important;
|
||||
}
|
||||
|
||||
.tag {
|
||||
border: 1px solid var(--bs-info);
|
||||
border-radius: 4px;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
padding: 2px 16px;
|
||||
}
|
||||
|
||||
.static-avatar {
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
margin: 0 0 0 -6px;
|
||||
width: 34px;
|
||||
height: 34px;
|
||||
border: 2px solid #fff;
|
||||
border-radius: 100%;
|
||||
}
|
||||
|
||||
.author-profile-image, .avatar-wrapper {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: #e3e9ed;
|
||||
border-radius: 100%;
|
||||
-o-object-fit: cover;
|
||||
object-fit: cover;
|
||||
}
|
||||
205
Blog.Server/Static/css/main.css
Normal file
205
Blog.Server/Static/css/main.css
Normal file
@@ -0,0 +1,205 @@
|
||||
.timeline-card {
|
||||
position: relative;
|
||||
margin-left: 16px;
|
||||
}
|
||||
|
||||
.timeline-card:before {
|
||||
content: '';
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
background-color: #fff;
|
||||
border-radius: 100%;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
top: 16px;
|
||||
left: -12px;
|
||||
border: 5px solid;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.timeline-body {
|
||||
border-left: 2px solid #E6E9ED;
|
||||
}
|
||||
|
||||
.timeline-card-primary:before {
|
||||
border-color: var(--bs-primary);
|
||||
}
|
||||
|
||||
.timeline-card-info:before {
|
||||
border-color: var(--bs-info);
|
||||
}
|
||||
|
||||
.timeline-card-secondary:before {
|
||||
border-color: var(--bs-secondary);
|
||||
}
|
||||
|
||||
.timeline-card-success:before {
|
||||
border-color: var(--bs-teal);
|
||||
}
|
||||
|
||||
html {
|
||||
scroll-behavior: smooth;
|
||||
}
|
||||
|
||||
html,
|
||||
body {
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
.container {
|
||||
max-width: 1140px;
|
||||
}
|
||||
|
||||
.site-title {
|
||||
font-size: 1.25rem;
|
||||
line-height: 2.5rem;
|
||||
}
|
||||
|
||||
.nav-link {
|
||||
padding: 0;
|
||||
font-size: 1rem;
|
||||
line-height: 2.5rem;
|
||||
color: inherit;
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
.header-social .nav-link {
|
||||
font-size: 1.25rem;
|
||||
}
|
||||
|
||||
.nav-link:hover,
|
||||
.nav-link:focus {
|
||||
color: inherit;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.nav-item+.nav-item {
|
||||
margin-left: 1rem;
|
||||
}
|
||||
|
||||
.cover {
|
||||
height: 500px;
|
||||
}
|
||||
|
||||
.cover>img {
|
||||
-o-object-fit: cover;
|
||||
object-fit: cover;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.progress-bar {
|
||||
text-transform: uppercase;
|
||||
font-size: 10px;
|
||||
letter-spacing: 1px;
|
||||
}
|
||||
|
||||
.text-small {
|
||||
font-size: 0.85rem;
|
||||
}
|
||||
|
||||
.text-teal {
|
||||
color: var(--bs-teal);
|
||||
}
|
||||
|
||||
footer a:not(.nav-link) {
|
||||
color: inherit;
|
||||
border-bottom: 1px dashed;
|
||||
text-decoration: none;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.rounded-block {
|
||||
border-radius: 0.5rem;
|
||||
border: 1px solid rgba(0,0,0,.25);
|
||||
}
|
||||
|
||||
@media (min-width: 48em) {
|
||||
.site-title {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.site-nav {
|
||||
float: right;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
|
||||
/* disable animations on mobile */
|
||||
[data-aos] {
|
||||
opacity: 1 !important;
|
||||
transform: translate(0) scale(1) !important;
|
||||
}
|
||||
|
||||
.p-5 {
|
||||
padding: 2.5rem 2rem !important;
|
||||
}
|
||||
|
||||
.portfolio-section .m-5 {
|
||||
margin: 2rem 0 1rem !important;
|
||||
}
|
||||
|
||||
.portfolio-reverse {
|
||||
flex-direction: column-reverse;
|
||||
}
|
||||
|
||||
.portfolio-reverse .text-end {
|
||||
text-align: start !important;
|
||||
}
|
||||
}
|
||||
|
||||
@media print {
|
||||
[data-aos] {
|
||||
opacity: 1 !important;
|
||||
transform: translate(0) scale(1) !important;
|
||||
}
|
||||
|
||||
body.bg-light {
|
||||
background-color: #fff !important;
|
||||
}
|
||||
|
||||
.container {
|
||||
width: auto;
|
||||
max-width: 100%;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.cover {
|
||||
height: 360px;
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
.cover>img {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.shadow-1-strong {
|
||||
box-shadow: none !important;
|
||||
}
|
||||
|
||||
.resume-container>.my-5 {
|
||||
margin: 0 !important;
|
||||
}
|
||||
|
||||
.my-5.p-5 {
|
||||
padding: 1.5rem 0 !important;
|
||||
}
|
||||
|
||||
.about-section {
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
.skills-section,
|
||||
.work-experience-section,
|
||||
.education-section,
|
||||
.portfolio-section,
|
||||
.reference-section,
|
||||
.contact-section {
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
.page-break {
|
||||
padding-top: 5rem;
|
||||
page-break-before: always;
|
||||
}
|
||||
}
|
||||
51
Blog.Server/Static/css/post.css
Normal file
51
Blog.Server/Static/css/post.css
Normal file
@@ -0,0 +1,51 @@
|
||||
.blog-title {
|
||||
font-family: 'Roboto', serif;
|
||||
font-style: normal;
|
||||
font-weight: 300;
|
||||
font-size: 32px;
|
||||
line-height: 40px;
|
||||
color: var(--bs-info);
|
||||
}
|
||||
|
||||
.static-avatar {
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
margin: 0 0 0 -6px;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border: 2px solid #fff;
|
||||
border-radius: 100%;
|
||||
}
|
||||
|
||||
.author-profile-image, .avatar-wrapper {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: #e3e9ed;
|
||||
border-radius: 100%;
|
||||
-o-object-fit: cover;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.post-author {
|
||||
color: #757575;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.wp-block-image > img {
|
||||
max-width: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
figcaption {
|
||||
color: #757575;
|
||||
font-size: 75%;
|
||||
line-height: 1.5em;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.post-content {
|
||||
padding: 0 170px 6vw;
|
||||
}
|
||||
}
|
||||
18
Blog.Server/Static/css/site.css
Normal file
18
Blog.Server/Static/css/site.css
Normal file
@@ -0,0 +1,18 @@
|
||||
html {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
html {
|
||||
font-size: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
html {
|
||||
position: relative;
|
||||
min-height: 100%;
|
||||
}
|
||||
|
||||
body {
|
||||
margin-bottom: 60px;
|
||||
}
|
||||
Reference in New Issue
Block a user