diff --git a/package.json b/package.json
index 42d586f..5d5dc70 100644
--- a/package.json
+++ b/package.json
@@ -25,6 +25,8 @@
"css-loader": "^3.4.2",
"file-loader": "^5.0.2",
"history": "^4.10.1",
+ "less": "^3.11.1",
+ "less-loader": "^5.0.0",
"preact": "^10.3.1",
"preact-render-to-string": "^5.1.4",
"preact-router": "^3.2.1",
diff --git a/src/index.css b/src/index.css
deleted file mode 100644
index 60c14d3..0000000
--- a/src/index.css
+++ /dev/null
@@ -1,55 +0,0 @@
-* {
- box-sizing: border-box;
-}
-
-body {
- background-color: #0d193b;
- color: #a0ccff;
- font-family: sans-serif;
-}
-
-h1, h2, h3, h4, h5, h6 {
- margin-top: 4px;
- margin-bottom: 4px;
- color: #ffffff;
- font-weight: normal;
-}
-
-h1, h2, h3 {
- text-align: center;
-}
-
-h4, h5, h6 {
- font-weight: bold;
-}
-
-
-a {
- color: #00caca;
- text-decoration: none;
-}
-
-a:hover {
- color: #4affff;
-}
-
-a:active {
- color: #ffffff;
-}
-
-img {
- max-width: 100%;
-}
-
-code {
- font-family: "Consolas", monospace;
-}
-
-blockquote {
- border-left: 3px solid #a0ccff;
- padding: 4px;
- margin-left: 12px;
- background-color: rgba(62.7%, 80%, 100%, 0.1);
- border-top-right-radius: 4px;
- border-bottom-right-radius: 4px;
-}
\ No newline at end of file
diff --git a/src/index.js b/src/index.js
index b87acd2..5c528b4 100644
--- a/src/index.js
+++ b/src/index.js
@@ -1,7 +1,7 @@
import { Component } from 'preact';
// noinspection ES6UnusedImports
-import _style from './index.css';
+import _style from './index.less';
// noinspection ES6UnusedImports
import _manifest from './meta/manifest.json';
// noinspection ES6UnusedImports
diff --git a/src/index.less b/src/index.less
new file mode 100644
index 0000000..8b384ba
--- /dev/null
+++ b/src/index.less
@@ -0,0 +1,136 @@
+@import "./styles/constants.less";
+
+* {
+ box-sizing: border-box;
+}
+
+body {
+ background-color: @bg;
+ color: @fg;
+ font-family: @sans;
+}
+
+h1, h2, h3, h4, h5, h6 {
+ margin-top: 4px;
+ margin-bottom: 4px;
+ color: @accent;
+ font-weight: normal;
+ text-align: center;
+}
+
+h1 {
+ font-size: xx-large;
+}
+
+a {
+ color: @link;
+ text-decoration: none;
+
+ &:hover {
+ color: #4affff;
+ }
+
+ &:active {
+ color: #ffffff;
+ }
+}
+
+img {
+ max-width: 100%;
+ max-height: 300px;
+}
+
+b {
+ color: @accent;
+}
+
+code {
+ font-family: @mono;
+}
+
+blockquote {
+ color: @fg;
+ border-left: 3px solid @fg;
+ background-color: fade(@fg, 10%);
+ padding: 4px 4px 4px 8px;
+ margin: 8px;
+}
+
+input[type="text"], input[type="password"] {
+ color: @fg;
+ background-color: @bg;
+ border: 1px solid @bg-lighter;
+ border-radius: 4px;
+ padding: 4px;
+ font-size: medium;
+
+ &:disabled {
+ color: grey;
+ background-color: #1f1f1f;
+ cursor: not-allowed;
+ }
+}
+
+button {
+ color: @fg;
+ background-color: @bg;
+ border: 1px solid @bg-lighter;
+ border-radius: 4px;
+ padding: 4px;
+ font-size: medium;
+
+ &:hover {
+ background-color: @bg-light;
+ border: 1px solid @fg;
+ }
+
+ &:active {
+ background-color: @bg-lighter;
+ border: 1px solid @fg;
+ }
+
+ &.disabled {
+ color: grey;
+ background-color: #1f1f1f;
+ cursor: not-allowed;
+ }
+}
+
+hr {
+ border: 1px solid @bg-light;
+ margin-top: 24px;
+ margin-bottom: 24px;
+}
+
+table {
+ border-spacing: 0;
+ border: 2px solid @bg-lighter;
+ background-color: @bg-light;
+ border-radius: 4px;
+ border-collapse: collapse;
+
+ thead, tbody {
+ th, td {
+ padding: 4px;
+ border: 1px solid @bg-lighter;
+ }
+ }
+
+ thead {
+ background-color: @bg-lighter;
+ color: @accent;
+ border-radius: 4px 4px 0 0;
+ }
+}
+
+.left {
+ text-align: left;
+}
+
+.center {
+ text-align: center;
+}
+
+.right {
+ text-align: right;
+}
diff --git a/src/routes/ottimizzazioneLineare.js b/src/routes/ottimizzazioneLineare.js
index ae2753d..8291449 100644
--- a/src/routes/ottimizzazioneLineare.js
+++ b/src/routes/ottimizzazioneLineare.js
@@ -59,6 +59,111 @@ export default class OttimizzazioneLineare extends Component {
+
+ Un sistema รจ in forma standard quando ha:
+
+ Possiamo trasformare una disequazione in equazione introducendo variabili slack:
+
+
+ In seguito, possiamo riscrivere tutte le funzioni in termini delle variabili slack.
+
+ Un modo per rappresentare sistemi in forma standard.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ob.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Riscrivendo in termini delle variabili slack, otteniamo: +
++
+ | ||||
---|---|---|---|---|
ob. | +||||
+ | ||||
+ |