OOKB Styles

 30th December 2021 at 10:53pm
Word Count: 267

/* Trying something clever w/ titles of tiddlers */
/* .tc-tiddler-title { */
.tc-title {
  position: sticky;
  top: 0;
  background: white;
  z-index: 1;
}

/* Added/Modified this Day */
/* designing the in/out links section for each card */
.explorerWrap {
  display: flex;
  border-top: 1px solid;
  margin: 0 -14px;
}
.explorerWrap:last-of-type {
  margin-bottom: -14px;
}


.dateExplorer + .linkExplorer,
.tagExplorer + .dateExplorer,
.tagExplorer + .linkExplorer {
margin-top: 14px;
}

@media screen and (min-width: 960px) {
  .explorerWrap {
    margin: 2rem -42px -42px;
  }
.explorerWrap:last-of-type {
  margin-bottom: -42px;
}

.dateExplorer + .linkExplorer,
.tagExplorer + .dateExplorer,
.tagExplorer + .linkExplorer {
margin-top: 42px;
}
}


.explorerWrap .column {
  flex: 1;
}

.dateExplorer .column:first-child,
.linkExplorer .column:first-child {
  border-right: 1px solid;
}

.explorerWrap h3 {
  font-size: .9rem;
  padding: .25em 0 .25em 42px;
  background-color: #eee;
  margin: 0;
}

.explorerWrap .column ul {
    padding-right: 1.5em;
}

/* trying to make a "table" of info for each tiddler where necessary to be helpful!? */

.flex {
  display: flex;
}

.fieldDisplay {
  width: calc(100% + 28px);
  margin-left: -14px;
  margin-right: -14px;
}

@media screen and (min-width: 960px) {
.fieldDisplay {
  width: calc(100% + 84px);
  margin-left: -42px;
  margin-right: -42px;
}
}


.row {
  border-top: 1px solid;
  width: 100%;
}
.row:last-child {
  border-bottom: 1px solid;
}
.row > div {
  padding: .25rem .5rem;
}
.row .key {
background: #eee;
flex: 1;
padding-left: 42px;
}

.row .value {
  flex: 3;
  padding-right: 42px;
}

.imgWrapper.bookCover img {
    max-width: 50%;
    height: auto;
}

.numberedList {
    list-style-type: decimal !important;
}

/** external links show a clever symbol, marginal style difference **/
.tc-tiddlylink-external::after {
/*  content: ' ◯↗⤴🌍';*/
  content: ' ⤴◯';
  text-decoration: none;
}

/** Trying to add this little word count widget!? **/
.word-count {
    color: white;
    background-color: #CCC;
    border-radius: 1em;
    float: right;
    font-size: .8em;
    line-height: 2;
    padding: 0 1em;
}

Bjørnpaedia

Sentences, Paragraphs and More on Sustainability, Open Source, Design, and how Everything is Connected in general.