Skip to content

Instantly share code, notes, and snippets.

View euqueme's full-sized avatar
💭
Looking for remote opportunities

Maria Eugenia Quemé Peña euqueme

💭
Looking for remote opportunities
  • Freelance Full-stack Developer
  • Guatemala
View GitHub Profile
@euqueme
euqueme / grid.scss
Last active October 30, 2019 03:19
explaining grid in scss code
//VARIABLES
$xs: xs;
$sm: sm;
$md: md;
$lg: lg;
$xl: xl;
$breakpoint-xs: 575px;
$breakpoint-sm: 576px;
$breakpoint-md: 768px;
ex = bubble_sort_by(["hi","hello","hey"]) do |left,right| left.length - right.length end
puts ex
@euqueme
euqueme / grid.css
Last active October 30, 2019 03:29
result of grid.scss
/*Result*/
.col-1 {
float: left;
margin-right: 1%;
width: 7.3333333333%;
}
.col-2 {
float: left;
margin-right: 1%;
//VARIABLES
$xs: xs;
$sm: sm;
$md: md;
$lg: lg;
$xl: xl;
$breakpoints: $sm, $md, $lg, $xl;
$breakpoint-xs: 575px;
$breakpoint-sm: 576px;
$breakpoint-md: 768px;
@import "reset";
@import "variables";
@import "spacing";
@import "display";
@import "width-height";
@import "font-color";
//VARIABLES
$breakpoints: $sm, $md, $lg, $xl;
$breakpoint-xs: 575px;
$breakpoint-sm: 576px;
$breakpoint-md: 768px;
$breakpoint-lg: 992px;
$breakpoint-xl: 1200px;
$breaks: $breakpoint-sm, $breakpoint-md, $breakpoint-lg, $breakpoint-xl;
.h-10 {
height: 10% !important;
}
.w-10 {
width: 10% !important;
}
.h-20 {
height: 20% !important;
//Variables
$main: #001b41;
$secondary: #465a75;
$main-blue: #003d8f;
$light-blue: #0b9dcc;
$soft-blue: #28cce8;
$secondary-blue: #3364a5;
$light: #fff;
$light-gray: #f6f7f8;
$article-blue: #0357a0;
.bg-main {
background-color: #001b41;
}
.border-main {
border: solid 1px #001b41;
}
.main {
color: #001b41;
RSpec.describe 'login followed by logout', type: :feature do
# The user must exist so we are creating it here
let(:user) { User.create(username: 'maruk', fullname: 'Maria Eugenia Queme') }
scenario 'login page' do
# First we need to be in the root path
visit root_path
# Secondly fill in the fields in this case only the username
fill_in 'session_username', with: user.username
# Third we have to click the Log in button