Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [comment]a remake of twitter's ui, coded by uxie!
- [font=Open Sans]buttons[/font]
- [font=Hind]headers[/font]
- [font=Segoe UI]body[/font]
- i recommend not changing fonts for this code!
- [/comment][border=transparent;
- /*background colour*/
- --bg-color:#fefefe;
- /*border colour*/
- --border:#E1E8ED;
- /*main accent -- verified badge, follow button*/
- --color-1: #72523c;
- /*light grey*/
- --color-2: #cdd2d6;
- /*dark grey*/
- --color-3: #14171A;
- /*mid grey*/
- --color-4: #647683;
- /*fonts used*/
- --button: 'Open Sans', sans-serif;
- --header:'Hind', sans-serif;
- --body: 'Segoe UI', sans-serif;
- /*icon*/
- --img-1: url('https://64.media.tumblr.com/198e90ea3305c59997ddba4a53578c15/60f5a3d083a71276-5e/s1280x1920/da5b992771e3b7890f07066a0c9758eb3034b449.jpg');
- /*header*/
- --img-2: url('https://64.media.tumblr.com/baa274e282f6c44141d4ad763592ad0c/68a69644ee01c36d-0f/s1280x1920/0462a2184a6df470b197df3923b558b1490cbf0c.jpg');
- /*post images*/
- --p1: url('https://i.imgur.com/23xsei3.png');
- --p2: url('https://i.imgur.com/HSYi6C1.png');
- --p3: url('https://i.imgur.com/6ObQBip.png');
- --p4: url('https://i.imgur.com/RkAKxai.jpg');
- --p5: url('https://i.imgur.com/zthuTyx.png');
- --p6: url('https://i.imgur.com/cWSTnkt.png');
- height:auto; width:100%; padding:0; overflow-x:auto; margin:20px 0 30px 0; line-height:0;][border=transparent; height:auto; min-height:590px; width:100%; max-width:420px; padding:0; position:relative; margin:0 auto; border:1px solid var(--border); box-sizing:border-box; background: var(--bg-color); display:flex; flex-flow:column nowrap;]
- [comment]----header image----[/comment]
- [border=transparent; height:120px; width:100%; padding:0; background: var(--img-1); background-size:cover;
- /*edit the following to adjust the cropping of the image*/ background-position:50% 50%;][/border]
- [comment]----icon & buttons----[/comment]
- [border=transparent; height:auto; width:100%; padding:0 15px; box-sizing:border-box; display:flex; flex-flow:row nowrap;]
- [comment]----icon----[/comment]
- [border=transparent; --w: clamp(100px, -50px + 18vw, 130px); width: var(--w); padding:0; flex-shrink:0; margin-top: calc(var(--w) * -0.48);][border=transparent; padding:0; padding-top:calc(100% - 10px); border:5px solid var(--bg-color); background: var(--img-2); background-size:cover; border-radius:50%;
- /*edit the following to adjust the cropping of the image*/ background-position:50% 50%;][/border][/border]
- [comment]----buttons----[/comment]
- [border=transparent; flex:1; height:35px; padding:20px 0 0 0; box-sizing:border-box; display:flex; flex-flow:row nowrap; align-items:center; justify-content:flex-end;][border=transparent; height:33px; width:33px; padding:3px 0 0 0; border-radius:50%; box-sizing:border-box; border:1px solid var(--color-2); color: var(--color-3); font-size:18px; display:flex; align-items:center; justify-content:center;][fa]far fa-ellipsis-h[/fa][/border][border=transparent; height:33px; width:33px; padding:0 0 0 0; border-radius:50%; box-sizing:border-box; border:1px solid var(--color-2); color: var(--color-3); font-size:16px; display:flex; align-items:center; justify-content:center; margin-left:8px;][fa]far fa-envelope[/fa][/border]
- [border=transparent; height:33px; width:95px; padding:0; position:relative; margin-left:8px;][border=transparent; height:33px; width:95px; padding:0; overflow:hidden; border-radius:3px;][border=transparent; padding:0; margin:3px -40px 0 -10px; display:flex; justify-content:flex-end; line-height:30px;][tabs]
- [tab=aaa][border=0; width:200px; padding:0; line-height:0; letter-spacing:0;][border=transparent; height:33px; width:95px; position:absolute; top:0; left:0; padding:3px 15px; box-sizing:border-box; background: var(--color-1); color: var(--bg-color); font-family: var(--button); font-size:13px; line-height:100%; font-weight:bold; pointer-events:none; display:flex; align-items:center; justify-content:center; border-radius:30px;]Follow[/border][/border][/tab]
- [tab=.aaa][border=0; padding:0; font-size:0; letter-spacing:0;]h[border=transparent; height:33px; width:95px; position:absolute; top:0; left:0; padding:3px 10px; box-sizing:border-box; background: var(--bg-color); border:1px solid var(--color-2); color: var(--color-3); font-family: var(--button); font-size:13px; line-height:100%; font-weight:bold; pointer-events:none; display:flex; align-items:center; justify-content:center; border-radius:30px;]Following[/border][/border][/tab]
- [/tabs][/border][/border][/border][/border]
- [/border]
- [comment]----icon & buttons end----[/comment]
- [comment]----name container----[/comment]
- [border=transparent; height:auto; width:clamp(200px, 60%, 350px); padding:12px 20px 0 20px; box-sizing:border-box; font-family: var(--header);]
- [border=transparent; height:auto; width:100%; padding:0; display:flex; flex-flow:row-reverse nowrap; justify-content:flex-end; align-items:center;][border=transparent;
- /*replace here; with display:none; to hide verified badge*/ here;
- height:auto; width:fit-content; padding:0; color: var(--color-1); font-size:14px; flex-shrink:0; line-height:100%; margin-left:3px;][fa]fas fa-badge-check[/fa][/border][border=transparent; padding:0; color: var(--color-3); font-size:18px; font-family: var(--header); font-weight:bold; line-height:100%; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; -webkit-text-stroke:0.3px var(--color-3); letter-spacing:0.5px;][comment]
- ----* * * name here----
- [/comment]it's me![/border]
- [/border]
- [border=transparent; height:auto; width:auto; padding:0; color: var(--color-4); font-size:14px; font-family: var(--header); line-height:100%; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; margin-top:5px; letter-spacing:-0.2px;][comment]
- ----* * * username here (between the [plain][/plain]!)----
- [/comment][plain]@username[/plain][/border]
- [/border]
- [comment]----name container end----[/comment]
- [comment]----bio----[/comment]
- [border=transparent; height:auto; max-height:17px; width:100%; overflow:hidden; padding:0 20px; box-sizing:border-box; margin-top:12px; color: var(--color-3); font-family: var(--body); font-size:13.5px; line-height:17px;][comment]
- ----* * * bio here (max one lines)----
- [/comment]a cute little bio! only one line though[/border]
- [comment]----account info----[/comment]
- [border=transparent; height:auto; width:100%; padding:0 20px; box-sizing:border-box; margin-top:10px; display:flex; flex-flow:row nowrap; align-items:center;]
- [comment]----link----[/comment]
- [border=transparent; height:auto; width:fit-content; width:-moz-fit-content; max-width:60%; padding:0; display:flex; flex-flow:row nowrap; align-items:center; margin-right:8px;][border=transparent; height:auto; width:auto; padding:0; color: var(--color-4); font-size:13px; flex-shrink:0; margin:5px 5px 0 0;][fa]far fa-link[/fa][/border][border=transparent; height:auto; max-height:17px; width:auto; font-family: var(--body);
- /*replace here; with display:none; to hide link*/ here;
- padding:0; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; font-size:13px; color: var(--color-1);][comment]
- ----* * * put link here----
- [/comment][url='link here'][comment]
- [/comment][border=transparent; padding:0; display:inline; color: var(--color-1); line-height:17px;][comment]
- ----* * * link display here----
- [/comment]you can link something here[/border][/url][/border]
- [/border]
- [comment]----link end----[/comment]
- [comment]----join date----[/comment]
- [border=transparent; height:auto; width:fit-content; width:-moz-fit-content; max-width:30%; padding:0; display:flex; flex-flow:row nowrap; align-items:center; margin-right:8px; flex-shrink:0;][border=transparent; height:auto; width:auto; padding:0; color: var(--color-4); font-size:13px; flex-shrink:0; margin:5px 5px 0 0;][fa]far fa-calendar-alt[/fa][/border][border=transparent; height:auto; width:auto; padding:0; color: var(--color-4); font-size:13px; line-height:100%; font-family: var(--body); white-space:nowrap;][comment]
- ----* * * join date here----
- [/comment]16 December 2017[/border][/border]
- [/border]
- [comment]----account info end----[/comment]
- [comment]----account statistics----[/comment]
- [border=transparent; height:auto; width:100%; padding:0 20px; box-sizing:border-box; display:flex; flex-flow:row nowrap; align-items:center; margin-top:10px;]
- [comment]----followers----[/comment]
- [border=transparent; height:auto; width:auto; padding:0; display:flex; flex-flow:row-reverse nowrap; align-items:center; font-family: var(--body); flex-shrink:0;][border=transparent; height:auto; width:auto; padding:0; color: var(--color-4); font-size:13.5px; line-height:100%; margin-left:3px; text-align:center;]Following[/border][border=transparent; height:auto; width:auto; padding:0; color: var(--color-3); font-weight:600; font-size:13.5px; line-height:100%; text-align:center; text-transform:uppercase;][comment]
- ----* * * number of following here----
- [/comment]18[/border]
- [/border]
- [comment]----following end----[/comment]
- [comment]----followers----[/comment]
- [border=transparent; height:auto; width:auto; padding:0; display:flex; flex-flow:row-reverse nowrap; align-items:center; font-family: var(--body); margin-left:8px;][border=transparent; height:auto; width:auto; padding:0; color: var(--color-4); font-size:13.5px; line-height:100%; margin-left:3px; text-align:center;]Followers[/border][border=transparent; height:auto; width:auto; padding:0; color: var(--color-3); font-weight:600; font-size:13.5px; line-height:100%; text-align:center; text-transform:uppercase;][comment]
- ----* * * number of followers here----
- [/comment]12.4m[/border]
- [/border]
- [comment]----followers end----[/comment]
- [/border]
- [comment]----account statistics end----[/comment]
- [comment]----image gallery----[/comment]
- [border=transparent; height:auto; width:100%; padding:0 20px; box-sizing:border-box; margin:25px 0 20px 0;][border=transparent; height:225px; width:100%; padding:0; border-radius:15px; overflow:hidden; display:grid; grid-template: 1fr 1fr / 1fr 1fr 1fr; grid-gap:5px;]
- [comment]----post image 1----[/comment]
- [border=transparent; height:110px; width:auto; padding:0; grid-area: 1 / 1 / 2 / 2; background: var(--p1);
- /*edit the following to adjust the cropping of the image*/ background-position:50% 50%;
- background-size:cover; position:relative;][/border]
- [comment]----post image 2----[/comment]
- [border=transparent; height:110px; width:auto; padding:0; grid-area: 1 / 2 / 2 / 3; background: var(--p2);
- /*edit the following to adjust the cropping of the image*/ background-position:50% 50%;
- background-size:cover; position:relative;][/border]
- [comment]----post image 3----[/comment]
- [border=transparent; height:110px; width:auto; padding:0; grid-area: 1 / 3 / 2 / 4; background: var(--p3);
- /*edit the following to adjust the cropping of the image*/ background-position:50% 50%;
- background-size:cover; position:relative;][/border]
- [comment]----post image 4----[/comment]
- [border=transparent; height:110px; width:auto; padding:0; grid-area: 2 / 1 / 3 / 2; background: var(--p4);
- /*edit the following to adjust the cropping of the image*/ background-position:50% 50%;
- background-size:cover; position:relative;][/border]
- [comment]----post image 5----[/comment]
- [border=transparent; height:110px; width:auto; padding:0; grid-area: 2 / 2 / 3 / 3; background: var(--p5);
- /*edit the following to adjust the cropping of the image*/ background-position:50% 50%;
- background-size:cover; position:relative;][/border]
- [comment]----post image 6----[/comment]
- [border=transparent; height:110px; width:auto; padding:0; grid-area: 2 / 3 / 3 / 4; background: var(--p6);
- /*edit the following to adjust the cropping of the image*/ background-position:50% 50%;
- background-size:cover; position:relative;][/border]
- [/border][/border]
- [comment]----image gallery end----[/comment]
- [comment]----signature! do not remove----[/comment]
- [bg=transparent; height:auto;width:fit-content; padding:0px 5px 3px 5px; box-sizing:border-box; position:absolute ;z-index:6;opacity:0.5;color: var(--color-1); font-size:9px;text-align:center; top:10px; right:8px; background:var(--bg-color); line-height:100%;][font=Open Sans]♡coded by uxie♡[/font][/bg]
- [/border][/border]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement