aboutsummaryrefslogtreecommitdiffstats
path: root/app/assets/stylesheets/_custom.scss
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2023-12-18 09:54:36 +0000
committerMatthew Lemon <y@yulqen.org>2023-12-18 09:54:36 +0000
commitc504e1e907ea68e3b777db5d286974010d2361c0 (patch)
tree3f0afd1600b960e61bbf951d65292a66cbd2e1d0 /app/assets/stylesheets/_custom.scss
parent18ab0d1d8ab42d212ed1cc2346ca00ec169449fd (diff)
Added a new _custom.scss file
Turns out if you configure it thus, you can customise the sass variables in bootstrap. https://bootstrap.themes.guide/how-to-customize-bootstrap.html
Diffstat (limited to 'app/assets/stylesheets/_custom.scss')
-rw-r--r--app/assets/stylesheets/_custom.scss20
1 files changed, 20 insertions, 0 deletions
diff --git a/app/assets/stylesheets/_custom.scss b/app/assets/stylesheets/_custom.scss
new file mode 100644
index 0000000..4a18dd1
--- /dev/null
+++ b/app/assets/stylesheets/_custom.scss
@@ -0,0 +1,20 @@
+@import 'bootstrap/scss/bootstrap';
+
+$nav-link-color: green;
+$nav-link-hover-color: darkgreen;
+
+
+@import 'bootstrap/scss/bootstrap';
+
+table {
+ width: 100%;
+ border-collapse: collapse;
+ background: lightgreen;
+ margin-top: 30px;
+ table-layout: fixed;
+ border: 2px solid;
+}
+td {
+ border: 1px solid;
+ padding: 3px;
+}