Skip to content

Instantly share code, notes, and snippets.

View wpsyed's full-sized avatar
🏠
Working from home

Syed Saadullah Shah wpsyed

🏠
Working from home
View GitHub Profile
@wpsyed
wpsyed / gist:f3557a81b5b63999ccce020cb2242635
Created December 30, 2021 08:11
My GeneratePress Travel Site CSS
/* GeneratePress Site CSS */ /* hide the topbar on mobile devices */
@media (max-width: 768px) {
.top-bar {
display: none;
}
}
/* rule under top bar */
.top-bar {
border-bottom: solid 1px rgba(109,159,170,1.0);
@wpsyed
wpsyed / Inside article container border
Last active November 18, 2021 10:04
GeneratePress inside article Border source: https://wpsyed.com
.inside-article, .sidebar .widget, .comments-area {
border: 1px solid rgba(232, 234, 237, 1);
box-shadow: 0 0 10px rgba(232, 234, 237, 0.5);
}
@wpsyed
wpsyed / CSS
Created October 24, 2021 09:08
GeneratePress custom CSS Source: https://wpsyed.com/generatepress-review
.entry-content p a, .entry-content li a, .entry-summary a, .nav-links a, .site-info a {
border-bottom: 2px solid rgba(35, 117, 214, 0.4);
}
/* fix alignfull class too wide */
body {
overflow-x: hidden;
}
.separate-containers .inside-article {
border-bottom: 1px solid rgba(0,0,0,.05);
}