Skip to content
Snippets Groups Projects
Unverified Commit 9d8e816a authored by Jaime Pérez Crespo's avatar Jaime Pérez Crespo
Browse files

Lots of improvements to the CSS.

parent 49e34e76
No related branches found
No related tags found
No related merge requests found
...@@ -48,7 +48,7 @@ body { ...@@ -48,7 +48,7 @@ body {
h1 { h1 {
margin: 0.2em 0; margin: 0.2em 0;
font-size: 3em; font-size: 2.5em;
font-weight: 900; font-weight: 900;
} }
...@@ -223,7 +223,7 @@ All anchors inside the menu should be styled like this. ...@@ -223,7 +223,7 @@ All anchors inside the menu should be styled like this.
#menu a { #menu a {
color: #ffffff; color: #ffffff;
border: none; border: none;
padding: 0.6em 0em 0.6em 0.6em; padding: 0.6em 0 0.6em 0.6em;
} }
/* /*
...@@ -248,7 +248,7 @@ Change color of the anchor links on hover/focus. ...@@ -248,7 +248,7 @@ Change color of the anchor links on hover/focus.
*/ */
#menu .pure-menu li a:hover, #menu .pure-menu li a:hover,
#menu .pure-menu li a:focus { #menu .pure-menu li a:focus {
background: $transitionBackground; background: black;
} }
/* /*
...@@ -256,7 +256,7 @@ This styles the selected menu item `<li>`. ...@@ -256,7 +256,7 @@ This styles the selected menu item `<li>`.
*/ */
#menu .pure-menu-selected, #menu .pure-menu-selected,
#menu .pure-menu-heading { #menu .pure-menu-heading {
background: #ffa86f; background: $primaryBackground;
color: black; color: black;
} }
...@@ -328,7 +328,7 @@ small screens. ...@@ -328,7 +328,7 @@ small screens.
/* -- Responsive Styles (Media Queries) ------------------------------------- */ /* -- Responsive Styles (Media Queries) ------------------------------------- */
@media screen and (max-width: 63.9375em) { @media screen and (max-width: 40em) {
#layout.active { #layout.active {
position: relative; position: relative;
right: 11em; right: 11em;
...@@ -348,7 +348,6 @@ HEADER ...@@ -348,7 +348,6 @@ HEADER
************************************************************ */ ************************************************************ */
#header { #header {
height: 6rem; height: 6rem;
background-color: darkred;
background: linear-gradient(141deg, $primaryBackground 0%, $transitionBackground 51%, $secondaryBackground 75%) background: linear-gradient(141deg, $primaryBackground 0%, $transitionBackground 51%, $secondaryBackground 75%)
} }
...@@ -362,7 +361,7 @@ HEADER ...@@ -362,7 +361,7 @@ HEADER
font-family: sans-serif; font-family: sans-serif;
font-size: 2.5em; font-size: 2.5em;
color: white; color: white;
text-shadow: 0px 3px 2px rgba(83, 41, 0, 1); text-shadow: 0 3px 2px rgba(83, 41, 0, 1);
} }
.simple { .simple {
...@@ -452,7 +451,6 @@ FOOTER ...@@ -452,7 +451,6 @@ FOOTER
************************************************************ */ ************************************************************ */
#layout { #layout {
min-height: 100%; min-height: 100%;
height: auto !important;
height: 100%; height: 100%;
margin: 0 auto -6rem; /*negative margin = footer height + padding-top + padding-bottom*/ margin: 0 auto -6rem; /*negative margin = footer height + padding-top + padding-bottom*/
} }
...@@ -462,7 +460,6 @@ FOOTER ...@@ -462,7 +460,6 @@ FOOTER
} }
#footer { #footer {
background-color: darkred;
background: linear-gradient(141deg, $primaryBackground 0%, $transitionBackground 51%, $secondaryBackground 75%); background: linear-gradient(141deg, $primaryBackground 0%, $transitionBackground 51%, $secondaryBackground 75%);
height: 4rem; height: 4rem;
padding: 2rem 0 0; padding: 2rem 0 0;
...@@ -611,22 +608,13 @@ table.attributes ul { ...@@ -611,22 +608,13 @@ table.attributes ul {
MEDIA QUERIES MEDIA QUERIES
************************************************************ */ ************************************************************ */
@media screen and (max-width: 480px) { @media screen and (max-width: 40em) {
.pure-form .pure-input-sm-1-1 { .pure-form .pure-input-sm-1-1 {
width: 100%; width: 100%;
} }
} }
@media screen and (max-width: 39.9375em) { @media screen and (max-width: 40em) {
.hide-for-small-only {
display: none !important;
}
.selectize-input {
padding-right: 0.1rem;
}
body {
font-size: 75%;
}
.wrap { .wrap {
width: 90%; width: 90%;
} }
...@@ -654,34 +642,13 @@ MEDIA QUERIES ...@@ -654,34 +642,13 @@ MEDIA QUERIES
} }
} }
@media screen and (min-width: 40em) and (max-width: 63.9375em) { @media screen and (min-width: 40em) {
.hide-for-medium-only {
display: none !important;
}
body {
font-size: 85%;
}
}
@media screen and (max-width: 39.9375em) {
.show-for-medium {
display: none !important;
}
}
@media screen and (max-width: 39.9375em), screen and (min-width: 64em) {
.show-for-medium-only {
display: none !important;
}
}
@media screen and (min-width: 64em) {
.hide-for-large { .hide-for-large {
display: none !important; display: none !important;
} }
} }
@media screen and (max-width: 63.9375em) { @media screen and (max-width: 40em) {
.show-for-large { .show-for-large {
display: none !important; display: none !important;
} }
...@@ -713,7 +680,7 @@ code.simplesaml_version { ...@@ -713,7 +680,7 @@ code.simplesaml_version {
.enablebox tr td { .enablebox tr td {
padding: .5px 1em 1px .5em; padding: .5px 1em 1px .5em;
margin: 0px; margin: 0;
} }
.enablebox { .enablebox {
...@@ -729,7 +696,7 @@ code.simplesaml_version { ...@@ -729,7 +696,7 @@ code.simplesaml_version {
} }
fieldset.fancyfieldset { fieldset.fancyfieldset {
margin: 2em 1em 1em 0px; margin: 2em 1em 1em 0;
border: 1px solid #bbb; border: 1px solid #bbb;
} }
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
</div> </div>
{% endif %} {% endif %}
{% if not hideLanguageBar -%} {% if not hideLanguageBar -%}
<div id="languagebar"> <div id="languagebar" class="hide-for-large">
<div id="menu"> <div id="menu">
<div class="pure-menu"> <div class="pure-menu">
<ul class="pure-menu-list"> <ul class="pure-menu-list">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment