Advertisement
last63

css profile v2

Nov 14th, 2022
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.55 KB | None | 0 0
  1. @import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');
  2.  
  3. :root {
  4. --color-background-white: #FFFFFF;
  5. --color-background-body: #b2cdf6;
  6. --color-blue: #2081E2;
  7. --color-green: #3ce260;
  8. --color-font: #434d56;
  9. --color-bg-feed: rgba(128, 113, 113, 0.319);
  10.  
  11. --transition: all 400ms ease;
  12. }
  13.  
  14. * {
  15. margin: 0;
  16. padding: 0;
  17. font-family: 'Montserrat', sans-serif;
  18. text-decoration: none;
  19. }
  20.  
  21. body {
  22. background-color: var(--color-background-body);
  23. }
  24.  
  25. /* ========== NAVBAR ========== */
  26. .navbar-list {
  27. background: var(--color-background-white);
  28. display: flex;
  29. justify-content: flex-end;
  30. align-items: center;
  31. padding: 15px 0;
  32. }
  33.  
  34. .navbar-item {
  35. margin: 0 15px;
  36. list-style-type: none;
  37. }
  38.  
  39. .logo {
  40. font-size: 2em;
  41. font-weight: bold;
  42. margin-right: auto;
  43. margin-left: 50px;
  44. list-style-type: none;
  45. cursor: pointer;
  46. }
  47.  
  48. .logo a {
  49. text-decoration: none;
  50. }
  51.  
  52. .toggle {
  53. display: none;
  54. list-style-type: none;
  55. margin: 0 20px;
  56. }
  57.  
  58. .navbar-link {
  59. font-weight: bold;
  60. }
  61.  
  62. .navbar-link:hover {
  63. color: black;
  64. }
  65.  
  66. .navbar-link-login {
  67. font-size: 1em;
  68. background-color: var(--color-blue);
  69. padding: 8px 15px;
  70. border-radius: 18px;
  71. color: var(--color-background-white);
  72. cursor: pointer;
  73. border: 2px solid transparent;
  74. transition: var(--transition);
  75. }
  76.  
  77. .navbar-link-login:hover {
  78. background: transparent;
  79. border-color: var(--color-green);
  80. color: var(--color-green);
  81. }
  82.  
  83. .navbar-link-register {
  84. font-size: 1em;
  85. background-color: var(--color-green);
  86. padding: 8px 15px;
  87. border-radius: 18px;
  88. color: var(--color-background-white);
  89. cursor: pointer;
  90. border: 2px solid transparent;
  91. transition: var(--transition);
  92. }
  93.  
  94. .navbar-link-register:hover {
  95. background: transparent;
  96. border-color: var(--color-blue);
  97. color: var(--color-blue);
  98. }
  99.  
  100. @media screen and (max-width:1024px) {
  101. .navbar-list {
  102. flex-wrap: wrap;
  103. }
  104.  
  105. .toggle {
  106. display: block;
  107. }
  108.  
  109. .navbar-item {
  110. display: none;
  111. width: 100%;
  112. text-align: center;
  113. margin: 20px;
  114. }
  115.  
  116. .navbar-button {
  117. display: block;
  118. }
  119.  
  120. .active {
  121. display: block;
  122. }
  123. }
  124.  
  125. @media screen and (max-width:425px) {
  126. .toggle {
  127. padding: 20px 0;
  128. }
  129. }
  130.  
  131. /* ========== END NAVBAR ========== */
  132.  
  133.  
  134. /* ========== HEADER ========== */
  135. .header {
  136. padding: 70px 50px;
  137. }
  138.  
  139. .header-container {
  140. display: flex;
  141. flex-wrap: wrap;
  142. flex-direction: row;
  143. justify-content: center;
  144. }
  145.  
  146. .logo-idn {
  147. flex: 1;
  148. text-align: center;
  149. margin: auto;
  150. }
  151.  
  152. .logo-img {
  153. width: 750px;
  154. border-radius: 3%;
  155. }
  156.  
  157. .big-heading {
  158. flex: 1;
  159. margin-left: 30px;
  160. margin: auto;
  161. }
  162.  
  163. .big-heading h1 {
  164. font-size: 3em;
  165. font-weight: 700;
  166. margin-bottom: 20px;
  167. color: black;
  168. }
  169.  
  170. .big-heading p {
  171. color: var(--color-font);
  172. font-size: 1.5em;
  173. text-align: justify;
  174. margin-bottom: 45px;
  175. }
  176.  
  177. .btn-explore {
  178. background-color: var(--color-green);
  179. border: none;
  180. padding: 20px 50px;
  181. border-radius: 15px;
  182. font-size: 1em;
  183. font-weight: bold;
  184. margin-right: 20px;
  185. }
  186.  
  187. .btn-explore a {
  188. color: var(--color-background-white);
  189. text-decoration: none;
  190. }
  191.  
  192. @media screen and (max-width:1440px) {
  193.  
  194. .logo-img {
  195. width: 700px;
  196. border-radius: 3%;
  197. margin: 30px;
  198. }
  199.  
  200. .big-heading {
  201. padding: 10px;
  202. margin: 0px;
  203. margin-top: 20px;
  204. }
  205.  
  206. .btn-explore {
  207. margin-top: 10px;
  208. }
  209. }
  210.  
  211. @media screen and (max-width:1024px) {
  212.  
  213. .big-heading {
  214. margin-left: 30px;
  215. }
  216.  
  217. .big-heading p {
  218. text-align: justify;
  219. }
  220.  
  221. .btn-explore {
  222. background: #2081E2;
  223. border: none;
  224. padding: 20px 50px;
  225. border-radius: 12px;
  226. font-size: 1em;
  227. font-weight: bold;
  228. }
  229.  
  230. }
  231.  
  232. @media screen and (max-width: 912px) {
  233.  
  234. .header-container {
  235. flex-direction: column;
  236. }
  237.  
  238.  
  239. .big-heading {
  240. margin: 0;
  241. text-align: center;
  242. }
  243.  
  244. .logo-idn {
  245. margin-top: 50px;
  246. }
  247.  
  248. .logo-img {
  249. width: 400px;
  250. }
  251.  
  252. .big-heading h1 {
  253. margin-top: 30px;
  254. font-size: 3em;
  255. font-weight: 700;
  256. margin-bottom: 20px;
  257. color: black;
  258. text-align: center;
  259. }
  260.  
  261. .big-heading p {
  262. font-size: 1.5em;
  263. margin-bottom: 50px;
  264. color: var(--color-font);
  265. text-align: justify;
  266. }
  267.  
  268. .btn-explore {
  269. background: #2081E2;
  270. border: none;
  271. padding: 20px 50px;
  272. border-radius: 12px;
  273. font-size: 1em;
  274. font-weight: bold;
  275. margin-top: 20px;
  276. margin-right: 20px;
  277. }
  278.  
  279. .btn-explore a {
  280. text-decoration: none;
  281. color: white;
  282. }
  283.  
  284. .btn-explore:hover {
  285. background: #3ce260;
  286. }
  287. }
  288.  
  289. @media screen and (max-width: 425px) {
  290.  
  291. .navbar-list {
  292. margin: 0px;
  293. }
  294.  
  295. .header {
  296. padding: 0px;
  297. }
  298.  
  299. .header-container {
  300. flex-direction: column;
  301. }
  302.  
  303. .big-heading {
  304. margin: 0;
  305. text-align: center;
  306. }
  307.  
  308. .big-heading p {
  309. padding: 10px;
  310. }
  311.  
  312. .logo-idn {
  313. display: none;
  314. }
  315.  
  316. }
  317.  
  318.  
  319. /* ========== END HEADER ========== */
  320.  
  321. /* ========== SYARAT PENDAFTARAN ========== */
  322. .collection {
  323. background: var(--color-bg-feed);
  324. margin-top: 30px;
  325. padding: 30px 0;
  326. text-align: center;
  327. }
  328.  
  329. .collection h2 {
  330. color: black;
  331. font-size: 2.5em;
  332. margin: 0px 0px 0px 20px;
  333. }
  334.  
  335. .collection h6 {
  336. color: var(--color-font);
  337. font-size: 1.3em;
  338. margin-bottom: 30px;
  339. }
  340.  
  341. .collection-container {
  342. display: flex;
  343. flex-wrap: wrap;
  344. flex-direction: row;
  345. justify-content: center;
  346. }
  347.  
  348. .list-persyaratan {
  349. padding: 20px;
  350. flex: 1;
  351. text-align: center;
  352. border-radius: 10px;
  353. margin: auto;
  354. }
  355.  
  356. * .activity-feed {
  357. padding: 30px;
  358. list-style: none;
  359. text-align: start;
  360. font-size: large;
  361. }
  362.  
  363. * .activity-feed .feed-item {
  364. position: relative;
  365. padding-bottom: 15px;
  366. padding-left: 30px;
  367. margin-top: 20px;
  368. text-align: justify;
  369. color: var(--color-font);
  370. border-left: 3px solid var(--color-background-white);
  371. }
  372.  
  373. * .activity-feed .feed-item:last-child {
  374. border-color: transparent;
  375. }
  376.  
  377. * .activity-feed .feed-item::after {
  378. content: "";
  379. display: block;
  380. position: absolute;
  381. top: 0;
  382. left: -7px;
  383. width: 12px;
  384. height: 12px;
  385. border-radius: 50%;
  386. background: #177dff;
  387. }
  388.  
  389. * .feed-item-default::after {
  390. background: #1a2035 !important;
  391. }
  392.  
  393. * .feed-item-primary::after {
  394. background: #1572e8 !important;
  395. }
  396.  
  397. * .feed-item-secondary::after {
  398. background: #6861ce !important;
  399. }
  400.  
  401. * .feed-item-success::after {
  402. background: #31ce36 !important;
  403. }
  404.  
  405. * .feed-item-danger::after {
  406. background: #f25961 !important;
  407. }
  408.  
  409. * .feed-item-info::after {
  410. background: #48abf7 !important;
  411. }
  412.  
  413. * .feed-item-warning::after {
  414. background: #ffad46 !important;
  415. }
  416.  
  417. * .activity-feed .feed-item .date {
  418. display: block;
  419. position: relative;
  420. top: -5px;
  421. color: var(--color-font);
  422. text-transform: uppercase;
  423. font-size: 13px;
  424. }
  425.  
  426. /* * .activity-feed .feed-item .text {
  427. position: relative;
  428. top: -3px;
  429. margin-bottom: 3px;
  430. } */
  431.  
  432. .logo-list {
  433. flex: 1;
  434. text-align: center;
  435. margin: auto;
  436. }
  437.  
  438. .list-img {
  439. width: 600px;
  440. padding: 10px;
  441. border-radius: 3%;
  442. }
  443.  
  444. @media screen and (max-width:1024px) {
  445. .list-persyaratan {
  446. text-align: justify;
  447. flex: 25;
  448. }
  449.  
  450. .activity-feed {
  451. padding: 0px;
  452. }
  453.  
  454. .list-img {
  455. display: none;
  456. }
  457. }
  458.  
  459. /* ========== END SYARAT PENDAFTARAN ========== */
  460.  
  461. /* ========== STATUS KELULUSAN ========== */
  462. .collection-kelulusan {
  463. background: var(--color-background-body);
  464. padding: 30px;
  465. text-align: center;
  466. display: flex;
  467. flex-direction: column;
  468. align-items: center;
  469. justify-content: center;
  470. }
  471.  
  472. .card-cek {
  473. background-color: #123261;
  474. padding: 20px;
  475. color: var(--color-background-white);
  476. border-radius: 15px;
  477. width: 830px;
  478. display: flex;
  479. justify-content: center;
  480. border: solid;
  481. }
  482.  
  483. .card-cek h2 {
  484. text-transform: uppercase;
  485. }
  486.  
  487. .input-name {
  488. margin-top: 10px;
  489. border-radius: 15px;
  490. width: 850px;
  491. height: 50px;
  492. font-size: 1.5em;
  493. padding: 10px;
  494. }
  495.  
  496. .button-cek {
  497. border-radius: 30px;
  498. width: 880px;
  499. height: 50px;
  500. margin-top: 20px;
  501. border: 2px solid transparent;
  502. transition: var(--transition);
  503. background-color: #1572e8;
  504. }
  505.  
  506. .button-cek:hover {
  507. border-color: var(--color-green);
  508. background-color: var(--color-green);
  509. }
  510.  
  511. .button-cek h2 {
  512. color: var(--color-background-white);
  513. }
  514.  
  515. @media screen and (max-width:768px) {
  516. .card-cek {
  517. width: 400px;
  518. }
  519.  
  520. .input-name {
  521. width: 430px;
  522. }
  523.  
  524. .button-cek {
  525. width: 455px;
  526. }
  527. }
  528.  
  529. @media screen and (max-width:425px) {
  530. .card-cek {
  531. width: 280px;
  532. font-size: small;
  533. }
  534.  
  535. .input-name {
  536. height: 20;
  537. width: 300px;
  538. height: 20px;
  539. font-size: small;
  540. }
  541.  
  542. .button-cek {
  543. margin-top: 10px;
  544. width: 320px;
  545. }
  546. }
  547.  
  548. /* ========== END STATUS KELULUSAN ==========*/
  549.  
  550. /* ========== IDN IT FEST ========== */
  551. .collection-itfest{
  552. background: var(--color-background-white);
  553. padding: 30px 0;
  554. text-align: center;
  555. }
  556.  
  557. .collection-itfest h2{
  558. color: black;
  559. font-size: 2.5em;
  560. margin: 0px 0px 0px 20px;
  561. }
  562.  
  563. .collection-itfest-container{
  564. display: flex;
  565. justify-content: center;
  566. flex-wrap: wrap;
  567. }
  568.  
  569. .collection-itfest-card{
  570. display: flex;
  571. flex-direction: column;
  572. margin: 18px;
  573. margin-top: 15px;
  574. background: white;
  575. border-radius: 10px;
  576. box-shadow: 0 0 10px #ccc;
  577. }
  578.  
  579. .collection-itfest-card:hover{
  580. box-shadow: 0 0 15px #bbb;
  581. }
  582.  
  583. .image-box{
  584. width: 300px;
  585. height: 300px;
  586. overflow: hidden;
  587. border-radius: 10px 10px 0 0;
  588. }
  589.  
  590. .image-box:hover{
  591. box-shadow: 0 0 2rem 0.5rem rgba(0, 0, 0, 0.1);
  592. }
  593.  
  594. .image-box img{
  595. width: 100%;
  596. height: 100%;
  597. transition: 0.5s ease-in-out;
  598. }
  599.  
  600. .image-box:hover img{
  601. transform: scale(1,2);
  602. }
  603.  
  604. .collection-itfest-card h3{
  605. font-size: 1.5em;
  606. color: var(--color-font);
  607. padding: 10px;
  608. }
  609.  
  610. .card-button{
  611. border-radius: 10px;
  612. height: 30px;
  613. margin: 10px;
  614. background-color: var(--color-blue);
  615. color: var(--color-background-white);
  616. border: 0;
  617. font-size: 1.1em;
  618. cursor: pointer;
  619. }
  620.  
  621.  
  622. /* ========== END IDN IT FEST ========== */
  623.  
  624. /* ========== PROFILE ========== */
  625. .collection-profile{
  626. background: var(--color-background-white);
  627. padding: 30px 0;
  628. text-align: center;
  629. }
  630.  
  631. .collection-profile h2{
  632. color: black;
  633. font-size: 2.5em;
  634. margin: 0px 0px 0px 20px;
  635. }
  636.  
  637. .collection-profile-container{
  638. display: flex;
  639. justify-content: center;
  640. flex-wrap: wrap;
  641. }
  642.  
  643. .collection-profile-card{
  644. display: flex;
  645. flex-direction: column;
  646. margin: 18px;
  647. margin-top: 15px;
  648. background: white;
  649. border-radius: 10px;
  650. box-shadow: 0 0 10px #ccc;
  651. }
  652. /* ========== END PROFILE ========== */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement