Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
Com2025-Coursework
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Butler, Alexis (UG - Computer Science)
Com2025-Coursework
Commits
566740d1
Commit
566740d1
authored
4 years ago
by
Butler, Alexis (UG - Computer Science)
Browse files
Options
Downloads
Patches
Plain Diff
Added media query template and credited
parent
baa914eb
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
app/assets/stylesheets/application/media_queries.scss
+57
-18
57 additions, 18 deletions
app/assets/stylesheets/application/media_queries.scss
app/views/legal/index.html.erb
+3
-1
3 additions, 1 deletion
app/views/legal/index.html.erb
with
60 additions
and
19 deletions
app/assets/stylesheets/application/media_queries.scss
+
57
−
18
View file @
566740d1
// This file was generated by html5-rails
// https://github.com/sporkd/html5-rails
// Upgrade with: $ rails generate html5:install
//
// EXAMPLE Media Query for Responsive Design.
// This example overrides the primary ('mobile first') styles
// Modify as content requires.
/*Built using template from: https://gist.github.com/marcobarbosa/798569
Author: http://stuffandnonsense.co.uk/blog/about/hardboiled_css3_media_queries/
*/
@media
only
screen
and
(
min-width
:
35em
)
{
// Style adjustments for viewports that meet the condition
/* Smartphones (portrait and landscape) ----------- */
@media
only
screen
and
(
min-device-width
:
320px
)
and
(
max-device-width
:
480px
)
{
/* Styles */
}
@media
print
,
(
-
o-min-device-pixel-ratio
:
5
/
4
)
,
(
-
webkit-min-device-pixel-ratio
:
1
.25
)
,
(
min-resolution
:
120dpi
)
{
// Style adjustments for high resolution devices
/* Smartphones (landscape) ----------- */
@media
only
screen
and
(
min-width
:
321px
)
{
/* Styles */
}
// Print styles.
// Inlined to avoid required HTTP connection: h5bp.com/r
/* Smartphones (portrait) ----------- */
@media
only
screen
and
(
max-width
:
320px
)
{
/* Styles */
}
/* iPads (portrait and landscape) ----------- */
@media
only
screen
and
(
min-device-width
:
768px
)
and
(
max-device-width
:
1024px
)
{
/* Styles */
}
/* iPads (landscape) ----------- */
@media
only
screen
and
(
min-device-width
:
768px
)
and
(
max-device-width
:
1024px
)
and
(
orientation
:
landscape
)
{
/* Styles */
}
@media
print
{
@include
h5bp-media-print
;
/* iPads (portrait) ----------- */
@media
only
screen
and
(
min-device-width
:
768px
)
and
(
max-device-width
:
1024px
)
and
(
orientation
:
portrait
)
{
/* Styles */
}
/* Desktops and laptops ----------- */
@media
only
screen
and
(
min-width
:
1224px
)
{
/* Styles */
}
/* Large screens ----------- */
@media
only
screen
and
(
min-width
:
1824px
)
{
/* Styles */
}
/* iPhone 4 ----------- */
@media
only
screen
and
(
-
webkit-min-device-pixel-ratio
:
1
.5
)
,
only
screen
and
(
min-device-pixel-ratio
:
1
.5
)
{
/* Styles */
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
app/views/legal/index.html.erb
+
3
−
1
View file @
566740d1
...
...
@@ -14,6 +14,8 @@ jbuilder, bcrypt, bootsnap, listen, web-console, spring, spring-watcher-listen,
<p>
The following gems are used under Apache 2.0 licebse: selenium-webdriver,
</p>
<hr>
<h3>
CSS
</h3>
<p>
A portion of css was generated by html5-rails along with font-awesome-rails
</p>
<p>
A portion of css was generated by html5-rails along with font-awesome-rails. Media Queries template,
Author: http://stuffandnonsense.co.uk/blog/about/hardboiled_css3_media_queries/
</p>
<hr>
<strong>
This info was correct to the best of my knowledge as of 10:00 18/11/2020
</strong>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment