1
0
forked from cory/tildefriends
Files
.gitea
apps
admin
api
apps
blog
db
follow
identity
issues
journal
room
sneaker
ssb
storage
test
todo
web
welcome
wiki
app.js
commonmark.min.js
handler.js
index.html
lit-all.min.js
lit-all.min.js.map
tf-collection.js
tf-wiki-app.js
tf-wiki-doc.js
tildefriends.css
utils.js
admin.json
api.json
apps.json
blog.json
db.json
follow.json
identity.json
issues.json
journal.json
room.json
sneaker.json
ssb.json
storage.json
test.json
todo.json
web.json
welcome.json
wiki.json
core
deps
docs
metadata
src
tools
.clang-format
.dockerignore
.git-blame-ignore-revs
.gitignore
.gitmodules
.prettierignore
.prettierrc.yaml
CONTRIBUTING.md
Dockerfile
Doxyfile
GNUmakefile
LICENSE
README.md
default.nix
flake.lock
flake.nix
package-lock.json
package.json
tildefriends/apps/wiki/tildefriends.css

116 lines
1.5 KiB
CSS
Raw Normal View History

/*
2024-02-22 13:03:21 +01:00
* Tilde Friends core stylesheet
* This is a prototype; things may change based on feedback.
*
2024-02-22 13:03:21 +01:00
* This Software is an external library that is part of
* Tilde Friends and is shared under the MIT license.
*
* Inject this file in your app at tildefriends.css
2024-02-22 13:03:21 +01:00
* and use this tag to import it:
* <link rel="stylesheet" href="tildefriends.css"/>
*
2024-02-22 13:03:21 +01:00
* Revision 0 / 2024 M02 19
*/
body {
color: white;
font-family: sans-serif;
}
button,
.button,
input[type='button'],
input[type='submit'],
select {
2024-02-22 13:03:21 +01:00
border: none;
border-radius: 8px;
padding: 8px 12px;
text-align: center;
text-decoration: none;
display: inline-block;
margin: 4px;
&.red {
background-color: #bd1e24;
color: white;
}
&.green {
background-color: #18922d;
color: white;
}
&.blue {
background-color: #0067a7;
color: white;
}
&.yellow {
background-color: #ee9600;
color: black;
}
&:hover {
filter: brightness(0.75);
}
2024-02-22 13:03:21 +01:00
}
a:link {
color: #268bd2;
}
a:visited {
color: #6c71c4;
}
a:hover {
color: #859900;
}
a:active {
color: #2aa198;
}
table {
border-collapse: collapse;
width: 100%;
}
td,
th {
2024-02-22 13:03:21 +01:00
border: 1px solid #ffffff40;
text-align: left;
padding: 8px;
}
tr:nth-child(even) {
background-color: #ffffff20;
}
.flex {
display: flex;
}
.flex-column {
display: flex;
flex-direction: column;
}
.flex-row {
display: flex;
flex-direction: row;
}
.inline-flex-row {
display: inline-flex;
flex-direction: row;
}
.box {
background-color: #00000020;
border: 1px solid grey;
border-radius: 8px;
padding: 16px;
margin: 4px;
}