mirror of
https://github.com/PucelaBits/websegura.git
synced 2024-09-20 00:01:34 +02:00
306 lines
4.2 KiB
SCSS
306 lines
4.2 KiB
SCSS
@import "libs/vars";
|
|
@import "libs/functions";
|
|
@import "libs/mixins";
|
|
@import "libs/vendor";
|
|
@import "libs/breakpoints";
|
|
@import "libs/html-grid";
|
|
@import "fontawesome-all.min.css";
|
|
|
|
/*
|
|
Phantom by HTML5 UP
|
|
html5up.net | @ajlkn
|
|
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
|
|
*/
|
|
|
|
// Breakpoints.
|
|
|
|
@include breakpoints(
|
|
(
|
|
xlarge: (
|
|
1281px,
|
|
1680px,
|
|
),
|
|
large: (
|
|
981px,
|
|
1280px,
|
|
),
|
|
medium: (
|
|
737px,
|
|
980px,
|
|
),
|
|
small: (
|
|
481px,
|
|
736px,
|
|
),
|
|
xsmall: (
|
|
361px,
|
|
480px,
|
|
),
|
|
xxsmall: (
|
|
null,
|
|
360px,
|
|
),
|
|
)
|
|
);
|
|
|
|
// Base.
|
|
|
|
@import "base/reset";
|
|
@import "base/page";
|
|
@import "base/typography";
|
|
|
|
// Component.
|
|
|
|
@import "components/row";
|
|
@import "components/section";
|
|
@import "components/icon";
|
|
@import "components/list";
|
|
@import "components/actions";
|
|
@import "components/icons";
|
|
@import "components/form";
|
|
@import "components/box";
|
|
@import "components/image";
|
|
@import "components/table";
|
|
@import "components/button";
|
|
@import "components/tiles";
|
|
|
|
// Layout.
|
|
|
|
@import "layout/header";
|
|
@import "layout/menu";
|
|
@import "layout/main";
|
|
@import "layout/footer";
|
|
@import "layout/wrapper";
|
|
|
|
// Custom styles
|
|
|
|
h1 {
|
|
color: rgb(100, 149, 237);
|
|
text-align: center;
|
|
}
|
|
|
|
small {
|
|
font-size: 0.85em;
|
|
}
|
|
|
|
section {
|
|
margin-bottom: 1em;
|
|
}
|
|
|
|
hr {
|
|
clear: both;
|
|
}
|
|
|
|
#main p.button {
|
|
display: block;
|
|
max-width: 390px;
|
|
margin: 3em auto;
|
|
}
|
|
|
|
#main p.button a {
|
|
color: rgb(255, 67, 67);
|
|
}
|
|
|
|
p#banner-cta {
|
|
padding: 1px 4px;
|
|
background-color: #ffc;
|
|
text-align: center;
|
|
border-top: 1px solid;
|
|
border-bottom: 1px solid;
|
|
border-color: #0003;
|
|
font-size: 0.85em;
|
|
}
|
|
|
|
button.provincia {
|
|
margin-bottom: 9px;
|
|
font-size: 0.6em;
|
|
}
|
|
|
|
tr.danger {
|
|
background-color: #d9534f6e;
|
|
}
|
|
|
|
tr.severe {
|
|
background-color: #d9534f45;
|
|
}
|
|
|
|
tr.moderate {
|
|
background-color: #f0ad4e45;
|
|
}
|
|
|
|
tr.safe {
|
|
background-color: #3fad4645;
|
|
}
|
|
|
|
tr.unknown {
|
|
background-color: #eee8e8;
|
|
}
|
|
|
|
span.emoticon {
|
|
font-size: 2em;
|
|
}
|
|
|
|
ul.iconify li {
|
|
list-style: none;
|
|
margin: 1em 0;
|
|
line-height: 1.7em;
|
|
}
|
|
|
|
li.icon-list {
|
|
list-style: none;
|
|
padding-left: 0;
|
|
margin-left: -1em;
|
|
|
|
a {
|
|
margin-left: 4px;
|
|
}
|
|
}
|
|
|
|
p.subtitle {
|
|
margin: 2em 0 0.85em 0;
|
|
font-size: 1.1em;
|
|
}
|
|
|
|
.score-container {
|
|
max-width: 370px;
|
|
margin: auto;
|
|
|
|
.score-bar {
|
|
position: relative;
|
|
height: 12px;
|
|
width: 100%;
|
|
border-radius: 5px;
|
|
background: #f25757;
|
|
|
|
.score-progress {
|
|
position: absolute;
|
|
height: 12px;
|
|
background: #34ca96;
|
|
border-radius: 5px 0 0 5px;
|
|
}
|
|
}
|
|
|
|
p {
|
|
font-size: 0.85em;
|
|
text-align: center;
|
|
margin-top: 1em;
|
|
}
|
|
}
|
|
|
|
p.centered {
|
|
text-align: center;
|
|
}
|
|
|
|
p.featured {
|
|
font-weight: bold;
|
|
text-align: center;
|
|
}
|
|
|
|
p.featured .emoticon {
|
|
display: block;
|
|
}
|
|
|
|
p.featured .cta-twitter {
|
|
background-color: rgb(29, 161, 242);
|
|
color: #fff;
|
|
padding: 4px;
|
|
border-radius: 3px;
|
|
display: block;
|
|
max-width: 600px;
|
|
margin: auto;
|
|
}
|
|
|
|
#resultados table {
|
|
table-layout: fixed;
|
|
word-wrap: break-word;
|
|
}
|
|
|
|
#resultados table th#nota {
|
|
width: 65px;
|
|
}
|
|
|
|
#resultados table th#share {
|
|
width: 30%;
|
|
}
|
|
|
|
p.tablefooter {
|
|
float: right;
|
|
font-size: 0.8em;
|
|
font-style: italic;
|
|
}
|
|
|
|
#score {
|
|
color: #fff;
|
|
font-weight: bold;
|
|
font-size: 80px;
|
|
width: 128px;
|
|
border-radius: 12px;
|
|
display: inline-block;
|
|
height: 128px;
|
|
padding: 0;
|
|
text-align: center;
|
|
float: right;
|
|
border: 6px solid;
|
|
}
|
|
|
|
@include breakpoint("<=small") {
|
|
#score {
|
|
width: 80px;
|
|
height: 80px;
|
|
font-size: 45px;
|
|
}
|
|
}
|
|
|
|
#score.danger {
|
|
border-color: #801515;
|
|
background: #aa3939;
|
|
}
|
|
|
|
#score.severe {
|
|
border-color: #801515;
|
|
background: #aa3939;
|
|
}
|
|
|
|
#score.moderate {
|
|
border-color: #64482145;
|
|
background: #f0ad4eb3;
|
|
}
|
|
|
|
#score.safe {
|
|
border-color: #2d882d;
|
|
background: #161;
|
|
}
|
|
|
|
#score.unknown {
|
|
background: #eee8e8;
|
|
}
|
|
|
|
img[src*="#thumbnail"] {
|
|
width: 250px;
|
|
display: block;
|
|
float: left;
|
|
padding-right: 1em;
|
|
|
|
@include breakpoint("<=small") {
|
|
float: none;
|
|
margin: auto;
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
.score-list-wrapper {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
margin-bottom: 3em;
|
|
|
|
.score-container {
|
|
flex: 1;
|
|
min-width: 300px;
|
|
margin: 0 0.5em 1em;
|
|
}
|
|
}
|
|
|
|
.icon[data-popularity="high"] {
|
|
color: firebrick;
|
|
} |