This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var body: some View { | |
| // Add this right after declaring body view: | |
| UITableView.appearance().separatorColor = UIColor(red:(128/255), green:(128/255), blue:(128/255), alpha: 1) | |
| return NavigationView{ | |
| List {} | |
| .navigationBarTitle("", displayMode: .inline) | |
| .navigationBarHidden(true) | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* This parent can be any width and height */ | |
| .block { | |
| text-align: center; | |
| /* May want to do this if there is risk the container may be narrower than the element inside */ | |
| white-space: nowrap; | |
| } | |
| /* The ghost, nudged to maintain perfect centering */ | |
| .block:before { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* via "Modern Font Stacks" (https://github.com/system-fonts/modern-font-stacks) */ | |
| font-family: system-ui, sans-serif; | |
| /* via "System Font Stack" (https://css-tricks.com/snippets/css/system-font-stack/) */ | |
| font-family: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; | |
| /* via "Operating systems default sans-serif fonts" (https://fontsarena.com/blog/operating-systems-default-sans-serif-fonts) */ | |
| font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Oxygen, Cantarell, sans-serif; | |
| /* System Fonts as used by GitHub */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @media all and (-webkit-min-device-pixel-ratio: 1){ | |
| selectors { | |
| properties: values; | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @media screen and (min-width: 720px) { | |
| .table { | |
| display: table; | |
| width: 100%; | |
| border-collapse: collapse; | |
| } | |
| } | |
| .tr { | |
| margin-bottom: 1.6rem; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| h1 a , h2 a , h3 a , h4 a , h5 a , h6 a { | |
| color:inherit; | |
| opacity:1; | |
| } | |
| h1 a:hover , h2 a:hover , h3 a:hover , h4 a:hover , h5 a:hover, h6 a:hover{ | |
| color:inherit; | |
| opacity:0.8; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* CSS3 recognizes several media types, including print, handheld, and screen. iOS ignores print and handheld media queries because these types do not supply high-end web content. Therefore, use the screen media type query for iOS. */ | |
| /* To specify a style sheet that is just for iOS without affecting other devices, use the only keyword in combination with the screen keyword in your HTML file. Older browsers ignore the only keyword and won’t read your iOS style sheet. Use max-device-width, and min-device-width to describe the screen size. */ | |
| /* For example, to specify a style sheet for iPhone and iPod touch, use an expression similar to the following: */ | |
| <link media="only screen and (max-device-width: 480px)" href="small-device.css" type= "text/css" rel="stylesheet"> | |
| /* To specify a style sheet for devices other than iOS, use an expression similar to the following: */ | |
| <link media="screen and (min-device-width: 481px)" href="not-small-device.css" type="text/css" rel="stylesheet"> | |
| /* To load styles intend |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pre { | |
| background: #e4e4e4; | |
| font-family: Consolas, "Liberation Mono", Courier, monospace; | |
| font-weight: bold; | |
| padding: 22px; | |
| color: #777; | |
| font-size: 14px; | |
| line-height:1.32; | |
| margin-bottom: 22px; | |
| max-width: 100%; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| img { | |
| max-width: 100%; | |
| height: auto; | |
| image-rendering: optimizeQuality; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| body { | |
| /* The Browser makes its best guess with its own rendering engine */ | |
| /* results will vary based on the browser */ | |
| text-rendering: auto; | |
| /* The Browser chooses page speed over font calculations and legibility */ | |
| text-rendering: optimizeSpeed; | |
| /* The Browser chooses legibility over font calculations and page speed */ | |
| text-rendering: optimizeLegibility; |