PageRenderTime 28ms CodeModel.GetById 21ms RepoModel.GetById 1ms app.codeStats 0ms

/wp-admin/css/about-rtl.css

https://gitlab.com/Gashler/sg
CSS | 464 lines | 346 code | 84 blank | 34 comment | 0 complexity | 070bb778119c82963673e25e8d87a22a MD5 | raw file
  1. /*------------------------------------------------------------------------------
  2. 22.0 - About Pages
  3. 1.0 Global: About, Credits, Freedoms
  4. 1.1 Typography
  5. 1.2 Structure
  6. 1.3 Point Releases
  7. 2.0 About Page
  8. 2.1 Typography
  9. 2.2 Structure
  10. 3.0 Credits & Freedoms Pages
  11. ------------------------------------------------------------------------------*/
  12. /*------------------------------------------------------------------------------
  13. 1.0 - Global: About, Credits, Freedoms
  14. ------------------------------------------------------------------------------*/
  15. .about-wrap {
  16. position: relative;
  17. margin: 25px 20px 0 40px;
  18. max-width: 1050px; /* readability */
  19. font-size: 15px;
  20. }
  21. .about-wrap div.updated,
  22. .about-wrap div.error,
  23. .about-wrap .notice {
  24. display: none !important;
  25. }
  26. .about-wrap hr {
  27. border: 0;
  28. height: 0;
  29. margin: 0;
  30. border-top: 1px solid rgba(0, 0, 0, 0.1);
  31. }
  32. .about-wrap img {
  33. margin: 0;
  34. max-width: 100%;
  35. height: auto;
  36. vertical-align: middle;
  37. }
  38. .about-wrap .jetpack-video-wrapper {
  39. margin-bottom: 0;
  40. }
  41. /* WordPress Version Badge */
  42. .wp-badge {
  43. background: #0073aa url(../images/w-logo-white.png?ver=20131202) no-repeat;
  44. background-position: center 24px;
  45. -webkit-background-size: 85px 85px;
  46. background-size: 85px 85px;
  47. color: #78c8e6;
  48. font-size: 14px;
  49. text-align: center;
  50. font-weight: 600;
  51. margin: 5px 0 0;
  52. padding-top: 120px;
  53. height: 40px;
  54. display: inline-block;
  55. width: 150px;
  56. text-rendering: optimizeLegibility;
  57. -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  58. box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  59. }
  60. .svg .wp-badge {
  61. background-image: url(../images/wordpress-logo-white.svg?ver=20131110);
  62. }
  63. .about-wrap .wp-badge {
  64. position: absolute;
  65. top: 0;
  66. left: 0;
  67. }
  68. /* Tabs */
  69. .about-wrap h2.nav-tab-wrapper {
  70. padding-right: 6px;
  71. }
  72. .about-wrap h2 .nav-tab {
  73. padding: 4px 15px 6px;
  74. margin: 0 0 -1px 3px;
  75. font-size: 18px;
  76. vertical-align: top;
  77. border-width: 1px;
  78. white-space: nowrap;
  79. }
  80. /* 1.1 - Typography */
  81. .about-wrap p {
  82. line-height: 1.6em;
  83. font-size: 14px;
  84. }
  85. .about-wrap h1 {
  86. margin: 0.2em 0 0 200px;
  87. padding: 0;
  88. color: #32373c;
  89. line-height: 1.2em;
  90. font-size: 2.8em;
  91. font-weight: 400;
  92. }
  93. .about-wrap h3 {
  94. margin: 1.25em 0 .6em;
  95. font-size: 1.25em;
  96. line-height: 1.5em;
  97. }
  98. .about-wrap h4 {
  99. color: #23282d;
  100. }
  101. .about-wrap code,
  102. .about-wrap ol li p {
  103. font-size: 14px;
  104. font-weight: normal;
  105. }
  106. .about-wrap .about-description,
  107. .about-wrap .about-text {
  108. margin-top: 1.4em;
  109. font-weight: normal;
  110. line-height: 1.6em;
  111. font-size: 19px;
  112. }
  113. .about-wrap .about-text {
  114. margin: 1em 0 1em 200px;
  115. min-height: 60px;
  116. color: #777;
  117. }
  118. /* 1.2 - Structure */
  119. .about-wrap [class$=col] .col {
  120. float: right;
  121. position: relative;
  122. }
  123. .about-wrap .two-col .col {
  124. margin-left: 4.799999999%;
  125. width: 47.6%;
  126. }
  127. .about-wrap .three-col .col {
  128. margin-left: 4.999999999%;
  129. width: 29.95%;
  130. }
  131. .about-wrap .two-col .col:nth-of-type(2n),
  132. .about-wrap .three-col .col:nth-of-type(3n) {
  133. margin-left: 0;
  134. }
  135. /* 1.3 - Point Releases */
  136. .about-wrap .point-releases {
  137. margin-top: 5px;
  138. border-bottom: 1px solid #dfdfdf;
  139. }
  140. .about-wrap .changelog.point-releases h3 {
  141. padding-top: 35px;
  142. }
  143. .about-wrap .changelog.point-releases h3:first-child {
  144. padding-top: 7px;
  145. }
  146. /*------------------------------------------------------------------------------
  147. 2.0 - About Page
  148. ------------------------------------------------------------------------------*/
  149. /* 2.1 - Typography */
  150. .about-wrap .headline-feature h2 {
  151. margin: 50px 0 30px;
  152. font-size: 2.2em;
  153. font-weight: 300;
  154. line-height: 1.3;
  155. text-align: right;
  156. }
  157. .about-wrap .headline-feature h3 {
  158. margin-top: 30px;
  159. text-align: center;
  160. }
  161. .about-wrap .feature-list h2 {
  162. margin: 30px 0 15px;
  163. text-align: center;
  164. }
  165. .about-wrap .feature-section h4 {
  166. margin: 1.4em 0 0.6em 0;
  167. font-size: 1em;
  168. }
  169. .about-wrap .feature-section p {
  170. margin-top: 0.6em;
  171. }
  172. /* 2.2 - Structure */
  173. .about-wrap .feature-video {
  174. position: relative;
  175. margin: 40px 0;
  176. padding-bottom: 56.25%; /* video is 1280 x 720 */
  177. width: 100%;
  178. height: 0;
  179. text-align: center;
  180. }
  181. .about-wrap .feature-video embed {
  182. position: absolute;
  183. top: 0;
  184. right: 0;
  185. width: 100%;
  186. height: 100%;
  187. }
  188. .about-wrap .featured-image {
  189. text-align: center;
  190. }
  191. .about-wrap .feature-section {
  192. overflow: hidden;
  193. padding: 0 0 40px;
  194. border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  195. }
  196. .about-wrap .headline-feature .feature-section {
  197. margin: 0 auto;
  198. max-width: 95%;
  199. }
  200. .about-wrap .feature-section .media-container {
  201. border: 1px solid #ddd;
  202. overflow: hidden;
  203. }
  204. .about-wrap .feature-section .svg-container {
  205. padding: 50px 0;
  206. text-align: center;
  207. background-color: #e1e1e3;
  208. }
  209. .about-wrap .feature-section .svg-container img {
  210. max-width: 150px;
  211. }
  212. .about-wrap .feature-section:not(.under-the-hood) .col {
  213. margin-top: 40px;
  214. }
  215. .about-wrap .changelog {
  216. margin-bottom: 40px;
  217. }
  218. .about-wrap .changelog.feature-section .col {
  219. margin-top: 40px;
  220. }
  221. /* Return to Dashboard Home link */
  222. .about-wrap .return-to-dashboard {
  223. margin: 30px -5px 0 0;
  224. font-size: 14px;
  225. font-weight: bold;
  226. }
  227. .about-wrap .return-to-dashboard a {
  228. text-decoration: none;
  229. padding: 0 5px;
  230. }
  231. .about-wrap .feature-list.finer-points h4,
  232. .about-wrap .feature-list.finer-points p {
  233. margin-right: 115px;
  234. }
  235. /*------------------------------------------------------------------------------
  236. 3.0 - Credits & Freedoms Pages
  237. ------------------------------------------------------------------------------*/
  238. /* Credits */
  239. .about-wrap h4.wp-people-group {
  240. margin-top: 2.6em;
  241. font-size: 16px;
  242. }
  243. .about-wrap ul.wp-people-group {
  244. overflow: hidden;
  245. padding: 0 5px;
  246. margin: 0 -5px 0 -15px;
  247. }
  248. .about-wrap ul.compact {
  249. margin-bottom: 0
  250. }
  251. .about-wrap li.wp-person {
  252. display: inline-block;
  253. vertical-align: top;
  254. margin-left: 10px;
  255. padding-bottom: 15px;
  256. height: 70px;
  257. width: 280px;
  258. }
  259. .about-wrap ul.compact li.wp-person {
  260. height: auto;
  261. width: 180px;
  262. padding-bottom: 0;
  263. margin-bottom: 0;
  264. }
  265. .about-wrap li.wp-person img.gravatar {
  266. float: right;
  267. margin: 0 0 10px 10px;
  268. padding: 2px;
  269. width: 60px;
  270. height: 60px;
  271. }
  272. .about-wrap ul.compact li.wp-person img.gravatar {
  273. width: 30px;
  274. height: 30px;
  275. }
  276. .about-wrap li.wp-person a.web {
  277. display: block;
  278. margin: 6px 0 2px;
  279. font-size: 16px;
  280. font-weight: normal;
  281. line-height: 1.6em;
  282. text-decoration: none;
  283. }
  284. .about-wrap #wp-people-group-validators + p.wp-credits-list {
  285. margin-top: 0;
  286. }
  287. .about-wrap p.wp-credits-list a {
  288. white-space: nowrap;
  289. }
  290. /* Freedoms */
  291. .freedoms-php .about-wrap ol {
  292. margin: 40px 60px;
  293. }
  294. .freedoms-php .about-wrap ol li {
  295. list-style-type: decimal;
  296. font-weight: bold;
  297. }
  298. .freedoms-php .about-wrap ol p {
  299. font-weight: normal;
  300. margin: 0.6em 0;
  301. }
  302. /*------------------------------------------------------------------------------
  303. 4.0 - Media Queries
  304. ------------------------------------------------------------------------------*/
  305. @media screen and ( max-width: 782px ) {
  306. .about-wrap .feature-section {
  307. padding: 0;
  308. border-bottom: none;
  309. }
  310. .about-wrap [class$=col] .col {
  311. float: none;
  312. width: 100%;
  313. margin: 40px 0 0;
  314. padding: 0 0 40px;
  315. border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  316. }
  317. .about-wrap .three-col img {
  318. display: block;
  319. margin: 0 auto;
  320. }
  321. .about-wrap .feature-list .col {
  322. margin: 0;
  323. padding: 0;
  324. border-bottom: none;
  325. }
  326. .about-wrap .headline-feature .feature-section {
  327. max-width: 100%;
  328. }
  329. .about-wrap .feature-list .feature-section {
  330. padding: 0 0 40px;
  331. }
  332. }
  333. @media only screen and (max-width: 500px) {
  334. .about-wrap {
  335. margin-left: 20px;
  336. margin-right: 10px;
  337. }
  338. .about-wrap h1,
  339. .about-wrap .about-text {
  340. margin-left: 0;
  341. }
  342. .about-wrap .about-text {
  343. margin-bottom: 0.25em;
  344. }
  345. .about-wrap .wp-badge {
  346. position: relative;
  347. margin-bottom: 1.5em;
  348. width: 100%;
  349. }
  350. .about-wrap h2.nav-tab-wrapper {
  351. padding-right: 0;
  352. border-bottom: 0;
  353. }
  354. .about-wrap h2 .nav-tab {
  355. margin-top: 10px;
  356. margin-left: 10px;
  357. border-bottom: 1px solid #ccc;
  358. }
  359. .about-wrap .feature-section .svg-container {
  360. padding-top: 20px;
  361. padding-bottom: 20px;
  362. }
  363. .about-wrap .three-col .col,
  364. .about-wrap .headline-feature .feature-section .col {
  365. width: 100% !important;
  366. float: none !important;
  367. }
  368. }
  369. @media only screen and (max-width: 400px) {
  370. .about-wrap .feature-list svg {
  371. margin-top: 15px;
  372. height: 65px;
  373. width: 65px;
  374. }
  375. .about-wrap .feature-list.finer-points h4,
  376. .about-wrap .feature-list.finer-points p {
  377. margin-right: 80px;
  378. }
  379. }