example.css 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. * {
  2. margin: 0px;
  3. padding: 0px;
  4. font-family: Arial, Helvetica, FreeSans, sans;
  5. }
  6. h1 {
  7. text-align: center;
  8. background: #eee;
  9. padding: 5px;
  10. margin-bottom: 0.6em;
  11. font-size: 1.5em;
  12. }
  13. .header {
  14. width: 650px;
  15. margin: 0px auto 1em;
  16. }
  17. p+p {
  18. margin-top: 1em;
  19. }
  20. .explanation {
  21. color: #555;
  22. margin-top: 0.3em;
  23. }
  24. .section+.section, .explanation+.section {
  25. margin-top: 1.5em;
  26. }
  27. .hex {
  28. text-transform: uppercase;
  29. }
  30. .hex, .base64, #ciphertext {
  31. font-family: 'Courier', mono;
  32. }
  33. .wide, textarea {
  34. width: 100%;
  35. margin: 0px -4px;
  36. font-size: inherit;
  37. text-align: left;
  38. }
  39. textarea+*, .wide+* {
  40. margin-top: 0.3em;
  41. }
  42. /* bulk object placement */
  43. #theForm {
  44. position: relative;
  45. width: 940px;
  46. margin: 0px auto;
  47. font-size: 0.8em;
  48. }
  49. .column {
  50. top: 0px;
  51. width: 300px;
  52. }
  53. .box {
  54. border: 2px solid #999;
  55. padding: 7px;
  56. margin-bottom: 20px;
  57. -moz-border-radius: 7px;
  58. -webkit-border-radius: 7px;
  59. }
  60. #cmode { position: absolute; left: 640px; }
  61. #ctexts { position: absolute; left: 320px; }
  62. .floatright {
  63. float: right;
  64. text-align: right;
  65. }
  66. a {
  67. cursor: pointer;
  68. color: #282;
  69. }
  70. a.random, #buttons a { text-decoration: none; }
  71. a.random:hover, a.random:focus { text-decoration: underline; }
  72. h2 {
  73. margin: -7px -7px 3px -7px;
  74. text-align: center;
  75. font-size: 1.2em;
  76. color: white;
  77. background: #999;
  78. }
  79. #pplaintext { border-color: #f65; }
  80. #pplaintext h2 { background: #f65; }
  81. #ppassword { border-color: #4a4; }
  82. #ppassword h2 { background: #4a4; }
  83. #pciphertext { border-color: #78f; }
  84. #pciphertext h2 { background: #78f; }
  85. #buttons { text-align: center; margin-top: -20px; }
  86. a#doPbkdf2, a#encrypt, a#decrypt {
  87. display: inline-block;
  88. text-align: center;
  89. height: 43px;
  90. padding-top: 20px;
  91. width: 50px;
  92. background: url('alpha-arrow.png') no-repeat bottom center;
  93. vertical-align: middle;
  94. border: none;
  95. color: white;
  96. overflow: hidden;
  97. }
  98. .turnDown {
  99. display: inline-block;
  100. padding-bottom: 3px;
  101. -moz-transform: rotate(90deg);
  102. -webkit-transform: rotate(90deg);
  103. transform: rotate(90deg);
  104. background-color: inherit;
  105. }
  106. .turnUp {
  107. display: inline-block;
  108. padding-bottom: 3px;
  109. -moz-transform: rotate(-90deg);
  110. -webkit-transform: rotate(-90deg);
  111. transform: rotate(-90deg);
  112. background-color: inherit;
  113. }
  114. .buttons a.disabled {
  115. background-color: #ccc ! important;
  116. cursor: inherit ! important;
  117. }
  118. a#encrypt { background-color: #f65; margin-bottom: 2px; }
  119. a#encrypt:hover, a#encrypt:focus { background-color: #f76; }
  120. a#encrypt:active { background-color: #f87; }
  121. a#decrypt {
  122. height: 36px;
  123. padding-top: 27px;
  124. background: url('alpha-arrow.png') no-repeat top center;
  125. background-color: #78f;
  126. margin-top: 2px;
  127. }
  128. a#decrypt:hover { background-color: #89f; }
  129. a#decrypt:focus { background-color: #89f; }
  130. a#decrypt:active { background-color: #9af; }
  131. #ppassword, #pkey, #pmode, #pplaintext, #pciphertext {
  132. -moz-border-radius: 7px;
  133. -webkit-border-radius: 7px;
  134. }
  135. input[type='text'], input[type='password'], textarea {
  136. -moz-border-radius: 3px;
  137. -webkit-border-radius: 3px;
  138. font-size: inherit;
  139. border: 1px solid #444;
  140. padding: 3px;
  141. }
  142. input[type='text']:focus, input[type='password']:focus, textarea:focus {
  143. border-color: red;
  144. }
  145. input[type="radio"], input[type="checkbox"] {
  146. position: relative;
  147. top: 0.15em;
  148. margin-right: -0.15em;
  149. }