Advertisement
agunq

style

Oct 29th, 2014
300
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.62 KB | None | 0 0
  1. body {
  2.     background-color: #FFF;
  3.     margin: 0;
  4.     padding: 0;
  5.     font-family: Arial;
  6. }
  7. #info {
  8.     width: 100%;
  9.     position: absolute;
  10.     top: 0;
  11.     height: 50px;
  12.     background-color: #111;
  13.     color: #ccc;
  14.     font-family: 'League Gothic', arial, sans-serif;
  15. }
  16. #info h1 {
  17.     margin: 0 0 0 20px;
  18.     float: left;
  19.     font-size: 40px;
  20.     color: #660066;
  21.     line-height: 52px;
  22. }
  23.  
  24. #info h2 {
  25.     margin: 14px 0 0 5px;
  26.     float: left;
  27.     font-size: 20px;
  28. }
  29.  
  30. #pic {
  31.     margin: 4px;
  32.     width: 40px;
  33.     height: 40px;
  34.     border: 1px solid #999;
  35.     border-radius: 4px;
  36.     overflow: hidden;
  37.     -webkit-transition: all .5s ease;
  38.      -moz-transition: all .5s ease;
  39.      -o-transition: all .5s ease;
  40.     transition: all .5s ease;
  41. }
  42.  
  43. #info h3 {
  44.     margin: 19px 0 0 15px;
  45.     float: right;
  46.     font-size: 20px;
  47. }
  48.  
  49.  
  50. #code {width: 100%; height: 90%; top: 50px; left: 0; position: absolute; color: #ccc;}
  51.  
  52. /*PRE*/
  53. pre {
  54.     background-color:#233948;
  55.     font:12px/15px "Inconsolata","Monaco","Consolas","Andale Mono","Bitstream Vera Sans Mono","Courier New",Courier,monospace;
  56.     color:#333;
  57.     border:1px solid #990033;
  58.     position:relative;
  59.     padding:0 7px;
  60.     margin:10px 0;
  61.     overflow:auto;
  62.     word-wrap:normal;
  63.     white-space:pre;
  64.     box-shadow:0 1px 2px rgba(0,0,0,0.2);
  65.     position:relative;
  66. }
  67.  
  68. pre[data-codetype]:before {
  69.     content:attr(data-codetype);
  70.     display:block;
  71.     position:absolute;
  72.     top:0;
  73.     right:0;
  74.     left:0;
  75.     background-color:#CC0033;
  76.     padding: 0px;
  77.     font:bold 12px/20px Arial,Sans-Serif;
  78.     color:white;
  79.     border-color:#990033;color:#FFFFFF;
  80. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement