HTML preprocessors can make writing HTML more powerful or convenient. For instance, Markdown is designed to be easier to write and read for text documents and you could write a loop in Pug.
In CodePen, whatever you write in the HTML editor is what goes within the <body>
tags in a basic HTML5 template. So you don't have access to higher-up elements like the <html>
tag. If you want to add classes there that can affect the whole document, this is the place to do it.
In CodePen, whatever you write in the HTML editor is what goes within the <body>
tags in a basic HTML5 template. If you need things in the <head>
of the document, put that code here.
The resource you are linking to is using the 'http' protocol, which may not work when the browser is using https.
CSS preprocessors help make authoring CSS easier. All of them offer things like variables and mixins to provide convenient abstractions.
It's a common practice to apply CSS to a page that styles elements such that they are consistent across all browsers. We offer two of the most popular choices: normalize.css and a reset. Or, choose Neither and nothing will be applied.
To get the best cross-browser support, it is a common practice to apply vendor prefixes to CSS properties and values that require them to work. For instance -webkit-
or -moz-
.
We offer two popular choices: Autoprefixer (which processes your CSS server-side) and -prefix-free (which applies prefixes via a script, client-side).
Any URLs added here will be added as <link>
s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.
You can apply CSS to your Pen from any stylesheet on the web. Just put a URL to it here and we'll apply it, in the order you have them, before the CSS in the Pen itself.
You can also link to another Pen here (use the .css
URL Extension) and we'll pull the CSS from that Pen and include it. If it's using a matching preprocessor, use the appropriate URL Extension and we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
JavaScript preprocessors can help make authoring JavaScript easier and more convenient.
Babel includes JSX processing.
Any URL's added here will be added as <script>
s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.
You can apply a script from anywhere on the web to your Pen. Just put a URL to it here and we'll add it, in the order you have them, before the JavaScript in the Pen itself.
If the script you link to has the file extension of a preprocessor, we'll attempt to process it before applying.
You can also link to another Pen here, and we'll pull the JavaScript from that Pen and include it. If it's using a matching preprocessor, we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
Search for and use JavaScript packages from npm here. By selecting a package, an import
statement will be added to the top of the JavaScript editor for this package.
Using packages here is powered by esm.sh, which makes packages from npm not only available on a CDN, but prepares them for native JavaScript ESM usage.
All packages are different, so refer to their docs for how they work.
If you're using React / ReactDOM, make sure to turn on Babel for the JSX processing.
If active, Pens will autosave every 30 seconds after being saved once.
If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.
If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.
Visit your global Editor Settings.
<div class='container'>
<div class='left-side-navbar'>
<div class='logo'>P.</div>
<div class='wrapper'>
<div>
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="18px" height="20px" viewBox="0 0 115.618 122.88" enable-background="new 0 0 115.618 122.88" xml:space="preserve"><g><path fill-rule="evenodd" clip-rule="evenodd" d="M16.151,0L16.151,0c5.292,0,9.621,4.33,9.621,9.622v21.595 c-2.864-1.43-6.095-2.236-9.514-2.236c-3.504,0-6.811,0.845-9.728,2.342V9.622C6.53,4.33,10.859,0,16.151,0L16.151,0z M99.36,34.06 c8.979,0,16.258,7.278,16.258,16.257c0,8.979-7.279,16.258-16.258,16.258s-16.257-7.278-16.257-16.258 C83.104,41.338,90.382,34.06,99.36,34.06L99.36,34.06z M99.254,0L99.254,0c5.292,0,9.621,4.33,9.621,9.622v21.595 c-2.864-1.43-6.095-2.236-9.515-2.236c-3.504,0-6.811,0.845-9.728,2.342V9.622C89.633,4.33,93.962,0,99.254,0L99.254,0z M108.875,69.417v43.842c0,5.291-4.329,9.621-9.621,9.621l0,0c-5.292,0-9.621-4.33-9.621-9.621V69.312 c2.917,1.496,6.224,2.341,9.728,2.341C102.78,71.652,106.011,70.847,108.875,69.417L108.875,69.417z M57.617,93.896 c8.979,0,16.257-7.278,16.257-16.257c0-8.979-7.278-16.258-16.257-16.258c-8.979,0-16.257,7.278-16.257,16.258 C41.36,86.617,48.638,93.896,57.617,93.896L57.617,93.896z M57.51,122.88L57.51,122.88c5.292,0,9.622-4.331,9.622-9.621V96.689 c-2.864,1.43-6.053,2.236-9.515,2.236s-6.811-0.846-9.728-2.343v16.676C47.89,118.55,52.219,122.88,57.51,122.88L57.51,122.88z M67.132,58.489V9.622C67.132,4.331,62.802,0,57.51,0l0,0c-5.292,0-9.621,4.33-9.621,9.622v48.974 c2.917-1.497,6.266-2.343,9.728-2.343S64.268,57.06,67.132,58.489L67.132,58.489z M16.257,34.06 c8.979,0,16.257,7.278,16.257,16.257c0,8.979-7.278,16.258-16.257,16.258C7.279,66.574,0,59.296,0,50.316 C0,41.338,7.279,34.06,16.257,34.06L16.257,34.06z M25.771,69.417v43.842c0,5.291-4.329,9.621-9.621,9.621l0,0 c-5.292,0-9.621-4.33-9.621-9.621V69.312c2.917,1.496,6.224,2.341,9.728,2.341C19.677,71.652,22.907,70.847,25.771,69.417 L25.771,69.417z"/></g></svg>
</div>
<div>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#A49BDA" width="18px" height="20px"><path d="M0 0h24v24H0z" fill="none"/><path d="M13 13v8h8v-8h-8zM3 21h8v-8H3v8zM3 3v8h8V3H3zm13.66-1.31L11 7.34 16.66 13l5.66-5.66-5.66-5.65z"/></svg>
</div>
<div>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="gray" width="20px" height="20px"><path d="M0 0h24v24H0z" fill="none"/><path d="M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-2.1 2.1S9.9 9.16 9.9 8s.94-2.1 2.1-2.1m0 9c2.97 0 6.1 1.46 6.1 2.1v1.1H5.9V17c0-.64 3.13-2.1 6.1-2.1M12 4C9.79 4 8 5.79 8 8s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm0 9c-2.67 0-8 1.34-8 4v3h16v-3c0-2.66-5.33-4-8-4z"/></svg>
</div>
<div>
<img src="https://img.icons8.com/metro/26/000000/line-chart.png"/>
</div>
</div>
</div>
<div class='center'>
<h1>Progress Dashboard</h1>
<div class='row1'>
<div class='card1'>
<div class='deadline'>
<span>deadline</span><span>12:00</span>
</div>
<div class='exam-unit'>
Exam - Unit 5
</div>
<div class='description'>
Spanish for beginners
</div>
<div class='start-testing'>
<div class='members'>
<div class='member'>
<img src='https://images.unsplash.com/photo-1489424731084-a5d8b219a5bb?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=334&q=80' alt='member'/>
</div>
<div class='member'>
<img src='https://images.unsplash.com/photo-1522075469751-3a6694fb2f61?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=800&q=80' alt='member' />
</div>
<div class='member'>
<img src='https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=334&q=80' alt='member'/>
</div>
<div class='member'>+8</div>
</div>
<div><a href='#'>Start testing</a></div>
</div>
</div>
<div class='card2'>
<div class='checkmark'>
<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M0 0h24v24H0V0zm0 0h24v24H0V0z" fill="none"/><path d="M16.59 7.58L10 14.17l-3.59-3.58L5 12l5 5 8-8zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"/></svg>
</div>
<h1>Homework</h1>
<p>For today's <br/> lesson.</p>
</div>
<div class='card3'>
<div class='checkmark'>
<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M0 0h24v24H0V0zm0 0h24v24H0V0z" fill="none"/><path d="M16.59 7.58L10 14.17l-3.59-3.58L5 12l5 5 8-8zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"/></svg>
</div>
<h1>Reading</h1>
<p>25 words per <br/> week.</p>
</div>
</div>
<div class='row2'>
<div class='card1'>
<div class='header'>
<span>Group Info</span>
<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M0 0h24v24H0z" fill="none"/><path d="M12 22c1.1 0 2-.9 2-2h-4c0 1.1.9 2 2 2zm6-6v-5c0-3.07-1.63-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.64 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2zm-2 1H8v-6c0-2.48 1.51-4.5 4-4.5s4 2.02 4 4.5v6z"/></svg>
</div>
<div class='nr-of-students'>
13 students in the group
</div>
<div class='group-homework'>
<h1>Group homework</h1>
<p>5 students from your group<br/>online now</p>
<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M0 0h24v24H0z" fill="none"/><path d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"/></svg>
</div>
<div class='timetable-lesson'>
<span>Today's lesson</span>
<span>12:00</span>
</div>
<div class='unit-desc'>
Unit 6 - Articles
</div>
</div>
<div class='card2'>
<div class='spanish-flag'>
<img src='https://freesvg.org/img/claudita-Flag-of-Spain.png'/>
</div>
<h1>Spanish for beginners</h1>
<div class='progress-bar'>
<div class='value'>75%</div>
<div class='bar'>
<div class='filled'></div>
</div>
</div>
</div>
</div>
<div class='row3'>
<div class='card1'>
<div class='edit-icon-wrapper'>
<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M0 0h24v24H0z" fill="none"/><path d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"/></svg>
</div>
<div class='text'>
<h1>Grammar</h1>
<p>+ 30 grammar rules</p>
</div>
<div class='arrow-right-wrapper'>
<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M0 0h24v24H0z" fill="none"/><path d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"/></svg>
</div>
</div>
<div class='card2'>
<div class='edit-icon-wrapper'>
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- Generator: Adobe Illustrator 17.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 489.709 489.709" style="enable-background:new 0 0 489.709 489.709;" xml:space="preserve">
<path d="M81.744,418.534h294.475c2.762,0,5,2.238,5,5s-2.238,5-5,5H81.744c-2.761,0-5-2.238-5-5S78.983,418.534,81.744,418.534z
M376.219,437.031H81.744c-2.761,0-5,2.238-5,5s2.239,5,5,5h294.475c2.762,0,5-2.238,5-5S378.981,437.031,376.219,437.031z
M453.287,104.887l-16.75,5.003l16.752,5.009c2.117,0.633,3.567,2.58,3.567,4.79v58.777c0,2.21-1.451,4.158-3.569,4.791
l-16.75,5.002l16.752,5.009c2.117,0.633,3.567,2.58,3.567,4.79v58.777c0,2.21-1.451,4.158-3.569,4.791l-16.75,5.002l16.752,5.009
c2.117,0.633,3.567,2.58,3.567,4.79v58.777c0,2.21-1.451,4.158-3.569,4.791l-16.75,5.002l16.752,5.009
c2.117,0.633,3.567,2.58,3.567,4.79v58.777c0,2.21-1.451,4.158-3.569,4.791l-29.213,8.724v57.619c0,2.762-2.238,5-5,5H87.468
c-25.194,0-54.615-15.139-54.615-57.805V45.153C32.852,20.256,53.108,0,78.006,0h341.069c2.762,0,5,2.238,5,5v22.793l29.215,8.736
c2.117,0.633,3.567,2.58,3.567,4.79v58.776C456.857,102.306,455.406,104.254,453.287,104.887z M89.231,406.943
c-13.764,0-24.961,11.197-24.961,24.961s11.197,24.961,24.961,24.961h324.843v-49.922h-36.43H89.231z M414.074,479.709v-12.844
H89.231c-19.277,0-34.961-15.684-34.961-34.961s15.684-34.961,34.961-34.961h288.414h36.43v-10.396H80.785
c-5.576,0-12.191,2.512-18.628,7.072c-0.877,0.621-1.887,0.92-2.886,0.92c-1.567,0.001-3.109-0.733-4.084-2.109
c-1.596-2.254-1.063-5.374,1.189-6.971c8.112-5.747,16.781-8.912,24.41-8.912h1.683v-15.384c0-2.762,2.239-5,5-5s5,2.238,5,5v15.384
h321.607V10H92.468v312.765c0,2.762-2.239,5-5,5s-5-2.238-5-5V10h-4.462c-19.384,0-35.153,15.77-35.153,35.153v386.751
c0,45.5,37.165,47.805,44.615,47.805H414.074z M446.857,358.521l-22.782-6.813v64.945l22.782-6.803V358.521z M446.857,280.151
l-22.782-6.812v64.944l22.782-6.803V280.151z M446.857,201.782l-22.782-6.813v64.945l22.782-6.803V201.782z M446.857,123.412
l-22.782-6.812v64.944l22.782-6.803V123.412z M446.857,45.043l-22.782-6.813v64.945l22.782-6.804V45.043z M129.483,225.54
l42.165-84.331c0.847-1.693,2.578-2.764,4.472-2.764s3.625,1.07,4.472,2.764l28.228,56.458c0.01,0.022,0.023,0.042,0.033,0.065
l13.904,27.808c1.235,2.47,0.234,5.474-2.236,6.708c-0.718,0.359-1.48,0.529-2.232,0.529c-1.834,0-3.6-1.013-4.476-2.765
l-12.673-25.347h-50.039l-12.673,25.347c-1.235,2.47-4.238,3.47-6.708,2.235C129.249,231.014,128.248,228.01,129.483,225.54z
M156.101,194.666h40.039l-20.02-40.04L156.101,194.666z M288.56,232.793h84.329c2.762,0,5-2.238,5-5s-2.238-5-5-5h-72.258
l75.793-75.796c1.431-1.43,1.858-3.58,1.084-5.448c-0.773-1.869-2.597-3.087-4.619-3.087H298.09c-2.762,0-5,2.238-5,5s2.238,5,5,5
h62.728l-75.793,75.796c-1.431,1.43-1.858,3.58-1.084,5.448C284.714,231.575,286.537,232.793,288.56,232.793z M232.34,188.836
h42.165c2.762,0,5-2.238,5-5s-2.238-5-5-5H232.34c-2.761,0-5,2.238-5,5S229.578,188.836,232.34,188.836z"/>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
</svg>
</div>
<div class='text'>
<h1>Dictionary</h1>
<p>+ 10 new words</p>
</div>
<div class='arrow-right-wrapper'>
<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M0 0h24v24H0z" fill="none"/><path d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"/></svg>
</div>
</div>
</div>
</div>
<div class='right-side'>
<div class='profile'>
<div class='profile-picture-wrapper'>
<img src='https://images.unsplash.com/photo-1566868831873-1d818aec1273?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=500&q=60' alt='profile-picture'/>
</div>
<h2>Johanna Philips</h2>
<p>Bussiness Analyst</p>
</div>
<div class='card'>
<div class='text'>
<h2>Get -10% sell price</h2>
<p>for <<Spanish A2>> course</p>
</div>
<div class='arrow-right-wrapper'>
<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M0 0h24v24H0z" fill="none"/><path d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"/></svg>
</div>
</div>
<div class='courses'>
<h1>Courses Progress</h1>
<div class='course'>
<div class='complete-percentage'>
63%
</div>
<div class='icon-wrapper'>
<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M0 0h24v24H0z" fill="none"/><path d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"/></svg>
</div>
<div class='description'>
<h2>Grammar</h2>
<p>Learn new rules.</p>
</div>
</div>
<div class='course2'>
<div class='complete-percentage'>
78%
</div>
<div class='icon-wrapper'>
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- Generator: Adobe Illustrator 17.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 489.709 489.709" style="enable-background:new 0 0 489.709 489.709;" xml:space="preserve">
<path d="M81.744,418.534h294.475c2.762,0,5,2.238,5,5s-2.238,5-5,5H81.744c-2.761,0-5-2.238-5-5S78.983,418.534,81.744,418.534z
M376.219,437.031H81.744c-2.761,0-5,2.238-5,5s2.239,5,5,5h294.475c2.762,0,5-2.238,5-5S378.981,437.031,376.219,437.031z
M453.287,104.887l-16.75,5.003l16.752,5.009c2.117,0.633,3.567,2.58,3.567,4.79v58.777c0,2.21-1.451,4.158-3.569,4.791
l-16.75,5.002l16.752,5.009c2.117,0.633,3.567,2.58,3.567,4.79v58.777c0,2.21-1.451,4.158-3.569,4.791l-16.75,5.002l16.752,5.009
c2.117,0.633,3.567,2.58,3.567,4.79v58.777c0,2.21-1.451,4.158-3.569,4.791l-16.75,5.002l16.752,5.009
c2.117,0.633,3.567,2.58,3.567,4.79v58.777c0,2.21-1.451,4.158-3.569,4.791l-29.213,8.724v57.619c0,2.762-2.238,5-5,5H87.468
c-25.194,0-54.615-15.139-54.615-57.805V45.153C32.852,20.256,53.108,0,78.006,0h341.069c2.762,0,5,2.238,5,5v22.793l29.215,8.736
c2.117,0.633,3.567,2.58,3.567,4.79v58.776C456.857,102.306,455.406,104.254,453.287,104.887z M89.231,406.943
c-13.764,0-24.961,11.197-24.961,24.961s11.197,24.961,24.961,24.961h324.843v-49.922h-36.43H89.231z M414.074,479.709v-12.844
H89.231c-19.277,0-34.961-15.684-34.961-34.961s15.684-34.961,34.961-34.961h288.414h36.43v-10.396H80.785
c-5.576,0-12.191,2.512-18.628,7.072c-0.877,0.621-1.887,0.92-2.886,0.92c-1.567,0.001-3.109-0.733-4.084-2.109
c-1.596-2.254-1.063-5.374,1.189-6.971c8.112-5.747,16.781-8.912,24.41-8.912h1.683v-15.384c0-2.762,2.239-5,5-5s5,2.238,5,5v15.384
h321.607V10H92.468v312.765c0,2.762-2.239,5-5,5s-5-2.238-5-5V10h-4.462c-19.384,0-35.153,15.77-35.153,35.153v386.751
c0,45.5,37.165,47.805,44.615,47.805H414.074z M446.857,358.521l-22.782-6.813v64.945l22.782-6.803V358.521z M446.857,280.151
l-22.782-6.812v64.944l22.782-6.803V280.151z M446.857,201.782l-22.782-6.813v64.945l22.782-6.803V201.782z M446.857,123.412
l-22.782-6.812v64.944l22.782-6.803V123.412z M446.857,45.043l-22.782-6.813v64.945l22.782-6.804V45.043z M129.483,225.54
l42.165-84.331c0.847-1.693,2.578-2.764,4.472-2.764s3.625,1.07,4.472,2.764l28.228,56.458c0.01,0.022,0.023,0.042,0.033,0.065
l13.904,27.808c1.235,2.47,0.234,5.474-2.236,6.708c-0.718,0.359-1.48,0.529-2.232,0.529c-1.834,0-3.6-1.013-4.476-2.765
l-12.673-25.347h-50.039l-12.673,25.347c-1.235,2.47-4.238,3.47-6.708,2.235C129.249,231.014,128.248,228.01,129.483,225.54z
M156.101,194.666h40.039l-20.02-40.04L156.101,194.666z M288.56,232.793h84.329c2.762,0,5-2.238,5-5s-2.238-5-5-5h-72.258
l75.793-75.796c1.431-1.43,1.858-3.58,1.084-5.448c-0.773-1.869-2.597-3.087-4.619-3.087H298.09c-2.762,0-5,2.238-5,5s2.238,5,5,5
h62.728l-75.793,75.796c-1.431,1.43-1.858,3.58-1.084,5.448C284.714,231.575,286.537,232.793,288.56,232.793z M232.34,188.836
h42.165c2.762,0,5-2.238,5-5s-2.238-5-5-5H232.34c-2.761,0-5,2.238-5,5S229.578,188.836,232.34,188.836z"/>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
</svg>
</div>
<div class='description'>
<h2>Dictionary</h2>
<p>Learn 5 new words.</p>
</div>
</div>
<div class='course3'>
<div class='complete-percentage'>
34%
</div>
<div class='icon-wrapper'>
<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24" viewBox="0 0 24 24" width="24"><g><rect fill="none" height="24" width="24"/></g><g><g/><g><path d="M21,5c-1.11-0.35-2.33-0.5-3.5-0.5c-1.95,0-4.05,0.4-5.5,1.5c-1.45-1.1-3.55-1.5-5.5-1.5S2.45,4.9,1,6v14.65 c0,0.25,0.25,0.5,0.5,0.5c0.1,0,0.15-0.05,0.25-0.05C3.1,20.45,5.05,20,6.5,20c1.95,0,4.05,0.4,5.5,1.5c1.35-0.85,3.8-1.5,5.5-1.5 c1.65,0,3.35,0.3,4.75,1.05c0.1,0.05,0.15,0.05,0.25,0.05c0.25,0,0.5-0.25,0.5-0.5V6C22.4,5.55,21.75,5.25,21,5z M21,18.5 c-1.1-0.35-2.3-0.5-3.5-0.5c-1.7,0-4.15,0.65-5.5,1.5V8c1.35-0.85,3.8-1.5,5.5-1.5c1.2,0,2.4,0.15,3.5,0.5V18.5z"/><g><path d="M17.5,10.5c0.88,0,1.73,0.09,2.5,0.26V9.24C19.21,9.09,18.36,9,17.5,9c-1.7,0-3.24,0.29-4.5,0.83v1.66 C14.13,10.85,15.7,10.5,17.5,10.5z"/><path d="M13,12.49v1.66c1.13-0.64,2.7-0.99,4.5-0.99c0.88,0,1.73,0.09,2.5,0.26V11.9c-0.79-0.15-1.64-0.24-2.5-0.24 C15.8,11.66,14.26,11.96,13,12.49z"/><path d="M17.5,14.33c-1.7,0-3.24,0.29-4.5,0.83v1.66c1.13-0.64,2.7-0.99,4.5-0.99c0.88,0,1.73,0.09,2.5,0.26v-1.52 C19.21,14.41,18.36,14.33,17.5,14.33z"/></g></g></g></svg>
</div>
<div class='description'>
<h2>Reading</h2>
<p>Train your skill.</p>
</div>
</div>
</div>
</div>
</div>
@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: Montserrat;
}
.container {
width: 100%;
height: 100vh;
display: flex;
}
/* Left side navbar styles */
.left-side-navbar {
height: 100vh;
width: 10%;
background-color: #F1F3F6;
}
.left-side-navbar .logo {
margin: auto;
margin-top: 30px;
width: 50px;
height: 50px;
background-color: #F1F3F6;
font-size: 21px;
display: flex;
align-items: center;
justify-content: center;
color: #FD5B28;
font-weight: bold;
border-radius: 4px;
box-shadow: -10px -5px 15px 5px rgba(255,255,255,1), 8px 6px 15px 4px rgba(226,230,240,1);
}
.wrapper {
width: 100%;
height: 300px;
margin-top: 68px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-around;
}
.wrapper > div:nth-child(1) {
margin-top: 10px;
}
.wrapper > div:nth-child(1) svg path {
fill: gray;
}
.wrapper > div:nth-child(2) {
width: 40px;
height: 40px;
border-radius: 100%;
background-color: #F1F3F6;
display: flex;
justify-content: center;
align-items: center;
box-shadow: inset 4px 8px 15px 0px #e2e6f0,inset -4px -5px 15px 1px #ffffff;
}
.wrapper > div:nth-child(4) img {
opacity: 0.5;
width: 20px;
height: 20px;
}
/* Center part styles */
.container .center {
width: 65%;
height: 627px;
display: flex;
flex-direction: column;
}
.center h1 {
margin-top: 12vh;
margin-left: 4vw;
font-size: 32px;
font-weight: bold;
letter-spacing: 2px;
height: 32px;
}
.center > div {
width: 100%;
height: auto;
margin-bottom: 10px;
}
.row1 {
display: flex;
}
/* Row1 Card1 styles */
.center .row1 .card1 {
border-radius: 9px;
margin-top: 30px;
margin-left: 4vw;
background-color: #5843BE;
width: 28vw;
max-width: 320px;
min-width: 239px;
height: 130px;
font-size: 12px;
display: flex;
flex-direction: column;
padding-left: 20px;
user-select: none;
}
.center .row1 .card1 .deadline {
margin-top: 18px;
height: 20px;
width: 100%;
}
.row1 .card1 .deadline span:nth-child(1) {
color: #a49bda;
text-transform: uppercase;
margin-right: 10px;
}
.center .row1 .card1 .deadline span:nth-child(2) {
color: #fff;
}
.row1 .card1 .exam-unit {
margin-top: 10px;
width: auto;
height: 35px;
font-size: 25px;
color: #fff;
font-weight: bold;
}
.row1 .card1 .description {
color: #a49bda;
width: auto;
height: 18px;
}
.row1 .card1 .start-testing,
.row1 .card1 .start-testing div a {
color: #fff;
}
.row1 .card1 .start-testing {
display: flex;
justify-content: space-between;
align-items: center;
height: 40px;
width: auto;
margin-top: 5px;
}
.row1 .card1 .start-testing > .members {
display: flex;
position: relative;
right: 7px;
}
.row1 .card1 .start-testing .members .member {
width: 22px;
height: 22px;
border-radius: 100%;
background-color: #FFCD4C;
font-size: 10px;
}
.row1 .card1 .start-testing .members .member:last-child {
display: flex;
align-items: center;
justify-content: center;
z-index: 0;
position: relative;
right: 5px;
}
.row1 .card1 .start-testing .members .member img {
width: inherit;
height: inherit;
border-radius: inherit;
object-fit: fill;
border: 1.7px solid #fff;
}
.row1 .card1 .start-testing .members .member:nth-child(3) {
z-index: 1;
}
.row1 .card1 .start-testing .members .member:nth-child(2) {
position: relative;
left: 5px;
z-index: 2;
}
.row1 .card1 .start-testing .members .member:nth-child(1) {
position: relative;
left: 10px;
z-index: 5;
}
.row1 .card1 .start-testing > div:nth-child(2) {
margin-right: 7%;
}
/* Row1 Card2 styles */
.row1 .card2 {
background-color: #FFEDE6;
width: 10vw;
max-width: 118px;
min-width: 100px;
/* height: 21vh; */
height: 130px;
font-size: 12px;
border-radius: 9px;
margin-top: 30px;
margin-left: 2.5vw;
display: flex;
flex-direction: column;
}
.row1 .card2 .checkmark {
width: auto;
height: auto;
margin-left: 1.2vw;
margin-top: 20px;
}
.row1 .card2 .checkmark svg {
fill: #ff8b45;
}
.row1 .card2 h1 {
letter-spacing: 1px;
font-size: 13px;
font-weight: bolder;
width: auto;
height: auto;
margin-top: 15px;
margin-left: 0;
padding-left: 1.2vw;
color: #ff8b45
}
.row1 .card2 p {
margin-top: 7px;
width: auto;
height: auto;
padding-left: 1.2vw;
line-height: 15px;
padding-top: 1vh;
color: #FFA067;
opacity: 0.65;
font-size: 12px;
}
/* Row1 card3 styles */
.row1 .card3 {
background-color: #F6F4FF;
width: 10vw;
max-width: 118px;
min-width: 100px;
height: 130px;
font-size: 12px;
border-radius: 9px;
margin-top: 30px;
margin-left: 2.5vw;
margin-left: 11%;
display: flex;
flex-direction: column;
}
@media screen and (min-width: 1134px) {
.row1 .card3 {
margin-left: 72px;
}
}
.row1 .card3 .checkmark {
width: auto;
height: auto;
margin-left: 1.2vw;
margin-top: 20px;
}
.row1 .card3 .checkmark svg {
fill: #9082d1;
}
.row1 .card3 h1 {
letter-spacing: 1px;
font-size: 13px;
font-weight: bolder;
width: auto;
height: auto;
margin-top: 15px;
margin-left: 0;
padding-left: 1.2vw;
color: #9082d1;
}
.row1 .card3 p {
margin-top: 7px;
width: auto;
height: auto;
padding-left: 1.2vw;
line-height: 15px;
padding-top: 1vh;
color: #9D8FDA;
opacity: 0.65;
font-size: 12px;
}
/* Row2 card1 styles */
.row2 {
width: 100%;
height: auto;
display: flex;
margin-top: 25px;
}
.row2 .card1 {
width: 27.4vw;
max-width: 320px;
min-width: 239px;
height: 220px;
margin-left: 4vw;
border-radius: 9px;
box-shadow: 0px 0px 18px 1px rgba(230,232,235,1);
}
.row2 .card1 .header {
margin-top: 15px;
width: auto;
height: 30px;
display: flex;
justify-content: space-between;
align-items: center;
font-size: 13px;
}
.row2 .card1 .header span {
font-weight: 900;
margin-left: 2vw;
font-stretch: ultra-expanded;
}
.row2 .card1 .header svg {
margin-right: 2vw;
width: 18px;
opacity: 0.5;
}
.row2 .card1 .nr-of-students {
color: #c5c8d1;
font-size: 12px;
margin-left: 2vw;
font-weight: bolder;
}
.row2 .card1 .group-homework {
position: relative;
display: flex;
flex-direction: column;
color: #fff;
margin-top: 15px !important;
width: 87%;
margin: auto;
height: 86px;
border-radius: 9px;
background-color: #FFA067;
}
.row2 .card1 .group-homework h1 {
font-size: 13px;
font-weight: bold;
margin-top: 15px;
margin-left: 1.5vw;
width: auto;
height: auto;
}
.row2 .card1 .group-homework p {
font-size: 10px;
width: auto;
height: auto;
margin-left: 1.5vw;
margin-top: 10px;
}
.row2 .card1 .group-homework svg {
position: absolute;
top: 32%;
right: 2vw;
width: 17px;
fill: #fff;
}
.row2 .card1 .timetable-lesson {
font-size: 13px;
font-weight: 900;
margin-top: 15px;
margin-left: 2vw;
height: 20px;
width: auto;
display: flex;
justify-content: space-between;
}
.row2 .card1 .timetable-lesson span:nth-child(2) {
margin-right: 2.1vw;
}
.row2 .card1 .unit-desc {
margin-left: 2vw;
font-size: 12px;
height: 20px;
width: auto;
color: #c5c8d1;
}
/* Row2 card2 styles */
.row2 .card2 {
width: 16vw;
margin-left: 2vw;
display: flex;
flex-direction: column;
}
.row2 .card2 .spanish-flag {
width: 3.7vw;
height: 40px;
margin-top: 35px;
margin-left: 1.4vw;
border-radius: 8px;
background-color: #fff;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0px 0px 26px 15px rgba(230,232,235,1);
}
.row2 .card2 .spanish-flag img {
width: 2.5vw;
height: 37px;
}
.row2 .card2 h1 {
letter-spacing: 0px;
line-height: 28px;
margin-top: 10px;
margin-left: 0;
padding-left: 1.4vw;
width: auto;
height: 70px;
font-size: 25px;
}
.row2 .card2 .progress-bar {
width: 16vw;
max-width: 160px important;
height:80px;
}
.row2 .card2 .progress-bar .value {
font-size: 13px;
font-weight: 900;
width: auto;
height: 20px;
margin-top: 14px;
margin-left: 1.4vw;
}
.row2 .card2 .progress-bar .bar {
position: relative;
width: 13vw;
max-width: 140px;
margin-left: 1.4vw;
height: 8.4px;
background-color: #F1F3F6;
border-radius: 10px;
}
.row2 .card2 .progress-bar .bar .filled {
position: absolute;
top: 0;
left: 0;
border-radius: inherit;
height: inherit;
width: 75%;
background-color: #FFA067;
}
.row3 {
display: flex;
margin-top: -7px;
}
/* Row3 card1 styles */
.row3 .card1 {
border: 1.2px solid #F1F3F6;
width: 27.9vw;
max-width: 320px;
min-width: 239px;
height: 77px;
border-radius: 9px;
margin-left: 3.8vw;
display: flex;
align-items: center;
}
.row3 .card1 .edit-icon-wrapper {
width: 4.2vw;
height: 42px;
border-radius: 100%;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0px 10px 19px -2px rgba(219,220,222,1);
box-shadow: 14px 14px 29px -5px rgba(224,224,224,1),-14px 14px 29px -5px rgba(224,224,224,1);
margin-left: 2vw;
}
.row3 .card1 .edit-icon-wrapper svg {
width: 2.1vw;
fill: #A49BDA;
}
.row3 .card1 .text {
width: auto;
height: 50px;
margin-left: 1.6vw;
}
.row3 .card1 .text h1 {
font-size: 14px;
font-weight: 900;
margin-left: 0;
margin-top: 10px;
}
.row3 .card1 .text p {
font-size: 12px;
color: #c5c8d1;
font-weight: bolder;
width: auto;
height: 15px;
margin-top: -14px;
}
.row3 .arrow-right-wrapper {
margin-left: 3.2vw;
width: auto;
height: auto;
}
.row3 .arrow-right-wrapper svg {
width: 2vw;
}
/* Row3 card2 styles */
.row3 .card2 {
border: 1.2px solid #F1F3F6;
width: 28vw;
max-width: 320px;
min-width: 239px;
height: 77px;
border-radius: 9px;
margin-left: 2vw;
display: flex;
align-items: center;
}
.row3 .card2 .edit-icon-wrapper {
width: 4.2vw;
height: 42px;
border-radius: 100%;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0px 10px 19px -2px rgba(219,220,222,1);
box-shadow: 14px 14px 29px -5px rgba(247,207,183,.4),-14px 14px 29px -5px rgba(247,207,183,.4);
margin-left: 2vw;
}
.row3 .card2 .edit-icon-wrapper svg {
width: 2.1vw;
fill: #FFA067;
}
.row3 .card2 .text {
width: auto;
height: 50px;
margin-left: 1.6vw;
}
.row3 .card2 .text h1 {
font-size: 14px;
font-weight: 900;
margin-left: 0;
margin-top: 10px;
}
.row3 .card2 .text p {
font-size: 12px;
color: #c5c8d1;
font-weight: bolder;
width: auto;
height: 15px;
margin-top: -14px;
}
.row3 .card2 .arrow-right-wrapper {
margin-left: 3.2vw;
width: auto;
height: auto;
}
.row3 .card2 .arrow-right-wrapper svg {
width: 2vw;
}
/* Right side styles */
/* Profile styles */
.right-side {
width: 25vw;
max-width: 260px;
background-color: #F9FAFB;
}
.right-side .profile {
margin-top: 23px;
width: 100%;
max-width: 260px;
height: auto;
margin: auto;
}
.right-side .profile .profile-picture-wrapper {
width: 110px;
height: 110px;
margin: auto;
}
.profile .profile-picture-wrapper img {
width: inherit;
height: inherit;
border-radius: 100%;
object-fit: cover;
}
.profile h2 {
font-size: 20px;
font-weight: 900;
margin-top: 10px;
width: 162px;
height: 25px;
margin: auto;
}
.profile p {
margin-top: 8px;
color: #c5c8d1;
font-size: 12px;
font-weight: 900;
width: auto;
text-align: center;
height: 18px;
}
/* Card styles */
.right-side .card {
margin-top: 20px;
border: 1.2px solid #F1F3F6;
width: 22vw;
max-width: 260px;
height: 95px !important;
border-radius: 9px;
display: flex;
align-items: center;
justify-content: space-around;
}
.right-side .card .text {
margin-left: 2vw;
width: auto;
height: 40px;
}
.right-side .card .text h2 {
font-size: 14px;
font-weight: 900;
width: auto;
height: 20px;
}
.right-side .card .text p {
height: 16px;
font-size: 12px;
color: #bfc2c9;
margin-top: 6px;
}
.right-side .card .arrow-right-wrapper {
border-radius: 9px;
width: 3.2vw;
height: 35px;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 15px 2px 20px -12px rgba(191,194,201,1),1px 17px 20px -12px rgba(191,194,201,1);
}
.right-side .card .arrow-right-wrapper svg {
width: 20px;
height: 20px;
fill: #FFA067;
}
.right-side .courses {
width: 22.6vw;
max-width: 260px;
height: auto;
margin-top: 91px;
}
.right-side .courses h1 {
font-size: 24px;
width: auto;
height: 27px;
text-align: center;
position: relative;
bottom: 30px;
}
.right-side .courses .course {
border: 1.2px solid #F1F3F6;
width: auto;
height: 68px;
margin-bottom: 10px;
display: flex;
align-items: center;
border-radius: 9px;
}
.right-side .courses .course .complete-percentage {
height: 23px;
width: 37px;
font-size: 18px;
font-weight: bold;
color: #5843BE;
margin-left: 1vw;
}
.right-side .courses .course .icon-wrapper {
width: 50px;
height: 50px;
border-radius: 9px;
background-color: #5843BE;
display: flex;
align-items: center;
justify-content: center;
margin-left: 1vw;
}
.right-side .courses .course .icon-wrapper svg {
fill: #fff;
}
.right-side .courses .course .description {
width: auto;
height: 50px;
margin-top: 14px;
margin-left: 1vw;
}
.right-side .courses .course .description h2 {
font-size: 15px;
font-weight: 900;
width: auto;
height: auto;
}
.right-side .courses .course .description p {
font-size: 11px;
color: #bfc2c9;
}
/* Course 2 styles */
.right-side .courses .course2 {
border: 1.2px solid #F1F3F6;
width: auto;
height: 68px;
margin-bottom: 10px;
display: flex;
align-items: center;
border-radius: 9px;
}
.right-side .courses .course2 .complete-percentage {
height: 23px;
width: 37px;
font-size: 18px;
font-weight: bold;
color: #FFA067;
margin-left: 1vw;
}
.right-side .courses .course2 .icon-wrapper {
width: 50px;
height: 50px;
border-radius: 9px;
background-color: #FFA067;
display: flex;
align-items: center;
justify-content: center;
fill: #fff;
margin-left: 1vw;
}
.right-side .courses .course2 .icon-wrapper svg {
width: 2.5vw;
fill: #fff;
z-index: 5;
}
.right-side .courses .course2 .description {
width: auto;
height: 50px;
margin-top: 14px;
margin-left: 1vw;
}
.right-side .courses .course2 .description h2 {
font-size: 15px;
font-weight: 900;
width: 7vw;
height: auto;
}
.right-side .courses .course2 .description p {
font-size: 11px;
color: #bfc2c9;
width: auto;
}
/* Course 3 styles */
.right-side .courses .course3 {
border: 1.2px solid #F1F3F6;
width: auto;
height: 68px;
margin-bottom: 5px;
display: flex;
align-items: center;
border-radius: 9px;
}
.right-side .courses .course3 .complete-percentage {
height: 23px;
width: 37px;
font-size: 18px;
font-weight: bold;
color: #FE7066;
margin-left: 1vw;
}
.right-side .courses .course3 .icon-wrapper {
width: 50px;
height: 50px;
border-radius: 9px;
background-color: #FE7066;
display: flex;
align-items: center;
justify-content: center;
fill: #fff;
margin-left: 1vw;
}
.right-side .courses .course3 .icon-wrapper svg {
width: 2.5vw;
fill: #fff;
z-index: 5;
}
.right-side .courses .course3 .description {
width: auto;
height: 50px;
margin-top: 14px;
margin-left: 1vw;
}
.right-side .courses .course3 .description h2 {
font-size: 15px;
font-weight: 900;
width: 7vw;
height: auto;
}
.right-side .courses .course3 .description p {
font-size: 12px;
color: #bfc2c9;
width: auto;
}
/* Media queries */
@media screen and (max-width: 864px) {
.left-side-navbar {
height: 100vh;
width: 86.4px;
position: fixed;
}
.center {
position: absolute;
margin: auto;
right: 0;
left: 0;
left: 100px;
top: 650px;
width: 500px;
max-width: 500px;
min-width: 500px;
}
.center h1 {
margin: auto;
margin-top: 13vh;
font-size: 34px;
}
.row1 {
display: block;
}
/* Row1 Card1 styles */
.center .row1 .card1 {
width: 300px;
margin: auto;
margin-top: 30px;
max-width: 300px;
min-width: 239px;
}
/* Row1 Card2 styles */
.row1 .card2 {
width: 120px;
max-width: 120px;
min-width: 100px;
height: 140px;
margin-left: 100px;
}
.row1 .card2 h1 {
font-size: 14px;
margin-top: 12px;
padding-left: 12px;
}
.row1 .card2 p {
margin-bottom: 14px;
padding-left: 12px;
}
/* Row1 card3 styles */
.row1 .card3 {
position: relative;
left: 179px;
bottom: 170px;
width: 120px;
max-width: 120px;
min-width: 100px;
height: 140px;
margin-left: 100px;
}
.row1 .card3 h1 {
font-size: 14px;
margin-top: 12px;
padding-left: 12px;
}
.row1 .card3 p {
margin-bottom: 14px;
padding-left: 12px;
}
/* Row2 card1 styles */
.row2 {
margin-top: -150px;
}
.row2 .card1 {
width: 230px;
}
.row2 .card1 .nr-of-students {
margin-left: 20px;
}
.row2 .card1 .group-homework p {
margin-left: 15px;
margin-bottom: 10px;
}
.row2 .card1 .group-homework svg {
position: absolute;
top: 37%;
}
/* Row2 card2 styles */
.row2 .card2 {
width: 160px;
margin-left: 20px;
}
.row2 .card2 .spanish-flag {
width: 37px;
}
.row2 .card2 .spanish-flag img {
width: 23px;
}
.row2 .card2 h1 {
padding-left: 12px;
}
.row2 .card2 .progress-bar {
width: 160px;
max-width: 160px important;
}
.row2 .card2 .progress-bar .value {
margin-left: 12px;
}
.row2 .card2 .progress-bar .bar {
position: relative;
width: 120px;
}
/* Row3 card1 styles */
.row3 .card1 {
width: 200px;
max-width: 320px;
min-width: 200px;
}
.row3 .card1 .edit-icon-wrapper {
width: 42px;
height: 42px;
}
.row3 .card1 .edit-icon-wrapper svg {
width: 20px;
}
.row3 .card1 .text h1 {
font-size: 15px;
}
.row3 .card1 .text p {
font-size: 11px;
}
.row3 .arrow-right-wrapper {
margin-left: 1px;
}
.row3 .arrow-right-wrapper svg {
width: 17px;
}
/* Row3 card2 styles */
.row3 .card2 {
width: 200px;
max-width: 320px;
min-width: 200px;
}
.row3 .card2 .edit-icon-wrapper {
width: 42px;
}
.row3 .card2 .edit-icon-wrapper svg {
width: 20px;
}
.row3 .card2 .text h1 {
font-size: 15px;
}
.row3 .card2 .text p {
font-size: 11px;
}
.row3 .card2 .arrow-right-wrapper {
margin-left: 5px;
}
.row3 .card2 .arrow-right-wrapper svg {
width: 17px;
}
/* Right side styles */
.right-side {
position: absolute;
margin: auto;
right: 0;
left: 0;
left: 100px;
width: 500px;
max-width: 500px;
}
.right-side .profile .profile-picture-wrapper {
width: 160px;
height: 160px;
}
.profile h2 {
font-size: 23px;
margin-top: 20px;
width: 190px;
}
.profile p {
margin-top: 10px;
font-size: 15px;
}
/* Card styles */
.right-side .card {
margin: auto;
margin-top: 25px;
width: 300px;
max-width: 300px;
}
.right-side .card .text h2 {
font-size: 15px;
}
.right-side .card .arrow-right-wrapper {
width: 35px;
}
.right-side .card .arrow-right-wrapper svg {
width: 21px;
height: 21px;
}
/* Courses */
.right-side .courses {
width: 300px;
max-width: 300px;
margin: auto;
margin-top: 50px;
}
.right-side .courses h1 {
font-size: 25px;
}
.right-side .courses .course {
height: 75px;
}
.right-side .courses .course .description h2 {
font-size: 16px;
}
/* Course 2 styles */
.right-side .courses .course2 {
height: 75px;
}
.right-side .courses .course2 .description h2 {
font-size: 16px;
}
/* Course 3 styles */
.right-side .courses .course3 {
height: 75px;
}
.right-side .courses .course3 .description h2 {
font-size: 16px;
}
}
@media screen and (max-width: 619px) {
/* Right side styles */
.right-side {
width: 70vw;
max-width: 70vw;
}
.center {
position: absolute;
margin: auto;
right: 0;
left: 0;
left: 100px;
top: 650px;
width: 70vw;
max-width: 70vw;
min-width: 70vw;
}
/* Row1 Card2 styles */
.row1 {
margin: auto;
width: 70vw;
max-width: 70vw;
}
.row1 .card2 {
margin: auto;
margin-top: 15px;
}
.row1 .card3 {
position: absolute;
left: 0;
right: 0;
margin: auto;
top: 560px;
}
.row2 {
display: block;
margin: auto;
margin-top: 170px;
width: 70vw;
max-width: 70vw;
}
.row2 .card1,
.row2 .card2 {
margin: auto;
}
.row3 {
display: block;
width: 70vw;
max-width: 70vw;
margin: auto;
}
.row3 .card1,
.row3 .card2 {
margin: auto;
margin-bottom: 10px;
}
.center >h1 {
margin: auto;
margin-top: 13vh;
font-size: 5vw;
}
}
@media screen and (max-width: 422px) {
.left-side-navbar {
width: 68px;
}
/* Right side styles */
.right-side {
position: absolute;
margin: auto;
right: 0;
left: 0;
left: 70px;
width: 79vw;
max-width: 79vw;
}
.right-side .profile .profile-picture-wrapper {
width: 150px;
height: 150px;
}
/* Card styles */
.right-side .card {
width: 250px;
max-width: 250px;
}
/* Courses */
.right-side .courses {
width: 250px;
max-width: 250px;
}
.right-side .courses .course .complete-percentage {
margin-left: 15px;
}
.right-side .courses .course .icon-wrapper {
margin-left: 20px;
}
.right-side .courses .course .icon-wrapper svg {
width: 25px;
}
.right-side .courses .course .description {
margin-left: 20px;
}
.right-side .courses .course2 .complete-percentage {
margin-left: 15px;
}
.right-side .courses .course2 .icon-wrapper {
margin-left: 20px;
}
.right-side .courses .course2 .icon-wrapper svg {
width: 25px;
}
.right-side .courses .course2 .description {
margin-left: 20px;
}
.right-side .courses .course3 .complete-percentage {
margin-left: 15px;
}
.right-side .courses .course3 .icon-wrapper {
margin-left: 20px;
}
.right-side .courses .course3 .icon-wrapper svg {
width: 25px;
}
.right-side .courses .course3 .description {
margin-left: 20px;
}
.center {
left: 77px;
min-width: 70vw;
}
/* Row1 Card2 styles */
.row1 {
margin: auto;
width: 100vw;
max-width: 100vw;
}
.center .row1 .card1 {
width: 250px;
margin: auto;
margin-top: 30px;
max-width: 250px;
}
}
@media screen and (max-width: 411px) {
/* Right side styles */
.right-side {
position: absolute;
margin: auto;
right: 0;
left: 0;
left: 68px;
width: 200px;
max-width: 200px;
min-width: 200px;
}
/* Card styles */
.right-side .card {
margin: auto;
margin-top: 15px;
width: 200px;
max-width: 200px;
}
.right-side .card .arrow-right-wrapper {
margin-left: -15px;
}
.right-side .card .text p {
width: 140px;
}
/* Courses */
.right-side .courses {
width: 200px;
max-width: 200px;
}
.right-side .courses > h1 {
font-size: 23px;
}
.right-side .courses .course .complete-percentage {
margin-left: 12px;
}
.right-side .courses .course .icon-wrapper {
margin-left: 15px;
height: 40px;
}
.right-side .courses .course .icon-wrapper svg {
width: 25px;
}
.right-side .courses .course .description {
margin-left: 10px;
}
.right-side .courses .course2 .complete-percentage {
margin-left: 12px;
}
.right-side .courses .course2 .icon-wrapper {
margin-left: 15px;
height: 40px;
}
.right-side .courses .course2 .icon-wrapper svg {
width: 25px;
}
.right-side .courses .course2 .description {
margin-left: 10px;
}
.right-side .courses .course3 .complete-percentage {
margin-left: 12px;
}
.right-side .courses .course3 .icon-wrapper {
margin-left: 15px;
height: 40px;
}
.right-side .courses .course3 .icon-wrapper svg {
width: 25px;
}
.right-side .courses .course3 .description {
margin-left: 10px;
}
.center {
left: 68px;
min-width: 200px;
width: 232px;
}
/* Row1 Card2 styles */
.row1 {
width: 232px;
max-width: 232px;
}
.center > h1 {
font-size: 16px;
margin-bottom: 10px;
margin-left: 5px;
width: 200px;
}
.center .row1 .card1 {
width: 200px !important;
margin: auto;
max-width: 200px !important;
min-width: 200px;
}
.center .row2 .card1 {
width: 200px;
max-width: 200px;
min-width: 200px;
}
.center .row2 {
width: 200px;
max-width: 200px;
min-width: 200px;
}
.center .row2 .card2 {
width: 200px;
max-width: 200px;
min-width: 200px;
}
.center .row3 {
width: 200px;
max-width: 200px;
min-width: 200px;
}
.center .row3 .card1,
.center .row3 .card2 {
width: 200px;
max-width: 200px;
min-width: 200px;
}
}
Also see: Tab Triggers