Switch to Obsidian Maps
This commit is contained in:
48
.obsidian/snippets/stock-charts.css
vendored
48
.obsidian/snippets/stock-charts.css
vendored
@@ -1,48 +0,0 @@
|
||||
/* Stocks */
|
||||
.stock-cards {
|
||||
margin: 2em 0;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-flow: row wrap;
|
||||
gap: 6px;
|
||||
justify-content: center;
|
||||
|
||||
& .stock-card {
|
||||
position: relative;
|
||||
a {
|
||||
cursor: pointer;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
&:hover .stock-card-inner {
|
||||
background-color: var(--background-primary);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.stock-chart, .stock-financials, .stock-card-inner {
|
||||
box-sizing: border-box;
|
||||
display: block;
|
||||
border: 1px solid var(--background-modifier-border);
|
||||
border-radius: var(--radius-m);
|
||||
background-color: var(--background-primary);
|
||||
}
|
||||
.stock-chart {
|
||||
width: 100%;
|
||||
min-height: 340px;
|
||||
height: 40vh;
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
.stock-container {
|
||||
width: var(--line-width);
|
||||
margin: 0 auto;
|
||||
}
|
||||
.stock-financials {
|
||||
width: 100%;
|
||||
height: 800px;
|
||||
}
|
||||
.stock-card-inner {
|
||||
height: 94px;
|
||||
width: 270px;
|
||||
}
|
||||
2
.obsidian/types.json
vendored
2
.obsidian/types.json
vendored
@@ -12,7 +12,7 @@
|
||||
"topics": "multitext",
|
||||
"rating": "number",
|
||||
"year": "number",
|
||||
"location": "multitext",
|
||||
"coordinates": "multitext",
|
||||
"model": "text",
|
||||
"lotsqft": "number",
|
||||
"isbn13": "number",
|
||||
|
||||
@@ -2,13 +2,6 @@
|
||||
tags:
|
||||
- categories
|
||||
---
|
||||
```leaflet
|
||||
id: places
|
||||
markerTag: places
|
||||
maxZoom:15
|
||||
height:400px
|
||||
```
|
||||
|
||||
## Places
|
||||
|
||||
![[Map.base]]
|
||||
![[Places.base]]
|
||||
|
||||
@@ -11,7 +11,7 @@ loc:
|
||||
- "[[Japan]]"
|
||||
rating: 7
|
||||
created: 2023-09-12
|
||||
location:
|
||||
coordinates:
|
||||
- "34.9689499"
|
||||
- "135.7692576"
|
||||
---
|
||||
|
||||
@@ -8,7 +8,7 @@ tags:
|
||||
- cities
|
||||
loc:
|
||||
- "[[Japan]]"
|
||||
location:
|
||||
coordinates:
|
||||
- "35.021041"
|
||||
- "135.7556075"
|
||||
rating: 7
|
||||
@@ -18,19 +18,7 @@ created: 2023-09-12
|
||||
|
||||
![[Trips.base#Location]]
|
||||
|
||||
## Map
|
||||
|
||||
```leaflet
|
||||
id: kyoto
|
||||
minZoom: 7
|
||||
maxZoom: 20
|
||||
defaultZoom: 11
|
||||
markerTag:
|
||||
- places
|
||||
height: 400px
|
||||
coordinates: [[Kyoto]]
|
||||
```
|
||||
|
||||
## Places
|
||||
|
||||
![[Map.base#Location]]
|
||||
![[Places.base#Location]]
|
||||
9
References/Parks.md
Normal file
9
References/Parks.md
Normal file
@@ -0,0 +1,9 @@
|
||||
---
|
||||
tags:
|
||||
- places/types
|
||||
---
|
||||
|
||||
## Places
|
||||
|
||||
![[Map.base#Type]]
|
||||
![[Places.base#Type]]
|
||||
78
Templates/Bases/Map.base
Normal file
78
Templates/Bases/Map.base
Normal file
@@ -0,0 +1,78 @@
|
||||
filters:
|
||||
and:
|
||||
- categories.contains(link("Places"))
|
||||
- '!file.name.contains("Template")'
|
||||
properties:
|
||||
note.type:
|
||||
displayName: Type
|
||||
note.rating:
|
||||
displayName: Rating
|
||||
note.loc:
|
||||
displayName: Location
|
||||
file.name:
|
||||
displayName: Name
|
||||
note.last:
|
||||
displayName: Last
|
||||
views:
|
||||
- type: map
|
||||
name: Map
|
||||
order:
|
||||
- file.name
|
||||
- rating
|
||||
- loc
|
||||
- type
|
||||
- last
|
||||
sort:
|
||||
- property: last
|
||||
direction: DESC
|
||||
- property: type
|
||||
direction: ASC
|
||||
- property: loc
|
||||
direction: ASC
|
||||
defaultZoom: 2
|
||||
coordinates: note.coordinates
|
||||
- type: map
|
||||
name: Location
|
||||
filters:
|
||||
or:
|
||||
- list(loc).contains(this)
|
||||
- list(loc).containsAny(this.related)
|
||||
order:
|
||||
- file.name
|
||||
sort:
|
||||
- property: last
|
||||
direction: DESC
|
||||
- property: type
|
||||
direction: ASC
|
||||
- property: loc
|
||||
direction: ASC
|
||||
columnSize:
|
||||
file.name: 162
|
||||
note.rating: 84
|
||||
note.loc: 145
|
||||
note.type: 199
|
||||
coordinates: note.coordinates
|
||||
defaultZoom: 10.6
|
||||
- type: map
|
||||
name: Type
|
||||
filters:
|
||||
and:
|
||||
- list(type).contains(this)
|
||||
order:
|
||||
- file.name
|
||||
- rating
|
||||
- type
|
||||
sort:
|
||||
- property: last
|
||||
direction: DESC
|
||||
- property: type
|
||||
direction: ASC
|
||||
- property: loc
|
||||
direction: ASC
|
||||
columnSize:
|
||||
file.name: 162
|
||||
note.rating: 84
|
||||
note.loc: 145
|
||||
note.type: 199
|
||||
coordinates: note.coordinates
|
||||
defaultZoom: 3.1
|
||||
@@ -10,7 +10,7 @@ loc:
|
||||
rating:
|
||||
created: {{date}}
|
||||
last:
|
||||
location:
|
||||
coordinates:
|
||||
- "35.021041"
|
||||
- "135.7556075"
|
||||
---
|
||||
@@ -18,19 +18,7 @@ location:
|
||||
|
||||
![[Trips.base#Location]]
|
||||
|
||||
## Map
|
||||
|
||||
```leaflet
|
||||
id: kyoto
|
||||
minZoom: 10
|
||||
maxZoom: 20
|
||||
defaultZoom: 12
|
||||
markerTag:
|
||||
- places
|
||||
height: 400px
|
||||
coordinates: [[Kyoto]]
|
||||
```
|
||||
|
||||
## Places
|
||||
|
||||
![[Map.base#Location]]
|
||||
![[Places.base#Location]]
|
||||
@@ -1,14 +0,0 @@
|
||||
---
|
||||
tags:
|
||||
- maps
|
||||
---
|
||||
|
||||
```leaflet
|
||||
id: nyc
|
||||
minZoom: 10
|
||||
maxZoom: 20
|
||||
defaultZoom: 12
|
||||
linksTo: [[New York]]
|
||||
height: 400px
|
||||
coordinates: [[New York]]
|
||||
```
|
||||
@@ -3,15 +3,7 @@ tags:
|
||||
- places/types
|
||||
---
|
||||
|
||||
```leaflet
|
||||
id: restaurants
|
||||
linksTo: [[Pizzerias]]
|
||||
minZoom: 3
|
||||
maxZoom: 20
|
||||
defaultZoom: 3
|
||||
height: 400px
|
||||
```
|
||||
|
||||
## Places
|
||||
|
||||
![[Map.base#Type]]
|
||||
![[Places.base#Type]]
|
||||
Reference in New Issue
Block a user