Skip to content

Commit

Permalink
Update documents and theme styles
Browse files Browse the repository at this point in the history
  • Loading branch information
cuigh committed Apr 18, 2022
1 parent 87dc590 commit 0a4bf62
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 18 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ Obelisk is a publishing tool for markdown document library, which can help you g
- Icon Folder
- ……

## Getting Started

Please follow the [Documentation](https://cuigh.com/obelisk). As you might expect, the document site is also generated with Obelisk.

## Screenshots

**Document**
Expand All @@ -26,10 +30,6 @@ Obelisk is a publishing tool for markdown document library, which can help you g
**Extensions**
![Extensions](docs/assets/extension.png)

## Getting Started

Please follow the [Documentation](https://cuigh.com/obelisk). As you might expect, the document site is also generated with Obelisk.

## Roadmap

- [x] CommonMark
Expand Down
8 changes: 4 additions & 4 deletions README_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ Obelisk 是一个 Markdown 文档库发布工具,它能够简单、快速的
- Icon Folder
- ……

## 快速上手

请参考这里的 [使用文档](https://cuigh.com/obelisk)。如你所料,文档站点也正是用 Obelisk 生成的。

## 屏幕截图

**文档**
Expand All @@ -26,10 +30,6 @@ Obelisk 是一个 Markdown 文档库发布工具,它能够简单、快速的
**扩展**
![Extensions](docs/assets/extension.png)

## 快速上手

请参考这里的 [使用文档](https://cuigh.com/obelisk)。如你所料,文档站点也正是用 Obelisk 生成的。

## 路线图

- [x] CommonMark
Expand Down
2 changes: 1 addition & 1 deletion docs/01 Quick Start.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ By default, Obelisk will convert file and folder names according to kebab style.
- Add path mapping in vault configuration file (obelisk.yml)
```yaml
paths:
- Reading Notes: reading-notes
Reading Notes: reading-notes
```
### Favicon
Expand Down
7 changes: 6 additions & 1 deletion docs/04 Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ layout: timeline

# Changelog

## v0.7.1 @{2022-04-18}
- Fix document embedding when target section has sub sections
- Add link of target page to embed block
- Remove archived kanban

## v0.7.0 @{2022-04-12}
- Change default path formatter from `smart` to `kebab`
- Clicking tag will pop up all page links containing that tag
Expand All @@ -14,7 +19,7 @@ layout: timeline
- Fix styles causing menu items to not be displayed in full

## v0.6.0 @{2022-04-08}
- Add support for timeline (Set layout as 'timeline' in metadata)
- Add support for timeline (Set layout as `timeline` in metadata)
- Add timestamp to internal js/css resources
- Support markdown embedding of Obsidian vault
- Turn consecutive images into columns
Expand Down
28 changes: 20 additions & 8 deletions themes/willow/assets/css/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ nav > .menu {
z-index: 60;
width: 100%;
max-height: 80vh;
margin-top: 1px;
margin-top: 3px;
color: var(--color-text);
background-color: var(--color-back);
}
Expand Down Expand Up @@ -1005,18 +1005,26 @@ article {
padding: 12px;
margin: 1em auto;
position: relative;
box-shadow: 0 0 4px 2px var(--color-shadow);
}
.content .embed > :first-child {
.content .embed-content > :first-child {
margin-top: 0;
}
.content .embed > :last-child {
.content .embed-content > :last-child {
margin-bottom: 0;
}
/*.content .embed .embed-link {*/
/* position: absolute;*/
/* right: 12px;*/
/* top: 12px;*/
/*}*/
.content .embed-link {
position: absolute;
right: 9px;
top: 6px;
color: var(--color-text-faint);
}
.content .embed-link:hover {
color: var(--color-accent);
}
.content .embed-link svg {
fill: currentColor;
}

.content .footnotes p {
margin: 8px 0;
Expand Down Expand Up @@ -1259,6 +1267,10 @@ article {
margin-bottom: 1em;
}

.content p:empty {
display: none;
}

.content blockquote>:first-child {
margin-top: 0;
}
Expand Down

0 comments on commit 0a4bf62

Please sign in to comment.