Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Ronin is a framework for creating responsive web designs with SASS.
In your Gemfile
:
gem 'ronin-grid'
Run the installer:
rake ronin-grid:install
We do not want Ronin's SASS files to be compiled, so remove the following line
from app/assets/stylesheets/application.css
:
*= require_tree .
Import Ronin into your SASS stylesheets:
@import 'ronin-grid';
Customize:
vim app/assets/stylesheets/ronin-grid/_setup.scss
Use the binary:
ronin-grid install
# Creates ronin-grid/lib/ronin-grid/...
or:
ronin-grid install-bare
# Creates _ronin-grid.scss
# Creates ronin-grid/...
Given the following HTML:
<div class='page-container'>
<div id='some-content'>
<p>Lorem ipsum...</p>
</div>
<div id='more-content'>
<p>Lorem ipsum...</p>
</div>
</div>
Apply Ronin's container
mixin to your content container, and the cols
mixin to your content:
.page-container {
@include container;
}
#some-content {
@include cols(6);
}
#more-content {
@include cols(6);
}
Respond with media queries with ease, writing the queries explicitly or using Ronin's built-in mixins:
#some-content {
@include cols(6);
@media screen and (max-width: 480px) {
@include cols(12);
}
}
#more-content {
@include cols(6);
@include respond-480(12);
}
Ronin can be used as a starting point for a project-specific framework. The code is well-marked up and easily tailored to a project, and I'm around to provide support on Twitter.
I'm using the term loosely. "Breakpoint" is usually used to mean the point at which a site's layout breaks and media queries should be used to prevent breakage. I'm using it to mean a point at which adjusting content width would improve readability or usability on a page.
The [example page][grid_example_page] has a table of Ronin's default breakpoints and how they effect elements using the cols
mixin.
Elements using the cols
mixin cannot be nested inside of one another.
Ronin is by Jonathan Clem.
Copyright (c) 2012, Jonathan Clem
All rights reserved.
Released under a modified MIT license
FAQs
Unknown package
We found that ronin-grid demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.