cheatsheet.css 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. /*
  2. To change this license header, choose License Headers in Project Properties.
  3. To change this template file, choose Tools | Templates
  4. and open the template in the editor.
  5. */
  6. /*
  7. Created on : Dec 30, 2016, 12:20:28 PM
  8. Author : Anto
  9. */
  10. article {
  11. overflow: hidden;
  12. }
  13. article section li {
  14. list-style-type: none;
  15. text-align:left;
  16. }
  17. article section li a {
  18. color:black;
  19. }
  20. article section li a:hover {
  21. color:white;
  22. background-color:black;
  23. }
  24. article h1 {
  25. font-size: .9em;
  26. margin: 0;
  27. padding: .5rem 1rem;
  28. background: rgba(0,0,0,.1);
  29. text-transform: uppercase;
  30. }
  31. article h2 {
  32. text-align:left;
  33. }
  34. article>div div {
  35. min-width: 100px;
  36. }
  37. @media (min-width: 600px) {
  38. article>div>div {
  39. -webkit-box-flex: 1;
  40. -ms-flex-positive: 1;
  41. -webkit-flex-grow: 1;
  42. flex-grow: 1;
  43. display: inline-block;
  44. float: left;
  45. }
  46. }
  47. /***********WRAPPER***********************/
  48. .wrapper-iframe {
  49. width: calc(100% - 40px);
  50. height: calc(100% - 40px);
  51. background: white;
  52. display:none;
  53. position: fixed;
  54. left:20px;
  55. top: 30px;
  56. z-index: 1045;
  57. }
  58. #content-iframe {
  59. -webkit-box-orient: vertical;
  60. display: -webkit-box;
  61. padding: 5px;
  62. width: 100%;
  63. height: 100%;
  64. box-sizing: border-box;
  65. display: -webkit-flex;
  66. display: -ms-flexbox;
  67. display: flex;
  68. -ms-flex-direction: column;
  69. -webkit-flex-direction: column;
  70. flex-direction: column;
  71. }
  72. #content-iframe div {
  73. -webkit-box-flex: 1;
  74. -ms-flex-positive: 1;
  75. -webkit-flex-grow: 1;
  76. flex-grow: 1;
  77. position: relative;
  78. margin-top:44px;
  79. }
  80. #content-iframe button {
  81. overflow: visible;
  82. cursor: pointer;
  83. background: transparent;
  84. border: 0;
  85. -webkit-appearance: none;
  86. display: block;
  87. outline: none;
  88. padding: 0;
  89. z-index: 1046;
  90. box-shadow: none;
  91. -ms-touch-action: manipulation;
  92. touch-action: manipulation;
  93. width: 44px;
  94. height: 44px;
  95. line-height: 44px;
  96. position: absolute;
  97. right: 0;
  98. top: 0;
  99. text-decoration: none;
  100. text-align: center;
  101. opacity: .65;
  102. padding: 0 0 18px 10px;
  103. color: black;
  104. font-style: normal;
  105. font-size: 28px;
  106. font-family: Arial,Baskerville,monospace;
  107. }