diff --git a/public/css/main.css b/public/css/main.css index 859dd8a..23f5945 100644 --- a/public/css/main.css +++ b/public/css/main.css @@ -48,7 +48,7 @@ body { background: linear-gradient(#F1D4AF, #eee9d9); flex-direction: row; -webkit-flex-direction: row; - min-height: 70vh; } + min-height: 65vh; } @media (max-width: 1200px) { .info-page { flex-direction: column; @@ -62,11 +62,11 @@ body { */ .technical-page { background: #24242f; - min-height: 35vh; } + height: 35vh; } .flex-table { display: flex; - margin: 20px auto; + margin: 0px auto; max-width: 800px; flex-wrap: wrap; padding: 0 10px; } @@ -78,7 +78,6 @@ body { .flex-table-header, .flex-table-value { width: 200px; float: left; - padding-bottom: 0 5px 20px 5px; box-sizing: border-box; } .flex-table-row { @@ -92,7 +91,7 @@ body { background-color: #e2f2f0; flex-direction: column; -webkit-flex-direction: column; - min-height: 30vh; } + min-height: 35vh; } @media (max-width: 1200px) { .footer-page { height: 100%; } } @@ -301,4 +300,38 @@ body { color: #E08E79; text-shadow: 0px 0px 0px #e9bd84, 1px 1px 0px #e9bd84, 2px 2px 0px #e9bd84, 3px 3px 0px #e9bd84, 4px 4px 0px #e9bd84, 5px 5px 0px #e9bd84, 6px 6px 0px #e9bd84, 7px 7px 0px #e9bd84, 8px 8px 0px #e9bd84, 9px 9px 0px #e9bd84, 10px 10px 0px #e9bd84; } +.tooltip { + position: relative; + display: inline-block; + border-bottom: 1px solid #8684d3; } + +.tooltip .tooltiptext { + visibility: hidden; + width: 250px; + background-color: white; + color: black; + text-align: left; + border-radius: 6px; + padding: 15px; + position: absolute; + z-index: 1; + bottom: 150%; + left: 50%; + margin-left: -60px; + font-size: 0.8em; + line-height: 1.5em; } + +.tooltip .tooltiptext::after { + content: ""; + position: absolute; + top: 100%; + left: 10%; + margin-left: -5px; + border-width: 5px; + border-style: solid; + border-color: white transparent transparent transparent; } + +.tooltip:hover .tooltiptext { + visibility: visible; } + /*# sourceMappingURL=main.css.map */ diff --git a/public/css/main.css.map b/public/css/main.css.map index 1d56870..9e19966 100644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EAChC,SAAS,EAAE,GAAG;EACd,cAAc,EAAE,SAAS;EACzB,KAAK,EAAE,OAAO;ELvHd,WAAW,EAFC,uOAAmD", -"sources": ["main.scss","modules/_modules.scss","partials/_base.scss","partials/_navigation.sass","partials/_forms.sass","partials/_fonts.scss","partials/_typography.scss"], +"mappings": "AAAA;gFACgF;AAEhF;;;;GAIG;ACPH;;GAEG;AAcH;;GAEG;AClBH;;GAEG;AFmBK,kCAAuB;AACvB,iCAAsB;AACtB,yCAA8B;AEnBtC,IAAK;EACH,gBAAgB,EAAE,OAAO;;AAG3B,cAAe;EACb,OAAO,EAAE,YAAY;EACrB,OAAO,EAAE,IAAI;EACb,sBAAsB,EAAE,MAAM;EAC9B,cAAc,EAAE,MAAM;;AAGxB,6DAAU;EACR,OAAO,EAAE,IAAI;EACb,OAAO,EAAE,YAAY;EACrB,eAAe,EAAE,MAAM;EACvB,WAAW,EAAE,MAAM;;AAGrB;;GAEG;AAEH,WAAY;EAEV,UAAU,EAAE,iCAAiC;EAC7C,UAAU,EAAE,KAAK;EACjB,cAAc,EAAE,MAAM;EACtB,sBAAsB,EAAE,MAAM;;AAGhC;;GAEG;AAEH,UAAW;EAET,UAAU,EAAE,iCAAiC;EAC7C,cAAc,EAAE,GAAG;EACnB,sBAAsB,EAAE,GAAG;EAC3B,UAAU,EAAE,IAAI;EDpBhB,0BAAoC;ICetC,UAAW;MAOR,cAAc,EAAE,MAAM;MACtB,sBAAsB,EAAE,MAAM;;AAIjC,eAAgB;EACd,MAAM,EAAE,eAAe;;AAGzB;;GAEG;AAEH,eAAgB;EACd,UAAU,EAAE,OAAO;EACnB,MAAM,EAAE,IAAI;;AAGd,WAAY;EACV,OAAO,EAAE,IAAI;EACb,MAAM,EAAE,QAAQ;EAChB,SAAS,EAAE,KAAK;EAChB,SAAS,EAAE,IAAI;EACf,OAAO,EAAE,MAAM;ED7Cf,0BAAoC;ICwCtC,WAAY;MAOR,SAAS,EAAE,KAAK;MAChB,cAAc,EAAE,MA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IZ,SAAS,EAAE,GAAG;MACd,MAAM,EAAE,IAAI;;AAIhB;;GAEG;AAEF,gBAAiB;EAChB,WAAW,EAAE,mBAAmB;EAChC,SAAS,EAAE,GAAG;EACd,cAAc,EAAE,SAAS;EACzB,KAAK,EAAE,OAAO;ELvHd,WAAW,EAFC,uOAAmD;;AMVjE,QAAS;EACL,QAAQ,EAAE,QAAQ;EAClB,OAAO,EAAE,YAAY;EACrB,aAAa,EAAE,iBAAiB;;AAGpC,qBAAsB;EAClB,UAAU,EAAE,MAAM;EAClB,KAAK,EAAE,KAAK;EACZ,gBAAgB,EAAE,KAAK;EACvB,KAAK,EAAE,KAAK;EACZ,UAAU,EAAE,IAAI;EAChB,aAAa,EAAE,GAAG;EAClB,OAAO,EAAE,IAAI;EACb,QAAQ,EAAE,QAAQ;EAClB,OAAO,EAAE,CAAC;EACV,MAAM,EAAE,IAAI;EACZ,IAAI,EAAE,GAAG;EACT,WAAW,EAAE,KAAK;EAClB,SAAS,EAAE,KAAK;EAChB,WAAW,EAAE,KAAK;;AAGtB,4BAA6B;EACzB,OAAO,EAAE,EAAE;EACX,QAAQ,EAAE,QAAQ;EAClB,GAAG,EAAE,IAAI;EACT,IAAI,EAAE,GAAG;EACT,WAAW,EAAE,IAAI;EACjB,YAAY,EAAE,GAAG;EACjB,YAAY,EAAE,KAAK;EACnB,YAAY,EAAE,yCAAyC;;AAG3D,2BAA4B;EACxB,UAAU,EAAE,OAAO", +"sources": ["main.scss","modules/_modules.scss","partials/_base.scss","partials/_navigation.sass","partials/_forms.sass","partials/_fonts.scss","partials/_typography.scss","partials/_tooltips.scss"], "names": [], "file": "main.css" } \ No newline at end of file diff --git a/public/css/main.scss b/public/css/main.scss index e478a89..523228e 100644 --- a/public/css/main.scss +++ b/public/css/main.scss @@ -16,6 +16,7 @@ @import "partials/_forms"; @import "partials/_fonts"; @import "partials/_typography"; +@import "partials/_tooltips"; // vendors @import "vendors/normalize.css"; diff --git a/public/css/partials/_base.scss b/public/css/partials/_base.scss index 2073d90..59b8191 100644 --- a/public/css/partials/_base.scss +++ b/public/css/partials/_base.scss @@ -41,7 +41,7 @@ body { background: linear-gradient(#F1D4AF, #eee9d9); flex-direction: row; -webkit-flex-direction: row; - min-height: 70vh; + min-height: 65vh; @include break-small { flex-direction: column; -webkit-flex-direction: column; @@ -58,12 +58,12 @@ body { .technical-page { background: #24242f; - min-height: 35vh; + height: 35vh; } .flex-table { display: flex; - margin: 20px auto; + margin: 0px auto; max-width: 800px; flex-wrap: wrap; padding: 0 10px; @@ -76,7 +76,6 @@ body { .flex-table-header, .flex-table-value { width: 200px; float: left; - padding-bottom: 0 5px 20px 5px; box-sizing: border-box; } @@ -94,7 +93,7 @@ body { background-color: #e2f2f0; flex-direction: column; -webkit-flex-direction: column; - min-height: 30vh; + min-height: 35vh; @include break-small { height: 100%; } diff --git a/public/css/partials/_tooltips.scss b/public/css/partials/_tooltips.scss new file mode 100644 index 0000000..38d3c9b --- /dev/null +++ b/public/css/partials/_tooltips.scss @@ -0,0 +1,37 @@ +.tooltip { + position: relative; + display: inline-block; + border-bottom: 1px solid #8684d3; +} + +.tooltip .tooltiptext { + visibility: hidden; + width: 250px; + background-color: white; + color: black; + text-align: left; + border-radius: 6px; + padding: 15px; + position: absolute; + z-index: 1; + bottom: 150%; + left: 50%; + margin-left: -60px; + font-size: 0.8em; + line-height: 1.5em; +} + +.tooltip .tooltiptext::after { + content: ""; + position: absolute; + top: 100%; + left: 10%; + margin-left: -5px; + border-width: 5px; + border-style: solid; + border-color: white transparent transparent transparent; +} + +.tooltip:hover .tooltiptext { + visibility: visible; +} diff --git a/views/home.html.twig b/views/home.html.twig index e7de399..053e9ee 100644 --- a/views/home.html.twig +++ b/views/home.html.twig @@ -45,11 +45,15 @@