1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-22 12:15:36 +01:00
bitwarden-server/util/Mail/wwwroot/styles.css

278 lines
4.8 KiB
CSS
Raw Normal View History

/* -------------------------------------
GLOBAL
A very basic CSS reset
------------------------------------- */
body, html, body * {
margin: 0;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
box-sizing: border-box;
2017-01-07 03:25:44 +01:00
font-size: 16px;
color: #333;
2017-01-07 03:25:44 +01:00
line-height: 25px;
-webkit-font-smoothing: antialiased;
-webkit-text-size-adjust: none;
}
img {
max-width: 100%;
border: none;
}
body {
-webkit-font-smoothing: antialiased;
-webkit-text-size-adjust: none;
width: 100% !important;
height: 100%;
2017-01-07 03:25:44 +01:00
line-height: 25px;
}
/* Let's make sure all tables have defaults */
table td {
vertical-align: top;
}
table td.middle {
vertical-align: middle;
}
/* -------------------------------------
BODY & CONTAINER
------------------------------------- */
body {
background-color: #f6f6f6;
}
.body-wrap {
background-color: #f6f6f6;
width: 100%;
}
2017-01-07 03:25:44 +01:00
.container, .container-table {
width: 600px;
max-width: 600px !important;
2017-01-07 03:25:44 +01:00
display: block !important;
/* makes it centered */
clear: both !important;
2017-01-07 03:25:44 +01:00
margin: 0 auto !important;
}
.content {
max-width: 600px;
margin: 0 auto;
display: block;
2017-01-07 03:25:44 +01:00
font-size: 0;
line-height: 0;
padding-bottom: 20px;
}
.content-banner {
padding-top: 20px;
}
/* -------------------------------------
LOGO, HEADER, FOOTER, MAIN
------------------------------------- */
.logo {
padding: 20px 0 10px;
text-align: center;
}
2017-01-07 03:25:44 +01:00
.banner, .banner img {
font-size: 0;
line-height: 0;
}
.main {
2017-01-07 03:25:44 +01:00
background-color: white;
border: 1px solid #e9e9e9;
border-radius: 3px;
}
2017-01-07 03:25:44 +01:00
.content-banner .main {
border-top-left-radius: 0;
border-top-right-radius: 0;
border-top: none;
}
.content-wrap {
padding: 20px;
}
.content-block {
2017-01-07 03:25:44 +01:00
padding: 0 0 10px;
}
2017-07-26 04:34:07 +02:00
.content-block-spaced {
padding: 0 0 25px;
}
2017-01-07 03:25:44 +01:00
.indented {
padding-left: 20px;
}
.li {
padding-left: 10px;
}
.footer {
width: 100%;
clear: both;
2017-01-07 03:25:44 +01:00
margin-top: 15px;
}
2017-01-07 03:25:44 +01:00
.footer, .footer p, .footer a, .footer td, .footer br {
color: #999;
font-size: 12px;
2017-01-07 03:25:44 +01:00
line-height: 20px;
}
2017-01-07 03:25:44 +01:00
.footer .social-icons table {
margin: 0 auto;
}
.footer .social-icons td {
padding: 0 10px;
}
2016-10-30 05:22:13 +01:00
/* -------------------------------------
TYPOGRAPHY
------------------------------------- */
.h3 {
font-size: 18px;
line-height: 25px;
2017-01-07 03:25:44 +01:00
font-weight: bold;
}
2017-01-07 03:25:44 +01:00
.biglink a {
font-size: 20px;
}
/* -------------------------------------
LINKS & BUTTONS
------------------------------------- */
a {
color: #3c8dbc;
text-decoration: underline;
}
.btn-primary {
text-decoration: none;
2017-01-07 03:25:44 +01:00
color: white;
background-color: #3c8dbc;
border: solid #3c8dbc;
border-width: 10px 20px;
line-height: 2em;
font-weight: bold;
text-align: center;
cursor: pointer;
display: inline-block;
border-radius: 5px;
text-transform: capitalize;
}
/* -------------------------------------
OTHER STYLES THAT MIGHT BE USEFUL
------------------------------------- */
.last {
margin-bottom: 0;
padding-bottom: 0;
}
.first {
margin-top: 0;
padding-top: 0;
}
.aligncenter {
text-align: center;
}
.alignright {
text-align: right;
}
.alignleft {
text-align: left;
}
.clear {
clear: both;
}
/* -------------------------------------
ALERTS
Change the class depending on warning email, good email or bad email
------------------------------------- */
.alert {
font-size: 16px;
color: #fff;
font-weight: 500;
padding: 20px;
text-align: center;
border-radius: 3px 3px 0 0;
}
.alert a {
2017-01-07 03:25:44 +01:00
color: white;
text-decoration: none;
font-weight: 500;
font-size: 16px;
}
.alert.alert-warning {
background-color: #FF9F00;
}
.alert.alert-bad {
background-color: #D0021B;
}
.alert.alert-good {
background-color: #68B90F;
}
/* -------------------------------------
RESPONSIVE AND MOBILE FRIENDLY STYLES
------------------------------------- */
2017-01-07 03:25:44 +01:00
@media only screen and (max-width: 600px) {
body {
padding: 0 !important;
}
2017-01-07 03:25:44 +01:00
.container, .container-table {
padding: 0 !important;
width: 100% !important;
}
.content {
2016-10-30 05:27:59 +01:00
padding: 0 0 10px 0 !important;
}
.content-wrap {
padding: 10px !important;
}
.invoice {
width: 100% !important;
}
.main {
border-right: none !important;
border-left: none !important;
border-radius: 0 !important;
}
.logo {
2016-10-30 05:27:59 +01:00
padding-top: 10px !important;
}
.footer {
2017-01-07 03:25:44 +01:00
margin-top: 10px !important;
}
.indented {
padding-left: 10px;
}
}