ccshare.css 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271
  1. /*! ccshare.css v0.0.7 | (c) C.I.R.C.E.'s & affini | https://ima.circex.org/license.md */
  2. /* === LICENZA = LICENSE ===
  3. * This file is released under license Against DRM 2.0 - We do not like DRM
  4. *
  5. * The license guarantees the rights to: reproduce, distribute, publish, perform, broadcast, modify, elaborate, transcribe, translate, lend, rent and sell the content.
  6. * It prohibits to use the content, when distributed togeher with Digital Rights Management mechanisms.
  7. * For more information on DRM see https://www.defectivebydesign.org/what_is_drm_digital_restrictions_management
  8. *
  9. * Every re-distribution, sharing, modification has to maintain the same conditions, mentioning the original authors
  10. * Read the full license at https://web.archive.org/web/20170327160245/http://www.freecreations.org/Against_DRM2.html
  11. * or in the file called LICENSE.md that comes together with this file.
  12. *
  13. * The original authors of this piece of code can be contacted, supported, etc. by email: info at circe dot org
  14. *
  15. * Please keep the following (C) notice, if you are working on this file.
  16. * [Original work] Copyright (C) [2019] [C.I.R.C.E.'s & affini https://circex.org]
  17. *
  18. * === "The method is content" = "Il metodo e' contenuto" ===
  19. */
  20. @font-face {
  21. font-family: 'FontAwesome';
  22. src: url('fonts/fontawesome-webfont.eot?v=4.7.0');
  23. src: url('fonts/fontawesome-webfont.eot?#iefix&v=4.7.0') format('embedded-opentype'), url('fonts/fontawesome-webfont.woff2?v=4.7.0') format('woff2'), url('fonts/fontawesome-webfont.woff?v=4.7.0') format('woff'), url('fonts/fontawesome-webfont.ttf?v=4.7.0') format('truetype'), url('fonts/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular') format('svg');
  24. font-weight: normal;
  25. font-style: normal;
  26. }
  27. html, body{
  28. font-family: 'Linux Libertine', Times, serif;
  29. line-height:1.4em;
  30. font-size:16px;
  31. }
  32. div#ccshare_panel {
  33. font-family: source_sans_pro, Arial, sans-serif;
  34. font-size:20px;
  35. color:#c00;
  36. text-align:left;
  37. width: auto;
  38. min-height:1em;
  39. border: 0;
  40. width:19.5%;
  41. position:absolute;
  42. right:0;
  43. display:none;
  44. z-index:999;
  45. /* -webkit-box-shadow:-1px 0px 20px 0px rgba(71,71,71,0.8);
  46. -moz-box-shadow:-1px 0px 20px 0px rgba(71,71,71,0.8);
  47. box-shadow:-1px 0px 20px 0px rgba(71,71,71,0.8);*/
  48. /*border-radius: 10px;*/
  49. }
  50. div#ccshare_panel a, div#ccshare_panel a:visited, div#ccshare_panel a:active{
  51. text-decoration: none;
  52. color:#c00;
  53. }
  54. div#ccshare_cctext a:hover{
  55. text-decoration: underline;
  56. }
  57. div.ccshare_icon{
  58. display: flex;
  59. align-items: center;
  60. margin:2px 0;}
  61. div#ccshare_title{
  62. width: 100%;
  63. /*background: url('../images/title.png') left top no-repeat;*/
  64. /* height: 30px;
  65. margin-top: 0;
  66. flex: 1 0 0;*/
  67. }
  68. div#ccshare_subtitle{
  69. font-weight: bold;
  70. padding:0.5em 0 0 0;
  71. }
  72. div#ccshare_text{
  73. display: none;
  74. padding: 0;
  75. font-family: 'Linux Libertine', Times, serif;
  76. line-height: 1.3em;
  77. max-height: 85px;
  78. overflow-y: scroll;
  79. margin: 1em 0 0.5em;
  80. font-size:0.85rem;
  81. }
  82. div#ccshare_reference{
  83. display: none;
  84. background: url('../images/reference.png') left top no-repeat;
  85. background-size: 27px 27px;
  86. padding-left: 34px;
  87. height: 27px;
  88. font-family: 'Linux Libertine', Times, serif;
  89. font-size:0.85rem;
  90. }
  91. div#ccshare_link{
  92. display: none;
  93. background: url('../images/link.png') left top no-repeat;
  94. background-size: 27px 27px;
  95. padding-left: 34px;
  96. height: 27px;
  97. font-family: 'Linux Libertine', Times, serif;
  98. font-size:0.85rem;
  99. }
  100. #ccshare_cc{
  101. width: 100%;
  102. height: 30px;
  103. background: url('../images/creative-commons_red.png') left top no-repeat;
  104. /* background-size: 114px 27px;
  105. padding-left: 121px;
  106. height: 27px;*/
  107. font-family: source_sans_pro, Arial, sans-serif;
  108. /* font-size:0.85rem;*/
  109. }
  110. div#ccshare_botton{
  111. height:30px;
  112. flex: 3 0 0;
  113. }
  114. div#ccshare_botton a, div#ccshare_botton a:visited, div#ccshare_botton a:active{
  115. display: inline-block;
  116. padding: 2px 5px;
  117. font-size: 14px;
  118. line-height: 20px;
  119. text-align: center;
  120. vertical-align: middle;
  121. cursor: pointer;
  122. color: #fff;
  123. background:#c00;
  124. border:3px solid transparent;
  125. font-weight:700;
  126. background-image: none;
  127. white-space: nowrap;
  128. -webkit-user-select: none;
  129. -moz-user-select: none;
  130. -ms-user-select: none;
  131. user-select: none;
  132. text-transform:uppercase;
  133. border-radius: 20px;
  134. width: 14px;
  135. }
  136. div#ccshare_botton a:not(:last-child){
  137. margin-right: 3px;
  138. }
  139. div#ccshare_botton a.facebook, div#ccshare_botton a.twitter{
  140. width: 20px;
  141. padding: 5px;
  142. font-size: 17px;}
  143. div#ccshare_botton a:hover{
  144. color: #c00;
  145. background:#fcfcfc;
  146. border:3px solid #c00;
  147. }
  148. div#ccshare_head{
  149. margin-top:2px;
  150. margin-bottom:20px;
  151. }
  152. .fabutt{
  153. font-family: 'FontAwesome';
  154. }
  155. [class^="icon-"], [class*=" icon-"] {
  156. display: inline;
  157. width: auto;
  158. height: auto;
  159. line-height: normal;
  160. vertical-align: baseline;
  161. background-image: none;
  162. background-position: 0% 0%;
  163. background-repeat: repeat;
  164. margin: 0;
  165. font-family: 'FontAwesome';
  166. font-weight: normal;
  167. font-style: normal;
  168. text-decoration: inherit;
  169. }
  170. [class^="icon-"]:before, [class*=" icon-"]:before {
  171. text-decoration: inherit;
  172. display: inline-block;
  173. speak: none;
  174. }
  175. .icon-copy:before {
  176. content: "\f0c5";
  177. color:#fff;
  178. margin: 0 5px 0 0;
  179. }
  180. .icon-facebook:before {
  181. content: "\f09a";
  182. color:#fff;
  183. }
  184. .icon-twitter:before {
  185. content: "\f099";
  186. color:#fff;
  187. }
  188. div#ccshare_botton a:hover [class^="icon-"]:before, div#ccshare_botton a:hover [class*=" icon-"]:before{
  189. color:#000;
  190. }
  191. .icon-caret-down:before {
  192. content: "\f0d7";
  193. padding-left: 5px;
  194. }
  195. #fuori{
  196. background:#F00;
  197. color:#FFF;
  198. padding:30px;}
  199. @media(max-width:740px){
  200. div#ccshare_panel {
  201. width:96%;
  202. position:fixed;
  203. font-size: 0.85rem;
  204. padding:2%;
  205. background-color: #fcfcfc;
  206. border-top:1px solid #c00;
  207. padding-bottom:0;
  208. }
  209. div#ccshare_panel:after {
  210. border: 0;
  211. }
  212. div#ccshare_subtitle {
  213. padding: 0.3em 0 0 0;
  214. }
  215. div#ccshare_text {
  216. margin:0 0 0.5em 0;
  217. font-size: 0.80rem;
  218. }
  219. div#ccshare_head{
  220. width: 50%;
  221. float:left;
  222. display: inline;
  223. }
  224. div#command_line{
  225. text-align: right;
  226. width: 50%;
  227. float: left;
  228. display: inline;
  229. }
  230. div#ccshare_cc{
  231. background: url('../images/creative-commons_red.png') right top no-repeat;
  232. }
  233. div#ccshare_botton a{
  234. font-size:12px;
  235. }
  236. div#ccshare_reference, div#ccshare_link, div#ccshare_cc {
  237. font-size: 0.75rem;
  238. line-height: 1;
  239. }
  240. }