1
0
mirror of https://github.com/Tygs/0bin.git synced 2023-08-10 21:13:00 +03:00
0bin/zerobin/static/css/style.css

522 lines
6.4 KiB
CSS
Raw Normal View History

2020-08-11 12:55:29 +03:00
[v-cloak] {
display: none
}
.noscript {
position: relative;
top: 25%;
border: 25px solid red;
}
2012-04-24 17:05:55 +04:00
2020-08-11 12:55:29 +03:00
/* logo */
2012-04-24 17:05:55 +04:00
.brand {
2020-08-12 12:00:41 +03:00
font-size: 38px !important;
padding: 0 !important;
margin-left: 10%;
2012-04-24 17:05:55 +04:00
}
.brand span {
2020-08-12 12:00:41 +03:00
font-size: 48px;
line-height: 0;
2012-04-24 17:05:55 +04:00
}
.brand em {
2020-08-12 12:00:41 +03:00
display: inline;
color: #D40202;
font-size: 27px;
2012-04-24 17:05:55 +04:00
}
2012-05-16 12:38:45 +04:00
.about {
2020-08-12 12:00:41 +03:00
line-height: 13px;
font-style: italic;
text-align: right;
padding-top: 9px;
margin-bottom: 0 !important;
2012-05-16 12:38:45 +04:00
}
2012-05-21 19:14:01 +04:00
.center {
2020-08-12 12:00:41 +03:00
text-align: center;
2012-05-21 19:14:01 +04:00
}
2020-08-12 12:00:41 +03:00
.about span {
font-size: 10px;
2012-05-16 12:38:45 +04:00
}
2012-04-24 17:05:55 +04:00
/* body & other stuff */
2020-08-12 16:27:46 +03:00
.blk-space {
2020-08-12 18:26:21 +03:00
height: 20px;
display: block;
2020-08-12 16:27:46 +03:00
}
2012-04-24 17:05:55 +04:00
.sidebar-nav {
2020-08-12 12:00:41 +03:00
padding: 9px 0;
2012-04-24 17:05:55 +04:00
}
2012-04-24 18:58:01 +04:00
select {
2020-08-12 12:00:41 +03:00
width: 135px;
2012-04-24 18:58:01 +04:00
}
2020-08-12 12:00:41 +03:00
ul,
ol {
padding: 0;
margin: 0;
2012-04-24 18:58:01 +04:00
}
2020-08-12 18:26:21 +03:00
2020-08-12 10:26:17 +03:00
a {
2020-08-12 12:00:41 +03:00
color: #2ea1d7;
2020-08-12 10:26:17 +03:00
}
a:hover {
2020-08-12 12:00:41 +03:00
color: #1888bc;
2012-04-28 21:55:00 +04:00
}
2012-04-24 18:58:01 +04:00
p {
2020-08-12 12:00:41 +03:00
margin: 0 0 20px;
2012-04-24 18:58:01 +04:00
}
.grey {
2020-08-12 12:00:41 +03:00
color: #999;
}
.nav-list {
2020-08-12 12:00:41 +03:00
padding-right: 0px !important;
font-size: 12px;
}
2012-04-29 19:36:26 +04:00
blockquote {
2020-08-12 12:00:41 +03:00
width: 630px;
float: left;
}
2012-04-28 21:55:00 +04:00
2012-04-30 00:15:11 +04:00
.alert .title {
2020-08-12 12:00:41 +03:00
display: block;
}
2020-08-12 16:27:46 +03:00
/* Footer */
/* See:
https://philipwalton.github.io/solved-by-flexbox/demos/sticky-footer/
*/
2020-08-13 15:54:34 +03:00
#app {
display: flex;
min-height: 100vh;
flex-direction: column;
}
#wrap-content {
flex: 1;
}
2020-08-12 12:00:41 +03:00
.footer {
text-align: center;
height: 60px;
width: 100%;
2020-08-13 15:54:34 +03:00
position: relative;
2020-08-12 12:00:41 +03:00
display: block;
margin: 0px 0px 0px 0px;
padding: 8px 0 0 0;
background-color: #424141;
}
2020-08-12 15:25:22 +03:00
.footer li {
2020-08-12 18:26:21 +03:00
list-style-type: none;
display: inline;
2020-08-12 15:25:22 +03:00
}
2020-08-12 18:26:21 +03:00
.footer li span {
color: #2ea1d7;
2020-08-12 15:25:22 +03:00
}
2020-08-12 18:26:21 +03:00
.footer li span:hover {
color: #1888bc;
text-decoration: underline;
cursor: pointer;
2020-08-12 15:25:22 +03:00
}
.footer li:not(:last-child):after {
2020-08-12 18:26:21 +03:00
content: ' -';
2020-08-12 15:25:22 +03:00
}
2012-04-29 19:36:26 +04:00
/* Home */
2012-04-28 21:55:00 +04:00
2012-04-29 19:36:26 +04:00
.btn-group {
2020-08-12 12:00:41 +03:00
float: left;
2012-04-28 14:51:30 +04:00
}
html.file-upload p.file-upload {
2020-08-12 12:00:41 +03:00
float: left;
margin: 22px 0px 0px 21px;
display: none;
}
html.file-upload p.file-upload {
2020-08-12 12:00:41 +03:00
display: inherit;
}
html.no-file-upload p.file-upload {
2020-08-12 12:00:41 +03:00
display: none;
}
2012-04-29 19:36:26 +04:00
input.btn-upload {
2020-08-12 12:00:41 +03:00
position: relative;
left: -6px;
width: 100px;
z-index: 1;
margin-top: -13px;
2012-04-28 21:55:00 +04:00
}
2012-04-29 19:36:26 +04:00
input.hide-upload {
2020-08-12 12:00:41 +03:00
position: relative;
2020-08-13 16:25:19 +03:00
left: -80px;
2020-08-12 12:00:41 +03:00
-moz-opacity: 0;
filter: alpha(opacity=0);
opacity: 0;
z-index: 2;
2020-08-14 11:26:04 +03:00
width: 0;
2020-08-12 12:00:41 +03:00
margin-top: -20px;
cursor: pointer;
cursor: hand;
2020-08-13 16:25:19 +03:00
height: 24px;
2012-04-28 14:51:30 +04:00
}
2012-04-29 19:36:26 +04:00
/* Paste Page */
2020-08-13 16:25:19 +03:00
.paste-wrapper {
width: 100%;
text-align: center;
background-color: #333333;
margin-bottom: 8px;
}
.pre-wrapper {
margin: 8px 0 8px 0;
}
2020-08-13 18:17:46 +03:00
.paste-wrapper img {
2020-08-13 16:25:19 +03:00
width: 94%;
}
#paste-content.linenums {
2020-08-12 12:00:41 +03:00
padding-left: 0;
2012-04-24 18:58:01 +04:00
}
2012-04-29 19:36:26 +04:00
.submit-form {
2020-08-12 12:00:41 +03:00
display: none;
2012-04-30 00:15:11 +04:00
}
2012-04-29 19:36:26 +04:00
2020-08-12 12:00:41 +03:00
a#clip-button.hover {
cursor: pointer;
text-decoration: underline;
2012-04-30 00:15:11 +04:00
}
2012-04-29 19:36:26 +04:00
2020-08-12 12:00:41 +03:00
li.L0,
li.L1,
li.L2,
li.L3,
li.L4,
li.L5,
li.L6,
li.L7,
li.L8,
li.L9 {
list-style-type: decimal;
background: inherit;
2012-04-28 14:51:30 +04:00
}
2020-08-12 10:26:17 +03:00
pre.prettyprint {
2020-08-12 12:00:41 +03:00
width: 100%;
min-height: 100px;
2020-08-13 18:26:25 +03:00
padding: 5px;
2020-08-12 18:26:21 +03:00
}
2012-04-29 19:36:26 +04:00
/* Specify class=linenums on a pre to get line numbering */
ol.linenums {
2020-08-12 12:00:41 +03:00
margin: 0 0 0 55px;
/* IE indents via margin-left */
2020-08-12 18:26:21 +03:00
}
2020-08-12 18:26:21 +03:00
pre {
2020-08-12 12:00:41 +03:00
white-space: pre-wrap;
overflow: visible;
}
2020-08-12 18:26:21 +03:00
2020-08-13 17:54:23 +03:00
.reader-wrapper {
color: #f2f2f2;
max-width: 800px;
width: 90%;
text-align: justify;
margin: auto;
margin-top: 20px;
}
2012-04-29 19:36:26 +04:00
/* Common css */
2020-08-12 10:26:17 +03:00
.form-control,
.form-control:focus,
2020-08-12 12:00:41 +03:00
.form-control:disabled,
2020-08-12 10:26:17 +03:00
.form-control[readonly],
#paste-content {
2020-08-12 12:00:41 +03:00
background-color: #375a7f;
color: #f9fafc;
border-radius: 3px;
}
2020-08-12 12:00:41 +03:00
2020-08-12 10:26:17 +03:00
.form-group {
2020-08-12 12:00:41 +03:00
margin-bottom: 0;
2012-04-28 21:57:18 +04:00
}
2020-08-12 12:00:41 +03:00
2020-08-13 16:25:19 +03:00
.download-link {
border-top-left-radius: 3px !important;
border-bottom-left-radius: 3px !important;
}
2020-08-13 18:17:46 +03:00
.download-link a {
color: #eee;
2020-08-13 16:25:19 +03:00
}
2020-08-13 18:17:46 +03:00
.download-link a:hover {
text-decoration: none;
2020-08-13 16:25:19 +03:00
}
2020-08-12 10:26:17 +03:00
.select-date {
2020-08-12 12:00:41 +03:00
width: 320px;
float: right;
2012-04-29 19:36:26 +04:00
}
2020-08-12 12:00:41 +03:00
2020-08-12 10:26:17 +03:00
.select-date-clone {
2020-08-12 12:00:41 +03:00
width: 60%;
max-width: 320px;
2012-04-29 19:36:26 +04:00
}
2020-08-12 12:00:41 +03:00
2020-08-12 10:26:17 +03:00
.container-md {
2020-08-12 12:00:41 +03:00
margin-top: 20px;
2020-08-12 16:27:46 +03:00
padding-bottom: 130px;
2020-08-12 12:00:41 +03:00
}
2012-04-29 19:36:26 +04:00
form textarea {
2020-08-12 12:00:41 +03:00
overflow-y: auto;
min-height: 250px;
}
2012-04-29 19:36:26 +04:00
.legal {
2020-08-12 12:00:41 +03:00
margin: 0 auto;
width: 300px;
text-align: center;
margin-top: 30px;
2012-04-28 21:57:18 +04:00
}
2012-05-01 17:20:10 +04:00
#alert-template {
2020-08-12 12:00:41 +03:00
display: none;
2012-05-01 17:20:10 +04:00
}
/** Progress bar */
2020-08-12 12:00:41 +03:00
.progress {
margin: 8px 0 8px 0;
height: 1.5rem;
}
.progress .bar {
2020-08-12 12:00:41 +03:00
width: 25%;
padding: 12px;
text-align: left;
}
2020-08-12 12:00:41 +03:00
/* Previous paste list */
2020-08-12 10:26:17 +03:00
.progress-container {
2020-08-12 12:00:41 +03:00
margin: 8px 0 8px 0;
clear: both;
}
html.local-storage .no-local-storage {
2020-08-12 12:00:41 +03:00
display: none;
}
html.no-local-storage .local-storage {
2020-08-12 12:00:41 +03:00
display: none;
}
canvas {
2020-08-12 12:00:41 +03:00
border: 1px solid white;
}
.noscript {
2020-08-12 12:00:41 +03:00
text-align: center;
color: red;
font-weight: bold;
}
2012-05-21 15:16:49 +04:00
#faq dt {
2020-08-12 12:00:41 +03:00
margin: 2em 0 1em 0;
2012-05-21 15:16:49 +04:00
}
#faq p {
2020-08-12 12:00:41 +03:00
margin: 1em;
2012-05-22 15:48:24 +04:00
}
#force-coloration {
2020-08-12 12:00:41 +03:00
text-decoration: underline;
}
#expiration-tag {
2020-08-12 12:00:41 +03:00
float: right;
margin: 1em;
background: grey;
color: white;
font-size: 0.8em;
padding: 0 1ex;
opacity: 0.5;
filter: alpha(opacity=50);
font-weight: bold;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
-moz-background-clip: padding;
-webkit-background-clip: padding-box;
background-clip: padding-box;
}
#content.hover {
2020-08-12 12:00:41 +03:00
background-color: #eee;
2020-08-12 10:26:17 +03:00
}
/* top Menu */
2020-08-12 12:00:41 +03:00
.topnav {
2020-08-12 10:26:17 +03:00
height: 60px;
2020-08-12 12:00:41 +03:00
background-color: #333;
2020-08-12 10:26:17 +03:00
}
.topnav .brand {
float: left;
display: block;
color: #f2f2f2;
text-align: center;
padding: 14px 16px;
text-decoration: none;
font-size: 17px;
width: 175px;
}
2020-08-12 12:00:41 +03:00
2020-08-12 10:26:17 +03:00
.topnav .tagline {
2020-08-12 12:00:41 +03:00
font-size: 0.9em;
padding: 8px;
float: left;
margin-left: 20px;
2020-08-12 10:26:17 +03:00
}
2020-08-12 12:00:41 +03:00
.topnav .tagline span {
font-style: italic;
2020-08-12 10:26:17 +03:00
}
.topnav a.active {
background-color: #4CAF50;
color: white;
}
.topnav .icon {
display: none;
}
/* Styling the sub menu */
nav {
2020-08-12 12:00:41 +03:00
float: right;
margin: 18px;
2020-08-12 10:26:17 +03:00
}
2020-08-12 12:00:41 +03:00
2020-08-12 10:26:17 +03:00
nav ul li {
float: left;
list-style: none;
}
nav ul li a {
color: white;
background: #333333;
padding: 10px;
2020-08-12 12:00:41 +03:00
text-decoration: none;
2020-08-12 10:26:17 +03:00
}
nav ul li a:hover {
2020-08-12 12:00:41 +03:00
background: #375A7F;
border-radius: 3px;
color: #FFF;
text-decoration: none;
2020-08-12 10:26:17 +03:00
}
2020-08-12 12:00:41 +03:00
2020-08-12 10:26:17 +03:00
.submenu {
position: relative;
}
2020-08-12 18:26:21 +03:00
.submenu ul {
position: absolute;
2020-08-13 16:25:19 +03:00
margin: 6px 0 0px 0px;
2020-08-12 18:26:21 +03:00
width: fill-available;
z-index: 999;
border: 1px solid #666;
border-radius: 3px;
padding: 0;
2020-08-13 16:25:19 +03:00
width: 133px;
border-top: 0px;
2020-08-11 12:55:29 +03:00
}
2020-08-12 10:26:17 +03:00
2020-08-12 12:00:41 +03:00
.submenu li {
2020-08-12 10:26:17 +03:00
display: block;
background: #375A7F;
color: white;
2020-08-12 12:00:41 +03:00
float: none;
2020-08-12 10:26:17 +03:00
}
/* Styling drop down links */
.submenu li a {
background: transparent;
2020-08-12 12:00:41 +03:00
padding: 10px;
2020-08-12 10:26:17 +03:00
display: block;
}
.submenu li a:hover {
background: gray;
}
/* Showing Submenu on hover*/
.submenu:hover ul {
display: block;
}
/* Responsive */
2020-08-13 16:25:19 +03:00
@media screen and (max-width: 840px) {
2020-08-12 12:00:41 +03:00
.topnav a:not(:first-child) {
display: none;
}
2020-08-12 10:26:17 +03:00
2020-08-12 12:00:41 +03:00
.topnav .tagline {
display: none;
}
2020-08-12 10:26:17 +03:00
2020-08-12 12:00:41 +03:00
.brand {
margin-left: 1%;
}
2020-08-12 10:26:17 +03:00
2020-08-12 12:00:41 +03:00
/* Fonts */
.btn {
font-size: 0.77em;
}
2020-08-12 10:26:17 +03:00
2020-08-12 12:00:41 +03:00
pre {
font-size: 70%;
}
2020-08-13 16:25:19 +03:00
2020-08-13 18:17:46 +03:00
}
2020-08-13 16:25:19 +03:00
2020-08-13 18:17:46 +03:00
/* reader mode */
2020-08-13 16:25:19 +03:00
2020-08-13 18:17:46 +03:00
#readable-paste-content {
white-space: pre;
2020-08-12 12:00:41 +03:00
}