Skip to content

Commit

Permalink
css: plying with tags and dates inside list
Browse files Browse the repository at this point in the history
  • Loading branch information
danieltomasz committed Aug 11, 2023
1 parent eb9e907 commit f3f89a6
Show file tree
Hide file tree
Showing 20 changed files with 606 additions and 21 deletions.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,8 @@ tag:
git tag -d ${TAG} && \
git push origin --delete ${TAG} && \
git tag -a ${TAG} && \
git push origin --tags
git push origin --tags


%.md:
hugo new content/drafts/$@
229 changes: 229 additions & 0 deletions assets/scss/styles.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,229 @@
* {
// font-size: 18px;
line-height: 1.6em;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, "avenir next", avenir,
helvetica, "helvetica neue", ubuntu, roboto, noto, "segoe ui", arial,
sans-serif;
padding: 2rem;
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
}


main {
max-width: 70ch;
padding: 2ch;
margin: auto;
}

rig
header, footer {
margin-top: 4rem;
margin-bottom: 4rem;
}
h1:first-child {
margin: 0;
}
img {
display: block;
max-width: 100%;
}
.meta {
color: #777;

}
.meta span a {
color: #777;
display: inline;
text-decoration: none;
}

// a, body {
// color: #353535;
// }

// ::selection, a:focus, a:hover {
// background-color: #353535;
// color: #fff;
// }

// pre, code {
// background: #eee;
// }
// pre {
// margin-bottom: 2rem;
// }
// pre code {
// display: block;
// padding: 1em;
// overflow-x: auto;
// }



a, a:visited {
color: initial
}
.list {
list-style-type: none;
padding-left: 0;
margin: 0;
}
.list li {
margin-bottom: 0.5rem;
}
time {
color: #777;
font-variant-numeric: tabular-nums;
}
blockquote {
border-left: 2px solid #777;
padding: .5rem 1rem;
margin: 2rem 0
}

// My added part
// My added part
// li
// {
// list-style-type: none;


// }


table {
border-collapse: collapse;
text-align: left;
width: 100%;
}
table tr {
background: white;
border-bottom: 1px solid
}
table th, table td {
padding: 10px 20px;
}



.posts ul,header ul, footer ul {
list-style:none;
}

.posts, header ul, footer ul {
padding: 0;
}

.posts li {
align-items:center;
display:flex;
justify-content:space-between;
margin-bottom: .7rem;
}

.posts li a, .posts li div {
white-space:nowrap;
overflow:hidden;
text-overflow:ellipsis;
text-decoration: none;
}

.posts li time {
padding-left: 1rem;
white-space: nowrap;
font-variant-numeric: tabular-nums;
}

code,pre {
color: #353535;
font-family: San Francisco Mono,Monaco,"Consolas","Lucida Console","DejaVu Sans Mono","Bitstream Vera Sans Mono",monospace;
font-size: normal;
border: 1px solid #353535;
font-size: small;
}

code {
padding: .1rem;
border: none;
}

pre {
padding: .5rem;
overflow-x: auto;
}

pre code {
border: none;
}


header li, footer li {
display: inline;
text-transform: uppercase;
}

header a, footer a {
text-decoration: none;
}

header ul, footer ul {
justify-content: space-between;
display: flex;
}


[aria-current="page"] {
//font-weight: bold;
text-decoration: line-through;
}

header,section, footer {
padding:1rem 0;
}

/* nav {
display: flex;
justify-content: flex-start;
}
nav ul {
// display: flex;
list-style-type: none;
}
/* align menu horizontally */
// nav li {
// margin-right: 20px;
// list-style-type: none;
// }

// li
// {
// list-style-type: none;

// }



.lista li{
list-style-type: none;

}
.lista ul {
// display: flex;
// list-style-type: none;
}

// lista .meta {
// color: #be2929;

// }
// lista .meta span a {
// color: #be2929;
// display: inline;
// text-decoration: none;
// }
Loading

0 comments on commit f3f89a6

Please sign in to comment.