PageRenderTime 24ms CodeModel.GetById 15ms RepoModel.GetById 0ms app.codeStats 0ms

/wp-admin/css/about.css

https://gitlab.com/webkod3r/tripolis
CSS | 481 lines | 358 code | 89 blank | 34 comment | 0 complexity | 95db5eece947287d156afe6ec7ca8403 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 40px 0 20px;
  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=20160308) no-repeat;
  44. background-position: center 25px;
  45. -webkit-background-size: 80px 80px;
  46. background-size: 80px 80px;
  47. color: #fff;
  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: 140px;
  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=20160308);
  62. }
  63. .about-wrap .wp-badge {
  64. position: absolute;
  65. top: 0;
  66. right: 0;
  67. }
  68. /* Tabs */
  69. .about-wrap .nav-tab {
  70. padding-right: 15px;
  71. padding-left: 15px;
  72. font-size: 18px;
  73. }
  74. /* 1.1 - Typography */
  75. .about-wrap p {
  76. line-height: 1.6em;
  77. font-size: 14px;
  78. }
  79. .about-wrap h1 {
  80. margin: 0.2em 200px 0 0;
  81. padding: 0;
  82. color: #32373c;
  83. line-height: 1.2em;
  84. font-size: 2.8em;
  85. font-weight: 400;
  86. }
  87. .about-wrap h2 {
  88. margin: 50px 0 1em;
  89. font-size: 1.8em;
  90. line-height: 1.3;
  91. font-weight: 300;
  92. text-align: center;
  93. }
  94. .about-wrap .changelog h2,
  95. .about-wrap h3 {
  96. margin: 1.25em 0 .6em;
  97. font-size: 1.25em;
  98. line-height: 1.5em;
  99. }
  100. .about-wrap .changelog h2 {
  101. margin-top: 40px;
  102. font-weight: 600;
  103. text-align: left;
  104. }
  105. .about-wrap h4 {
  106. color: #23282d;
  107. }
  108. .about-wrap .changelog h3 {
  109. margin: 1.33em 0;
  110. font-size: 1em;
  111. line-height: inherit;
  112. color: #23282d;
  113. }
  114. .about-wrap code,
  115. .about-wrap ol li p {
  116. font-size: 14px;
  117. font-weight: normal;
  118. }
  119. .about-wrap .about-description,
  120. .about-wrap .about-text {
  121. margin-top: 1.4em;
  122. font-weight: normal;
  123. line-height: 1.6em;
  124. font-size: 19px;
  125. }
  126. .about-wrap .about-text {
  127. margin: 1em 200px 1em 0;
  128. min-height: 60px;
  129. color: #555d66;
  130. }
  131. /* 1.2 - Structure */
  132. .about-wrap [class$=col] .col {
  133. float: left;
  134. position: relative;
  135. }
  136. .about-wrap .two-col .col {
  137. margin-right: 4.799999999%;
  138. width: 47.6%;
  139. }
  140. .about-wrap .two-col img {
  141. margin-bottom: 1.5em;
  142. }
  143. .about-wrap .feature-section.two-col .col {
  144. display: inline-block;
  145. float: none;
  146. margin-top: 1em;
  147. margin-right: 4.799999999%;
  148. width: -webkit-calc( 47.6% - 4px );
  149. width: calc( 47.6% - 4px );
  150. vertical-align: top;
  151. }
  152. .about-wrap .three-col .col {
  153. margin-right: 4.999999999%;
  154. width: 29.95%;
  155. }
  156. .about-wrap .two-col .col:nth-of-type(2n),
  157. .about-wrap .three-col .col:nth-of-type(3n) {
  158. margin-right: 0;
  159. }
  160. .about-wrap .under-the-hood {
  161. clear: both;
  162. overflow: hidden;
  163. }
  164. .about-wrap .under-the-hood:nth-of-type(2n) {
  165. margin-top: 3em;
  166. }
  167. /* 1.3 - Point Releases */
  168. .about-wrap .point-releases {
  169. margin-top: 5px;
  170. border-bottom: 1px solid #ddd;
  171. }
  172. .about-wrap .changelog.point-releases h3 {
  173. padding-top: 35px;
  174. }
  175. .about-wrap .changelog.point-releases h3:first-child {
  176. padding-top: 7px;
  177. }
  178. /*------------------------------------------------------------------------------
  179. 2.0 - About Page
  180. ------------------------------------------------------------------------------*/
  181. /* 2.1 - Typography */
  182. .about-wrap .headline-feature h2 {
  183. margin: 30px 0 30px;
  184. font-size: 2.2em;
  185. font-weight: 300;
  186. line-height: 1.3;
  187. text-align: center;
  188. }
  189. .about-wrap .headline-feature h3 {
  190. margin-top: 0;
  191. text-align: left;
  192. }
  193. .about-wrap .feature-section.two-col h3 {
  194. margin-top: 0;
  195. }
  196. .about-wrap .feature-section h4 {
  197. margin: 1.4em 0 0.6em 0;
  198. font-size: 1em;
  199. }
  200. .about-wrap .feature-section p {
  201. margin-top: 0.6em;
  202. }
  203. .about-wrap .two-col-text {
  204. -webkit-column-count: 2;
  205. -moz-column-count: 2;
  206. column-count: 2;
  207. -webkit-column-gap: 40px;
  208. -moz-column-gap: 40px;
  209. column-gap: 40px;
  210. }
  211. .about-wrap .two-col-text p:first-of-type {
  212. margin-top: 0;
  213. }
  214. /* 2.2 - Structure */
  215. .about-wrap .headline-feature.feature-video {
  216. position: relative;
  217. margin: 40px 0;
  218. padding-bottom: 56.25%;
  219. width: 100%;
  220. max-width: 100%;
  221. height: 0;
  222. text-align: center;
  223. }
  224. .about-wrap .feature-video embed {
  225. position: absolute;
  226. top: 0;
  227. left: 0;
  228. width: 100%;
  229. height: 100%;
  230. }
  231. .about-wrap .featured-image {
  232. text-align: center;
  233. }
  234. .about-wrap .feature-section {
  235. overflow: hidden;
  236. padding: 0 0 40px;
  237. }
  238. .about-wrap .headline-feature {
  239. margin: 0 auto;
  240. max-width: 80%;
  241. }
  242. .about-wrap .feature-section .media-container {
  243. overflow: hidden;
  244. }
  245. .about-wrap .embed-container {
  246. text-align: center;
  247. }
  248. .about-wrap .embed-container iframe {
  249. max-width: 100%;
  250. }
  251. .about-wrap .wp-embedded-content {
  252. max-width: 100%;
  253. }
  254. .about-wrap .feature-section .col {
  255. margin-top: 40px;
  256. }
  257. .about-wrap .changelog {
  258. margin-bottom: 40px;
  259. }
  260. .about-wrap .changelog.feature-section .col {
  261. margin-top: 40px;
  262. }
  263. /* Return to Dashboard Home link */
  264. .about-wrap .return-to-dashboard {
  265. margin: 30px 0 0 -5px;
  266. font-size: 14px;
  267. font-weight: bold;
  268. }
  269. .about-wrap .return-to-dashboard a {
  270. text-decoration: none;
  271. padding: 0 5px;
  272. }
  273. /*------------------------------------------------------------------------------
  274. 3.0 - Credits & Freedoms Pages
  275. ------------------------------------------------------------------------------*/
  276. /* Credits */
  277. .about-wrap h3.wp-people-group {
  278. margin: 2.6em 0 1.33em;
  279. padding: 0;
  280. font-size: 16px;
  281. line-height: inherit;
  282. }
  283. .about-wrap .wp-people-group {
  284. padding: 0 5px;
  285. margin: 0 -15px 0 -5px;
  286. }
  287. .about-wrap .compact {
  288. margin-bottom: 0
  289. }
  290. .about-wrap .wp-person {
  291. display: inline-block;
  292. vertical-align: top;
  293. margin-right: 10px;
  294. padding-bottom: 15px;
  295. height: 70px;
  296. width: 280px;
  297. }
  298. .about-wrap .compact .wp-person {
  299. height: auto;
  300. width: 180px;
  301. padding-bottom: 0;
  302. margin-bottom: 0;
  303. }
  304. .about-wrap .wp-person .gravatar {
  305. float: left;
  306. margin: 0 10px 10px 0;
  307. padding: 1px;
  308. width: 60px;
  309. height: 60px;
  310. }
  311. .about-wrap .compact .wp-person .gravatar {
  312. width: 30px;
  313. height: 30px;
  314. }
  315. .about-wrap .wp-person .web {
  316. margin: 6px 0 2px;
  317. font-size: 16px;
  318. font-weight: normal;
  319. line-height: 2em;
  320. text-decoration: none;
  321. }
  322. .about-wrap .wp-person .title {
  323. display: block;
  324. }
  325. .about-wrap #wp-people-group-validators + p.wp-credits-list {
  326. margin-top: 0;
  327. }
  328. .about-wrap p.wp-credits-list a {
  329. white-space: nowrap;
  330. }
  331. /* Freedoms */
  332. .freedoms-php .about-wrap ol {
  333. margin: 40px 60px;
  334. }
  335. .freedoms-php .about-wrap ol li {
  336. list-style-type: decimal;
  337. font-weight: bold;
  338. }
  339. .freedoms-php .about-wrap ol p {
  340. font-weight: normal;
  341. margin: 0.6em 0;
  342. }
  343. /*------------------------------------------------------------------------------
  344. 4.0 - Media Queries
  345. ------------------------------------------------------------------------------*/
  346. @media screen and ( max-width: 782px ) {
  347. .about-wrap .two-col-text {
  348. -webkit-column-count: 1;
  349. -moz-column-count: 1;
  350. column-count: 1;
  351. }
  352. .about-wrap .three-col img {
  353. display: block;
  354. margin: 0 auto;
  355. }
  356. }
  357. @media only screen and (max-width: 500px) {
  358. .about-wrap {
  359. margin-right: 20px;
  360. margin-left: 10px;
  361. }
  362. .about-wrap h1,
  363. .about-wrap .about-text {
  364. margin-right: 0;
  365. }
  366. .about-wrap .about-text {
  367. margin-bottom: 0.25em;
  368. }
  369. .about-wrap .wp-badge {
  370. position: relative;
  371. margin-bottom: 1.5em;
  372. width: 100%;
  373. }
  374. .about-wrap .two-col .col,
  375. .about-wrap .three-col .col {
  376. width: 100% !important;
  377. float: none !important;
  378. }
  379. .about-wrap .under-the-hood.three-col .col,
  380. .about-wrap .under-the-hood.two-col .col,
  381. .about-wrap .under-the-hood.one-col .col {
  382. margin-bottom: 2em;
  383. padding-bottom: 0;
  384. }
  385. .about-wrap .under-the-hood:nth-of-type(2n) {
  386. margin-top: 0;
  387. }
  388. .about-wrap .under-the-hood:nth-of-type(2n) h4 {
  389. margin-top: 0;
  390. }
  391. }