Skip to content

Commit d0f1c96

Browse files
update pop basics article to align with 24.04 features (#1354)
* update pop basics article to align with 24.04 features * fix lint * fix (lint): Replace HTML tags with Markdown for italics * fix (lint): Escape underscore in Pop!_OS * fix (build): Remove extraneous leading slash from URL * Revise updated Pop Basics article - Made the YouTube embeds responsive (so they take up the full width available to them). - Reworded some of the phrasing around the videos so they flow better with the rest of the content. - Reworded the second intro sentence to avoid repeating the word `desktop` so many times in a row. - Changed the `Pop!_OS COSMIC Desktop Environment` header to just `COSMIC Desktop Environment` to avoid confusion about COSMIC's name. - Un-capitalized `desktop` in `desktop environment` and capitalized `Rust` as a programming language name. - Added a hyperlink to the COSMIC webpage the first time COSMIC is mentioned. - Reworded the Launcher's intro sentence. - Added additional info about the Launcher's web search feature, and tweaked phrasing for the other features. - Changed Dock wording to avoid confusion about applets vs. app icons (there was some incorrect information describing applets as "which applications are accessible with one click on the dock"; pinned apps are actually all part of a single applet). - Moved mouse-based Workspaces info out of the shortcuts section into the main section above it, leaving only shortcuts info in the shortcuts section. - Fixed inconsistencies in the capitalization of COSMIC and various COSMIC components. - Reworded all generic "this" and "here" hyperlinks to describe what they're linking to for better accessibility and readability. - Miscellaneous grammar fixes (commas, etc) and typo fixes (consiting, acces). * fix (lint): Use 2-space indentation for ULs * feat: Responsive video embeds --------- Co-authored-by: Jacob Kauffmann <jacob@system76.com>
1 parent 164838a commit d0f1c96

13 files changed

Lines changed: 90 additions & 127 deletions

.markdownlint.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323
"details",
2424
"summary",
2525
"a",
26-
"br"
26+
"br",
27+
"div"
2728
]
2829
},
2930

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
/* Defines the styling used by https://embedresponsively.com/ to let us embed responsive YouTube videos. */
2+
3+
.embed-container {
4+
position: relative;
5+
padding-bottom: 56.25%;
6+
height: 0;
7+
overflow: hidden;
8+
max-width: 100%; }
9+
10+
.embed-container iframe, .embed-container object, .embed-container embed {
11+
position: absolute;
12+
top: 0;
13+
left: 0;
14+
width: 100%;
15+
height: 100%;
16+
}

content/pop-basics.md

Lines changed: 70 additions & 125 deletions
Large diffs are not rendered by default.

nuxt.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ export default async () => ({
6464
'@fortawesome/fontawesome-svg-core/styles.css',
6565
'@system76/design/dist/minimal.common.css',
6666
'@system76/components/dist/index.common.css',
67-
'~/assets/styles/code-highlighting.css'
67+
'~/assets/styles/code-highlighting.css',
68+
'~/assets/styles/responsive-videos.css'
6869
],
6970

7071
plugins: [
48.6 KB
Loading
49.9 KB
Loading
27.2 KB
Loading
48.4 KB
Loading
78.1 KB
Loading
252 KB
Loading

0 commit comments

Comments
 (0)