aboutsummaryrefslogtreecommitdiffstats
path: root/apps/Notes/styles/_noteView.scss
diff options
context:
space:
mode:
authorGravatar piotrruss <mail@pruss.it> 2021-09-04 11:20:34 +0200
committerGravatar piotrruss <mail@pruss.it> 2021-09-04 11:20:34 +0200
commit6c54c9d57d5fa4c52aa454ed3ca09060b0674ad3 (patch)
tree0d236ccdf51f264cced4c8adbad24d1dba065ddf /apps/Notes/styles/_noteView.scss
parenta28b952eafc83ac6f6fc1a3d99805866bc41fde9 (diff)
downloadmy_apps-6c54c9d57d5fa4c52aa454ed3ca09060b0674ad3.tar.gz
my_apps-6c54c9d57d5fa4c52aa454ed3ca09060b0674ad3.tar.bz2
my_apps-6c54c9d57d5fa4c52aa454ed3ca09060b0674ad3.zip
split scss into partials
Diffstat (limited to 'apps/Notes/styles/_noteView.scss')
-rw-r--r--apps/Notes/styles/_noteView.scss29
1 files changed, 29 insertions, 0 deletions
diff --git a/apps/Notes/styles/_noteView.scss b/apps/Notes/styles/_noteView.scss
new file mode 100644
index 0000000..cf6a080
--- /dev/null
+++ b/apps/Notes/styles/_noteView.scss
@@ -0,0 +1,29 @@
+.noteView {
+ @keyframes fade-in {
+ from {opacity: 0;}
+ to {opacity: 1;}
+ }
+
+ padding: 1rem;
+ position: absolute;
+ top: 0;
+ right: 0;
+ bottom: 0;
+ left: 0;
+ animation: fade-in .3s;
+
+ h2 {
+ font-size: 1.25em;
+ font-weight: 600;
+ padding: 1rem;
+ user-select: text;
+ }
+
+ p {
+ line-height: 1.33;
+ padding: 0 1rem 1rem;
+ white-space: pre-line;
+ user-select: text;
+ }
+}
+