.homepage > h1 { display: none; } .homepage ul { list-style-type: none; margin: 0; padding: 0; overflow: hidden; } .homepage ul li { margin: 0; padding: 0; } .homepage section:first-of-type { padding-top: 1em; } .homepage section > h1 { margin: 1em 0 1em 0.25em; color: #235; font-size: 2em; } .homepage section > ul > li { float: left; padding: 1em 0.5em; width: calc(25% - 1em); } .homepage section > ul > li:nth-child(4n + 1) { clear: left; } .homepage section > ul > li:last-child { display: none; } .homepage section > ul > li > button { box-sizing: border-box; margin: 0 0 0.75em 0; padding: 0; width: 100%; color: #112; font-size: 1.4em; height: 2.5em; line-height: 2.5em; text-align: center; border: 0.125em solid #fff; border-radius: 0.3em; background: #6cc; background: #8dc; box-shadow: 0.05em 0.075em rgba(0, 0, 0, 0.25); outline: none; cursor: pointer; transition: color 0.2s, background 0.2s, transform 0.2s; transform: skewX(-6deg) /*skewY(-1deg)*/; -ms-transform: skewX(-6deg) /*skewY(-1deg)*/; } .homepage section > ul > li > button:hover, .homepage section > ul > li > button.active:hover { color: #fff; background: #a22; } .homepage section > ul > li > button.active { color: #fff; background: #235; } .homepage section > ul > li > ul { display: none; } .homepage section > ul > li > ul > li > a { display: block; width: calc(100% - 1em); padding: 0 0.5em; color: #235; font-size: 1.25em; line-height: 2em; text-decoration: none; background-color: #fff; transition: color 0.1s, background-color 0.2s; } /* svg */ .homepage section > ul > li > ul > li > a > svg { margin: 0.25em 0.5em 0 0; width: 1em; height: 1.25em; } .homepage section > ul > li > ul > li > a > svg > rect { stroke: none; fill: #235; transition: fill 0.2s;; } .homepage section > ul > li > ul > li > a > svg > ellipse { stroke: #235; stroke-width: 0.15; fill: none; transition: stroke 0.2s;; } .homepage section > ul > li > ul > li > a > svg > circle { stroke: none; fill: #fff; transition: fill 0.2s;; } .homepage section > ul > li > ul > li > a:hover { color: #fff; background-color: #a22; } .homepage section > ul > li > ul > li > a:hover > svg > rect { fill: #fff; } .homepage section > ul > li > ul > li > a:hover > svg > ellipse { stroke: #fff; } .homepage section > ul > li > ul > li > a:hover > svg > circle { fill: #a22; } .homepage .two_columns { overflow: hidden; } .homepage .two_columns > section { padding-top: 1em; width: calc(50% - 2em); } .homepage .two_columns > section:first-of-type { float: left; }.homepage .two_columns > section:last-of-type { float: right; } .homepage .two_columns section > ul > li { float: none; width: calc(100% - 1em); } /* .homepage .two_columns section > ul > li > button.active { transform: skewX(-6deg) skewY(0deg); -ms-transform: skewX(-6deg) skewY(0deg); } */ /* arabic fonts */ .homepage section:first-of-type > ul > li:not(:first-child) > button > span { letter-spacing: 0.25em; font-size: 1.4em; }