|
|
|
@ -1,22 +1,3 @@
|
|
|
|
|
/* Font info |
|
|
|
|
---------------------------------------- */ |
|
|
|
|
|
|
|
|
|
/* Variables |
|
|
|
|
---------------------------------------- */ |
|
|
|
|
:root { |
|
|
|
|
--upei-red: #8c2004; |
|
|
|
|
--upei-green: #5C8727; |
|
|
|
|
--upei-yellow: #fbb040; |
|
|
|
|
|
|
|
|
|
--primary: #365AB5; |
|
|
|
|
--secondary: #D05700; |
|
|
|
|
--dark: #232742; |
|
|
|
|
--light: #D5DCEE; |
|
|
|
|
--border: #99A4C1; |
|
|
|
|
|
|
|
|
|
--color-text: #444444; |
|
|
|
|
--color-heading: #111111; |
|
|
|
|
} |
|
|
|
|
/* Default box sizing. |
|
|
|
|
---------------------------------------- */ |
|
|
|
|
*, |
|
|
|
@ -47,7 +28,7 @@ html:focus-within {
|
|
|
|
|
} |
|
|
|
|
html { |
|
|
|
|
font-size: 16px; |
|
|
|
|
scroll-behavior: smooth; |
|
|
|
|
scroll-behavior: smooth; |
|
|
|
|
} |
|
|
|
|
html, |
|
|
|
|
body { |
|
|
|
@ -55,7 +36,19 @@ body {
|
|
|
|
|
} |
|
|
|
|
body { |
|
|
|
|
color: var(--color-text); |
|
|
|
|
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; |
|
|
|
|
background-color: var(--body-bg-color); |
|
|
|
|
font-family: |
|
|
|
|
system-ui, |
|
|
|
|
-apple-system, |
|
|
|
|
BlinkMacSystemFont, |
|
|
|
|
'Segoe UI', |
|
|
|
|
Roboto, |
|
|
|
|
Oxygen, |
|
|
|
|
Ubuntu, |
|
|
|
|
Cantarell, |
|
|
|
|
'Open Sans', |
|
|
|
|
'Helvetica Neue', |
|
|
|
|
sans-serif; |
|
|
|
|
font-size: 1rem; |
|
|
|
|
font-weight: 400; |
|
|
|
|
min-height: 100vh; |
|
|
|
@ -112,22 +105,22 @@ h6 {
|
|
|
|
|
line-height: 1.6; |
|
|
|
|
} |
|
|
|
|
h1 { |
|
|
|
|
font-size: 2.2rem; |
|
|
|
|
font-size: var(--h1-size); |
|
|
|
|
} |
|
|
|
|
h2 { |
|
|
|
|
font-size: 1.9rem; |
|
|
|
|
font-size: var(--h2-size); |
|
|
|
|
} |
|
|
|
|
h3 { |
|
|
|
|
font-size: 1.6rem; |
|
|
|
|
font-size: var(--h3-size); |
|
|
|
|
} |
|
|
|
|
h4 { |
|
|
|
|
font-size: 1.3rem; |
|
|
|
|
font-size: var(--h4-size); |
|
|
|
|
} |
|
|
|
|
h5 { |
|
|
|
|
font-size: 1.1rem; |
|
|
|
|
font-size: var(--h5-size); |
|
|
|
|
} |
|
|
|
|
h6 { |
|
|
|
|
font-size: 1.1rem; |
|
|
|
|
font-size: var(--h6-size); |
|
|
|
|
} |
|
|
|
|
p { |
|
|
|
|
margin: 0 0 1.2rem 0; |
|
|
|
@ -210,11 +203,12 @@ var {
|
|
|
|
|
mark { |
|
|
|
|
background: var(--primary); |
|
|
|
|
} |
|
|
|
|
acronym[title], abbr[title] { |
|
|
|
|
acronym[title], |
|
|
|
|
abbr[title] { |
|
|
|
|
border-bottom: none; |
|
|
|
|
text-decoration: underline; |
|
|
|
|
-webkit-text-decoration: underline dotted; |
|
|
|
|
text-decoration: underline dotted; |
|
|
|
|
text-decoration: underline dotted; |
|
|
|
|
} |
|
|
|
|
abbr, |
|
|
|
|
acronym { |
|
|
|
@ -228,7 +222,7 @@ canvas,
|
|
|
|
|
progress, |
|
|
|
|
video { |
|
|
|
|
vertical-align: baseline; |
|
|
|
|
max-width:100%; |
|
|
|
|
max-width: 100%; |
|
|
|
|
} |
|
|
|
|
audio:not([controls]) { |
|
|
|
|
display: none; |
|
|
|
@ -297,13 +291,13 @@ select {
|
|
|
|
|
text-transform: none; |
|
|
|
|
} |
|
|
|
|
.button { |
|
|
|
|
display:inline-block; |
|
|
|
|
display: inline-block; |
|
|
|
|
} |
|
|
|
|
.button, |
|
|
|
|
button, |
|
|
|
|
[type="button"], |
|
|
|
|
[type="reset"], |
|
|
|
|
[type="submit"] { |
|
|
|
|
[type='button'], |
|
|
|
|
[type='reset'], |
|
|
|
|
[type='submit'] { |
|
|
|
|
position: relative; |
|
|
|
|
cursor: pointer; |
|
|
|
|
border: 0; |
|
|
|
@ -312,16 +306,16 @@ button,
|
|
|
|
|
-webkit-appearance: button; |
|
|
|
|
} |
|
|
|
|
button::-moz-focus-inner, |
|
|
|
|
[type="button"]::-moz-focus-inner, |
|
|
|
|
[type="reset"]::-moz-focus-inner, |
|
|
|
|
[type="submit"]::-moz-focus-inner { |
|
|
|
|
[type='button']::-moz-focus-inner, |
|
|
|
|
[type='reset']::-moz-focus-inner, |
|
|
|
|
[type='submit']::-moz-focus-inner { |
|
|
|
|
border-style: none; |
|
|
|
|
padding: 0; |
|
|
|
|
} |
|
|
|
|
button:-moz-focusring, |
|
|
|
|
[type="button"]:-moz-focusring, |
|
|
|
|
[type="reset"]:-moz-focusring, |
|
|
|
|
[type="submit"]:-moz-focusring { |
|
|
|
|
[type='button']:-moz-focusring, |
|
|
|
|
[type='reset']:-moz-focusring, |
|
|
|
|
[type='submit']:-moz-focusring { |
|
|
|
|
outline: 0; |
|
|
|
|
} |
|
|
|
|
button[disabled], |
|
|
|
@ -346,19 +340,19 @@ input,
|
|
|
|
|
textarea { |
|
|
|
|
max-width: 100%; |
|
|
|
|
} |
|
|
|
|
input[type="text"], |
|
|
|
|
input[type="email"], |
|
|
|
|
input[type="url"], |
|
|
|
|
input[type="password"], |
|
|
|
|
input[type="search"], |
|
|
|
|
input[type='text'], |
|
|
|
|
input[type='email'], |
|
|
|
|
input[type='url'], |
|
|
|
|
input[type='password'], |
|
|
|
|
input[type='search'], |
|
|
|
|
textarea { |
|
|
|
|
padding: 10px; |
|
|
|
|
} |
|
|
|
|
input[type="text"]:focus, |
|
|
|
|
input[type="email"]:focus, |
|
|
|
|
input[type="url"]:focus, |
|
|
|
|
input[type="password"]:focus, |
|
|
|
|
input[type="search"]:focus, |
|
|
|
|
input[type='text']:focus, |
|
|
|
|
input[type='email']:focus, |
|
|
|
|
input[type='url']:focus, |
|
|
|
|
input[type='password']:focus, |
|
|
|
|
input[type='search']:focus, |
|
|
|
|
textarea:focus { |
|
|
|
|
outline: 0; |
|
|
|
|
} |
|
|
|
@ -366,28 +360,28 @@ textarea {
|
|
|
|
|
width: 100%; |
|
|
|
|
overflow: auto; |
|
|
|
|
} |
|
|
|
|
[type="checkbox"], |
|
|
|
|
[type="radio"] { |
|
|
|
|
[type='checkbox'], |
|
|
|
|
[type='radio'] { |
|
|
|
|
padding: 0; |
|
|
|
|
cursor: pointer; |
|
|
|
|
-webkit-box-sizing: border-box; |
|
|
|
|
-moz-box-sizing: border-box; |
|
|
|
|
box-sizing: border-box; |
|
|
|
|
} |
|
|
|
|
[type="number"]::-webkit-inner-spin-button, |
|
|
|
|
[type="number"]::-webkit-outer-spin-button { |
|
|
|
|
[type='number']::-webkit-inner-spin-button, |
|
|
|
|
[type='number']::-webkit-outer-spin-button { |
|
|
|
|
height: auto; |
|
|
|
|
} |
|
|
|
|
[type="search"] { |
|
|
|
|
[type='search'] { |
|
|
|
|
-webkit-appearance: textfield; |
|
|
|
|
outline-offset: -2px; |
|
|
|
|
-webkit-appearance: textfield; |
|
|
|
|
-moz-appearance: textfield; |
|
|
|
|
} |
|
|
|
|
[type="search"]::-webkit-search-decoration { |
|
|
|
|
[type='search']::-webkit-search-decoration { |
|
|
|
|
-webkit-appearance: none; |
|
|
|
|
} |
|
|
|
|
[type="file"] { |
|
|
|
|
[type='file'] { |
|
|
|
|
cursor: pointer; |
|
|
|
|
} |
|
|
|
|
fieldset { |
|
|
|
@ -420,7 +414,7 @@ label[for] {
|
|
|
|
|
margin-bottom: 1rem; |
|
|
|
|
} |
|
|
|
|
.form-required:after { |
|
|
|
|
content: "*"; |
|
|
|
|
content: '*'; |
|
|
|
|
display: inline-block; |
|
|
|
|
padding-left: 4px; |
|
|
|
|
color: red; |
|
|
|
@ -445,11 +439,11 @@ label.option {
|
|
|
|
|
:-ms-input-placeholder { |
|
|
|
|
color: var(--border); |
|
|
|
|
} |
|
|
|
|
.field--name-body input[type="text"], |
|
|
|
|
.field--name-body input[type="email"], |
|
|
|
|
.field--name-body input[type="url"], |
|
|
|
|
.field--name-body input[type="password"], |
|
|
|
|
.field--name-body input[type="search"], |
|
|
|
|
.field--name-body input[type='text'], |
|
|
|
|
.field--name-body input[type='email'], |
|
|
|
|
.field--name-body input[type='url'], |
|
|
|
|
.field--name-body input[type='password'], |
|
|
|
|
.field--name-body input[type='search'], |
|
|
|
|
.field--name-body textarea { |
|
|
|
|
display: block; |
|
|
|
|
margin-bottom: 0.8rem; |
|
|
|
@ -490,38 +484,38 @@ blockquote > :last-child {
|
|
|
|
|
|
|
|
|
|
/* List |
|
|
|
|
---------------------------------------- */ |
|
|
|
|
ul, |
|
|
|
|
ol { |
|
|
|
|
margin: 0; |
|
|
|
|
padding: 0 0 0.25rem 1rem; |
|
|
|
|
} |
|
|
|
|
[dir="rtl"] ul, |
|
|
|
|
[dir="rtl"] ol { |
|
|
|
|
padding: 0 1rem 0.25rem 0; |
|
|
|
|
} |
|
|
|
|
ol ol, |
|
|
|
|
ul ul { |
|
|
|
|
margin: 0; |
|
|
|
|
padding: 0 0 0.25rem 1rem; |
|
|
|
|
} |
|
|
|
|
[dir="rtl"] ol ol, |
|
|
|
|
[dir="rtl"] ul ul { |
|
|
|
|
padding: 0 1rem 0.25rem 0; |
|
|
|
|
} |
|
|
|
|
ul { |
|
|
|
|
list-style: disc; |
|
|
|
|
} |
|
|
|
|
li > ul, |
|
|
|
|
li > ol { |
|
|
|
|
margin-bottom: 0; |
|
|
|
|
} |
|
|
|
|
[dir="rtl"] ul, |
|
|
|
|
[dir="rtl"] ol { |
|
|
|
|
padding: 0 1rem 0.25rem 0; |
|
|
|
|
} |
|
|
|
|
li { |
|
|
|
|
padding: 4px 0; |
|
|
|
|
} |
|
|
|
|
ul, |
|
|
|
|
ol { |
|
|
|
|
margin: 0; |
|
|
|
|
padding: 0 0 0.25rem 1rem; |
|
|
|
|
} |
|
|
|
|
[dir='rtl'] ul, |
|
|
|
|
[dir='rtl'] ol { |
|
|
|
|
padding: 0 1rem 0.25rem 0; |
|
|
|
|
} |
|
|
|
|
ol ol, |
|
|
|
|
ul ul { |
|
|
|
|
margin: 0; |
|
|
|
|
padding: 0 0 0.25rem 1rem; |
|
|
|
|
} |
|
|
|
|
[dir='rtl'] ol ol, |
|
|
|
|
[dir='rtl'] ul ul { |
|
|
|
|
padding: 0 1rem 0.25rem 0; |
|
|
|
|
} |
|
|
|
|
ul { |
|
|
|
|
list-style: disc; |
|
|
|
|
} |
|
|
|
|
li > ul, |
|
|
|
|
li > ol { |
|
|
|
|
margin-bottom: 0; |
|
|
|
|
} |
|
|
|
|
[dir='rtl'] ul, |
|
|
|
|
[dir='rtl'] ol { |
|
|
|
|
padding: 0 1rem 0.25rem 0; |
|
|
|
|
} |
|
|
|
|
li { |
|
|
|
|
padding: 4px 0; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/* Table |
|
|
|
|
---------------------------------------- */ |
|
|
|
|