aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/styles/layout.css
diff options
context:
space:
mode:
authorDanijel Andjelkovic <adanijel99@gmail.com>2022-05-05 00:46:39 +0000
committerDanijel Andjelkovic <adanijel99@gmail.com>2022-05-05 00:46:39 +0000
commitc77c5289d01f1f02a57a060dc2166b449e597881 (patch)
treecb64f2775335cdd856e81ec9e8ba0bed93fa0985 /frontend/src/styles/layout.css
parent6f48458e058d3e5a8d559adc22adbe78cba9a253 (diff)
parent15c60cb0c179d2d3c353ab3e19370e16d02176eb (diff)
Merge branch 'redesign' into 'master'
merge See merge request igrannonica/neuronstellar!29
Diffstat (limited to 'frontend/src/styles/layout.css')
-rw-r--r--frontend/src/styles/layout.css69
1 files changed, 69 insertions, 0 deletions
diff --git a/frontend/src/styles/layout.css b/frontend/src/styles/layout.css
new file mode 100644
index 00000000..07c0bf34
--- /dev/null
+++ b/frontend/src/styles/layout.css
@@ -0,0 +1,69 @@
+/*Mora da se ispravi za media kada je ekran premali pa se poredjaju u kolonu*/
+
+html,
+body {
+ height: 100%;
+}
+
+.align-items-view>*:first-child {
+ transform: perspective(100em) rotateY(25deg) translateZ(1em);
+}
+
+.align-items-view>* {
+ transform: perspective(100em) translateZ(-2em);
+}
+
+.align-items-view>*:last-child {
+ transform: perspective(100em) rotateY(-25deg) translateZ(1em);
+}
+
+.ns-row {
+ width: 98%;
+ display: flex;
+ flex-direction: row;
+ flex-wrap: wrap;
+ margin: 0;
+ padding: 0;
+}
+
+.ns-col {
+ flex-grow: 1;
+ padding: 2px;
+ margin-bottom: 0;
+ padding-bottom: 0;
+ flex-grow: 1;
+ flex-shrink: 0;
+ flex-basis: 50%;
+}
+
+@media screen and (min-width: 1200px) {
+ .ns-col {
+ flex-basis: 25%;
+ }
+}
+
+@media screen and (min-width: 1600px) {
+ .ns-col {
+ flex-basis: 12.5%;
+ width: 10%;
+ }
+}
+
+
+/*.break-1,
+.break-2 {
+ height: 1px;
+ width: 100%;
+}
+
+@media screen and (min-width: 1200px) {
+ .break-1 {
+ display: none;
+ }
+}
+
+@media screen and (min-width: 1600px) {
+ .break-2 {
+ display: none;
+ }
+}*/ \ No newline at end of file