Files
services/docs/hugo-tania/assets/sass/components/_posts.scss
Janos Dobronszki 40b71a9cf9 Autogenerate services.m3o.com (#37)
* Autogenerate services.m3o.com

* Openapi for all

* Gen

* Fix

* Whaat

* Fix dep

* Fix

* Hmm

* Install make

* Debug

* Debug 1

* Location -> locations

* Fix

* Intall protoc gen micro

* F

* F

* F

* Push

* Rename secret

* Fix npm install

* Fix script

* Fix v2

* Ignore errors

* Ignore v2

* F

* F

* F

* Docs index

* Add hugo theme

* Hugo tania fixes

* Change gen

* Change gen 2

* Install hugo

* Change gen

* Gen fix

* Change hugo install

* Change hugo install

* CNAME

* Change articles wording

* Tiny fix

* Fix gen

* Redoc it all

* Fix gen

* Fixing up protos

* Fix proto

* Fix gen

* Fix

* Trigger build

* Fix copy

* Openapi docs

* Flatten

* Changes

* No date vol2

* Changes

* Add make to chat

* Fixes

* Change

* api spec

* replace RSS

* fix link

* Dont continue on error

* increase the width

* use micro at master

* change box colours

* move some things

* Pushing new readmes to see how they look like

* Add skip file

* Readmes

* Nicer api link

* Remove stutter

* FIx mistake

* set service font weight

* Messages readme fix

* add other font bold

* Notes

* Remove post from url

* Revert "Remove post from url"

This reverts commit 5fea2c23d0bafa910f5dc4d4cc63f71f578530e3.

* move exampleSite to site

* replace exampleSite with site

* update readme

* use filename for post

* update index

* Add source urls

* set source as params

* set source as params

* Fix entries

* Generator in go

* Fixes to generator

* F

* Change doc gen

* FIx cname

* Fixing protos

* Change to makefiles

* Fix gen script

Co-authored-by: Asim Aslam <asim@aslam.me>
2021-01-19 16:59:25 +00:00

68 lines
1.0 KiB
SCSS

/* Posts */
.post-row {
display: flex;
align-items: center;
width: 100%;
time {
display: block;
flex: 0 0 65px;
}
h3 {
flex: 1;
}
}
.posts .post:last-of-type a {
border-bottom-width: 0;
}
.post {
a {
display: flex;
align-items: center;
justify-content: stretch;
padding: 1rem 0;
border-bottom: 2px solid var(--light-background);
&:hover {
border-radius: 0.3rem;
}
}
h3 {
margin-top: 0.1rem;
margin-bottom: 0;
font-size: 1.1rem;
font-weight: 600;
}
}
@media screen and (min-width: 800px) {
.posts {
margin-left: -1rem;
margin-right: -1rem;
}
.post {
a {
padding: 0.75rem 1rem;
border-bottom-color: transparent;
&:hover {
background: var(--light-background);
}
}
h3 {
font-size: 1.3rem;
}
}
.post-row time {
flex: 0 0 80px;
}
}