123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249 |
- <template>
- <div>
- <div class="main-content">
- <div class="container">
- <div class="columns is-mobile">
- <!-- posts -->
- <div class="column is-8">
- <!-- blog -->
- <div class="section">
- <div class="post">
- <div @click="() => {}" class="post-header clickable">
- <h4 class="title is-4">Some Blog Title</h4>
- <h5 class="subtitle is-5">Some Blog Subtitle</h5>
- </div>
- <div class="post-content">
- by Filip Jerga, Jul 1
- </div>
- </div>
- </div>
- <div class="section">
- <div class="post">
- <div @click="() => {}" class="post-header clickable">
- <h4 class="title is-4">Some Blog Title</h4>
- <h5 class="subtitle is-5">Some Blog Subtitle</h5>
- </div>
- <div class="post-content">
- by Filip Jerga, Jul 1
- </div>
- </div>
- </div>
- <!-- end of blog -->
- <!-- pagination -->
- <div class="section">
- </div>
- <!-- end of pagination -->
- </div>
- <!-- side bar -->
- <div class="column is-4 is-narrow">
- <!-- featured -->
- <div class="section">
- <div class="sidebar">
- <div class="sidebar-header">
- <h4 class="title is-4">Featured Posts</h4>
- </div>
- <div class="sidebar-list">
- <!-- Featured Blogs -->
- <p>
- <nuxt-link :to="``">Some favorite blog</nuxt-link>
- </p>
- <!-- Featured Blogs -->
- </div>
- </div>
- </div>
- </div>
- <!-- end of side bar -->
- </div>
- </div>
- </div>
- </div>
- </template>
- <script>
- export default {
- }
- </script>
- <style scoped>
- .post-content {
- font-style: italic;
- }
- .pagination-content {
- display: flex;
- justify-content: flex-end;
- }
- .clickable {
- cursor: pointer;
- }
- #root {
- flex: 1 0 auto;
- }
- *:focus {
- outline: none;
- }
- a {
- transition: all .35s;
- color: #000;
- }
- .button:focus {
- border-color: #d74436;
- box-shadow: 0 0 0 0;
- }
- .input, .textarea, .input[type] {
- font-size: 1.1rem;
- }
- .input:focus, .textarea:focus, .input[type]:focus {
- border: 2px solid #d74436;
- }
- /* this is used when inline-styled content
- overlaps text backgrounds in a really ugly way */
- .buffer {
- padding-bottom: 1.1rem;
- }
- /* navigation */
- .nav {
- background-color: #0d0c0d;
- }
- .nav-left {
- padding-left: 2rem;
- }
- .nav-right, .nav-center {
- padding-right: 2rem;
- }
- a.nav-item.is-tab {
- font-weight: 700;
- font-size: 13px;
- text-transform: uppercase;
- color: #fff;
- padding: 0.4rem;
- }
- a.nav-item:hover {
- color: #d74436;
- }
- a.nav-item.is-tab:hover {
- border-bottom: 4px solid #d74436;
- }
- /* main content */
- .main-content {
- padding: 4rem 0 2rem 0;
- min-height: 800px
- }
- .main-content .container {
- padding: 0 2rem 2rem 2rem;
- }
- /* section */
- .section {
- padding: 0 0 2rem 0;
- }
- .section-header {
- padding-bottom: 3rem;
- }
- .section-header .title {
- text-transform: uppercase;
- color: #4a4a4a;
- font-size: 1.3rem;
- }
- .section-header a {
- color: #d74436;
- font-weight: 700;
- }
- .section-header a:hover {
- color: #e50076;
- }
- /* sidebar */
- .sidebar-header {
- border-color: #d74436;
- padding-bottom: 1rem;
- border-bottom: 4px solid #d74436;
- }
- .sidebar-header .title, .sidebar-header-single .title {
- font-weight: 700;
- text-transform: uppercase;
- font-size: 1.3rem;
- }
- .sidebar-list p, .sidebar-list-single p {
- font-size: 1.1rem;
- font-weight: 300;
- padding-bottom: 0.8rem;
- }
- .sidebar-list a {
- color: #4a4a4a;
- }
- .sidebar-list, .post-content, .sidebar-list-single {
- padding-top: 1.4rem;
- }
- .sidebar-list-nav {
- padding-top: 1rem;
- }
- .sidebar-list-nav .is-tab {
- padding-right: 1rem;
- }
- .sidebar-footer-single {
- padding-top: 2rem;
- }
- .sidebar-footer-single a {
- color: #000;
- font-weight: 700;
- text-transform: uppercase;
- font-size: 1.1rem;
- border-right: 4px solid #d74436;
- padding-right: 1rem;
- }
- .sidebar-footer-single a:hover {
- color: #363636;
- }
- /* post */
- .post-header, .sidebar-header-single {
- border-color: #d74436;
- padding-left: 1rem;
- border-left: 4px solid #d74436;
- }
- .post-header .title {
- font-weight: 700;
- font-size: 1.8rem;
- color: rgba(0,0,0,.84)!important;
- fill: rgba(0,0,0,.84)!important;
- }
- .post-header .subtitle, .sidebar-header-single .subtitle {
- font-size: 1.1rem;
- }
- .post-content p, .post-single-content p {
- margin-bottom: 0.8rem;
- }
- .post-content, .post-single-content {
- font-size: 1.1rem;
- font-weight: 300;
- }
- /* override */
- .post-single-content form p:nth-child(even) {
- border-right: 0;
- }
- .post-single-content form label {
- text-transform: uppercase;
- color: #4a4a4a;
- padding-bottom: 0.2rem;
- }
- .post-single-content form .input[type] {
- padding-top: 0.2rem;
- }
- .post-single-content p:nth-child(even) {
- border-right: 4px solid #d74436;
- padding-right: 1rem;
- }
- .post-content a {
- color: #d74436;
- }
- .card-content-form form {
- padding-top: 1.5rem;
- }
- .post-footer {
- padding: 1.5rem 0 0 0;
- }
- /* pagination */
- .pagination-content {
- border-right: 4px solid #d74436;
- padding-right: 1rem;
- }
- .pagination-link.is-current {
- background-color: #d74436;
- border-color: #d74436;
- }
- </style>
|