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

487 lines
6.2 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 {
2012-04-29 19:36:26 +04:00
font-size: 38px !important;
2020-08-12 10:26:17 +03:00
padding: 0 !important;
margin-left: 10%;
2012-04-24 17:05:55 +04:00
}
.brand span {
font-size: 48px;
line-height: 0;
2012-04-24 17:05:55 +04:00
}
.brand em {
display: inline;
color: #D40202;
font-size: 27px;
2012-04-24 17:05:55 +04:00
}
2012-05-16 12:38:45 +04:00
.about {
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 {
text-align: center;
}
2012-05-16 12:38:45 +04:00
.about span{
font-size: 10px;
}
2012-04-24 17:05:55 +04:00
/* body & other stuff */
2020-08-12 10:26:17 +03:00
body {
padding-bottom: 40px;
2012-04-24 17:05:55 +04:00
}
2020-08-11 12:55:29 +03:00
2020-08-12 10:26:17 +03:00
2012-04-24 17:05:55 +04:00
.sidebar-nav {
padding: 9px 0;
2012-04-24 17:05:55 +04:00
}
2012-04-24 18:58:01 +04:00
select {
width: 135px;
}
2020-08-12 10:26:17 +03:00
2012-04-24 18:58:01 +04:00
ul, ol {
padding: 0;
margin: 0;
2012-04-24 18:58:01 +04:00
}
2012-04-28 21:55:00 +04:00
li {
2012-04-29 19:36:26 +04:00
margin-left: -9px;
2012-04-24 18:58:01 +04:00
}
2020-08-12 10:26:17 +03:00
a {
color: #2ea1d7;
}
a:hover {
color: #1888bc;
2012-04-28 21:55:00 +04:00
}
2012-04-24 18:58:01 +04:00
p {
2012-04-28 12:52:33 +04:00
margin: 0 0 20px;
2012-04-24 18:58:01 +04:00
}
.grey {
color: #999;
}
.nav-list {
padding-right: 0px !important;
font-size: 12px;
}
2012-04-29 19:36:26 +04:00
blockquote {
width: 630px;
float: left;
2020-08-12 10:26:17 +03:00
}
2012-04-28 21:55:00 +04:00
2012-04-30 00:15:11 +04:00
.alert .title {
display:block;
}
2020-08-12 10:26:17 +03:00
2012-04-30 00:15:11 +04:00
2020-08-12 10:26:17 +03:00
.footer {
text-align: center;
bottom: 0px;
position: fixed;
height: 60px;
width: 100%;
display: block;
margin: 0px 0px 0px 0px;
padding: 8px 0 0 0;
left: 0;
background-color: #424141;
}
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 {
float:left;
2012-04-28 14:51:30 +04:00
}
html.file-upload p.file-upload {
2012-04-29 19:36:26 +04:00
float: left;
margin: 22px 0px 0px 21px;
display: none;
}
html.file-upload p.file-upload {
display:inherit;
}
html.no-file-upload p.file-upload {
display:none;
}
2012-04-29 19:36:26 +04:00
input.btn-upload {
position: relative;
left: -6px;
width: 100px;
z-index: 1;
2012-04-30 00:15:11 +04:00
margin-top: -13px;
2012-04-28 21:55:00 +04:00
}
2012-04-29 19:36:26 +04:00
input.hide-upload {
position: relative;
left: -110px;
-moz-opacity: 0;
filter: alpha(opacity=0);
2012-04-29 19:36:26 +04:00
opacity: 0 ;
z-index: 2;
width: 100px;
margin-top: -20px;
cursor: pointer;
cursor: hand;
height: 49px;
2012-04-28 14:51:30 +04:00
}
2012-04-29 19:36:26 +04:00
/* Paste Page */
2012-04-24 18:58:01 +04:00
#paste-content.linenums {
padding-left:0;
2012-04-24 18:58:01 +04:00
}
2012-04-29 19:36:26 +04:00
.submit-form {
display:none;
2012-04-30 00:15:11 +04:00
}
2020-08-12 10:26:17 +03:00
2012-04-29 19:36:26 +04: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
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 {
width: 100%;
min-height: 100px;
2012-04-29 19:36:26 +04:00
}
2012-05-07 12:33:55 +04:00
.prettyprint.linenums {
2020-08-12 10:26:17 +03:00
/* -webkit-box-shadow: inset 40px 0 0 #fbfbfc, inset 41px 0 0 #ececf0;
2012-04-29 19:36:26 +04:00
-moz-box-shadow: inset 40px 0 0 #fbfbfc, inset 41px 0 0 #ececf0;
2020-08-12 10:26:17 +03:00
box-shadow: inset 40px 0 0 #fbfbfc, inset 41px 0 0 #ececf0; */
2012-04-24 22:15:38 +04:00
}
2012-04-29 19:36:26 +04:00
/* Specify class=linenums on a pre to get line numbering */
ol.linenums {
margin: 0 0 0 55px; /* IE indents via margin-left */
}
2012-04-30 00:15:11 +04:00
ol.linenums li {
2020-08-12 10:26:17 +03:00
/* color: #bebec5;
2012-04-29 19:36:26 +04:00
line-height: 18px;
2020-08-12 10:26:17 +03:00
text-shadow: 0 1px 0 #fff; */
2012-04-29 19:36:26 +04:00
}
.prettyprint {
2020-08-12 10:26:17 +03:00
/* padding: 8px;
2012-04-29 19:36:26 +04:00
background-color: #f7f7f9;
2020-08-12 10:26:17 +03:00
border: 1px solid #e1e1e8; */
2012-04-29 19:36:26 +04:00
}
2012-04-28 16:50:48 +04:00
pre {
2020-08-12 10:26:17 +03:00
/* font-family: Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, monospace, serif;
2012-04-29 19:36:26 +04:00
line-height: 21px;
2020-08-12 10:26:17 +03:00
font-size: 12px; */
white-space: pre-wrap;
overflow: visible;
}
2012-04-29 19:36:26 +04:00
.kwd {
color: #66F;
}
2012-04-29 19:36:26 +04:00
.pun, .opn, .clo {
color: #0A0;
}
2012-04-28 17:05:52 +04:00
2012-04-29 19:36:26 +04:00
.lit {
color: #933;
}
2012-04-29 19:36:26 +04:00
.com {
color: #C0C;
}
2012-04-29 19:36:26 +04:00
/* Common css */
2020-08-12 10:26:17 +03:00
.form-control,
.form-control:focus,
.form-control:disabled,
.form-control[readonly],
#paste-content {
background-color: #375a7f;
color: #f9fafc;
border-radius: 3px;
}
2020-08-12 10:26:17 +03:00
.form-group {
/* margin-bottom: 1rem; */
margin-bottom: 0;
2012-04-28 21:57:18 +04:00
}
2020-08-12 10:26:17 +03:00
.select-date {
width: 320px;
float: right;
2012-04-29 19:36:26 +04:00
}
2020-08-12 10:26:17 +03:00
.select-date-clone {
width: 60%;
max-width: 320px;
2012-04-29 19:36:26 +04:00
}
2020-08-12 10:26:17 +03:00
.container-md {
margin-top: 20px;
padding-bottom: 80px;
}
2012-04-29 19:36:26 +04:00
form textarea {
overflow-y:auto;
2012-05-23 18:20:46 +04:00
min-height:250px;
2020-08-12 10:26:17 +03:00
}
2012-04-29 19:36:26 +04:00
.legal {
margin: 0 auto;
width: 300px;
text-align: center;
margin-top: 30px;
2012-04-28 21:57:18 +04:00
}
2020-08-12 10:26:17 +03:00
2012-04-28 21:57:18 +04:00
2012-05-01 17:20:10 +04:00
#alert-template {
display: none;
}
2020-08-12 10:26:17 +03:00
2012-05-01 17:20:10 +04:00
/** Progress bar */
2020-08-12 10:26:17 +03:00
.progress {
margin: 8px 0 8px 0;
height: 1.5rem;
display: none;
}
.progress .bar {
width: 25%;
2020-08-12 10:26:17 +03:00
padding: 12px;
text-align:left;
}
2020-08-12 10:26:17 +03:00
/* Previous paste list */
2020-08-12 10:26:17 +03:00
.progress-container {
margin: 8px 0 8px 0;
clear: both;
}
.previous-pastes canvas {
2012-05-16 12:38:45 +04:00
display:block;
float:left;
margin-right:5px;
}
html.local-storage .no-local-storage {
display:none;
}
html.no-local-storage .local-storage {
display:none;
}
canvas {
border: 1px solid white;
}
.noscript {
text-align: center;
color: red;
font-weight: bold;
}
2012-05-21 15:16:49 +04:00
#faq dt {
margin:2em 0 1em 0;
}
#faq p {
margin:1em;
2012-05-22 15:48:24 +04:00
}
#force-coloration {
text-decoration:underline;
}
#expiration-tag {
float:right;
2020-08-12 10:26:17 +03:00
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 {
background-color: #eee;
2020-08-12 10:26:17 +03:00
}
/* top Menu */
#topmenu {
display: none;
}
.topnav {
height: 60px;
background-color: #333;
}
.topnav .brand {
float: left;
display: block;
color: #f2f2f2;
text-align: center;
padding: 14px 16px;
text-decoration: none;
font-size: 17px;
width: 175px;
}
.topnav .tagline {
font-size: 0.9em;
padding: 8px;
float: left;
margin-left: 20px;
}
.topnav .tagline span{
font-style: italic;
}
.topnav a.active {
background-color: #4CAF50;
color: white;
}
.topnav .icon {
display: none;
}
.topnav .bi-list {
width: 2em;
height: 2em;
}
/* Styling the sub menu */
nav {
float: right;
margin: 18px;
}
nav ul li {
float: left;
list-style: none;
}
nav ul li a {
color: white;
background: #333333;
padding: 10px;
text-decoration: none;
}
nav ul li a:hover {
background: #375A7F;
border-radius: 3px;
color: #FFF;
text-decoration: none;
}
.submenu {
position: relative;
}
.submenu ul {
position: absolute;
margin: 8px 0 0px 9px;
display: none;
width: -webkit-fill-available;
z-index: 9999;
2020-08-11 12:55:29 +03:00
}
2020-08-12 10:26:17 +03:00
.submenu li{
display: block;
background: #375A7F;
color: white;
float: none;
}
/* Styling drop down links */
.submenu li a {
background: transparent;
padding:10px;
display: block;
}
.submenu li a:hover {
background: gray;
}
/* Showing Submenu on hover*/
.submenu:hover ul {
display: block;
}
/* Responsive */
@media screen and (max-width: 800px) {
.topnav a:not(:first-child) {display: none;}
.topnav .tagline {display: none;}
.brand { margin-left: 1%;}
/* Fonts */
.btn {font-size: 0.77em;}
pre {font-size: 70%;}
}
2020-08-12 11:11:51 +03:00